May 09, 2021 1:14 pm
Hey guys
I have just a small problem with WpForo
my title is post name – category- Sitename
I don’t want to be like this, just i want use
post name – Sitename
how I can do that
* I use Rank math
1 Reply
May 11, 2021 12:09 pm
Hi @williamolsen,
You can do that using the hook code below. Put it in the functions.php file of your current active WordPress theme or install the Code Snippets plugin and insert the code as a new code snippet.
add_filter('wpforo_seo_topic_title', 'wpforo_my_custom_seo_topic_title');
function wpforo_my_custom_seo_topic_title( $title ){
if( isset($title[1]) ) unset($title[1]);
return $title;
}