Osclass Support Forums
Osclass plugin support => Seo Plugins => Topic started by: Web 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
-
@Web
Because plugin use same hook, try to add 1 as last parameter in add filter function or modify it in plugin
-
@mbthemes
Add 1 but not working
-
Now try 10
-
@mbthemes
Not working
-
@Web
Ok, then only way is to update it directly in index.php and put into meta title condition your owns.
-
Solved