*

Web

  • **
  • 62 posts
Meta title change
« on: March 20, 2020, 10:38:08 AM »
I’m change meta title publish page and search page use this code

<?php
function wm_custom_meta_title($title) {
    if(Params::getParam('page') == 'search') {
        return __('All listings');
    } else if(Params::getParam('action') == 'item_add') {
        return __('Publish a listing');
    }

    return $title;
}
osc_add_filter('meta_title_filter', 'wm_custom_meta_title');


After install this plugin change title not showing

*

MB Themes

Re: Meta title change
« Reply #1 on: March 20, 2020, 03:13:25 PM »
@Web
Because plugin use same hook, try to add 1 as last parameter in add filter function or modify it in plugin
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Web

  • **
  • 62 posts
Re: Meta title change
« Reply #2 on: March 25, 2020, 11:47:45 AM »
@mbthemes

Add 1 but not working


*

MB Themes

Re: Meta title change
« Reply #3 on: March 25, 2020, 01:43:25 PM »
Now try 10
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Web

  • **
  • 62 posts
Re: Meta title change
« Reply #4 on: March 26, 2020, 08:31:02 AM »
@mbthemes

Not working

*

MB Themes

Re: Meta title change
« Reply #5 on: March 26, 2020, 09:41:28 AM »
@Web
Ok, then only way is to update it directly in index.php and put into meta title condition your owns.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Web

  • **
  • 62 posts
Re: Meta title change
« Reply #6 on: March 26, 2020, 12:46:41 PM »
Solved