Clear all

Script [Closed] Problem with WpForo

2 Posts
2 Users
0 Reactions
Posts: 1
Topic starter
New Member
Joined: 3 years ago

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
Posts: 10534
Support Team
Joined: 8 years ago

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;