Notifications
Clear all

Script [Closed] How to hide webiste name from forum SEO titles?

15 Posts
3 Users
1 Reactions
2,398 Views
Posts: 81
Topic starter
(@sergido)
Estimable Member
Joined: 5 years ago

si arregle, parece que era cosa del yoat seo 

 

gracias

3 Replies
Moderator
(@martin)
Joined: 9 years ago

Support Team
Posts: 992

@sergido,

Try to remove the site title with this code. Put this code in the functions.php file of your current active WordPress theme, or use the Code Snippet plugin to add this code to your website.

function my_custom_seo_title_in_forum_home($meta_title){
return (array)$meta_title[0];
}
add_filter('wpforo_seo_main_title', 'my_custom_seo_title_in_forum_home');
(@sergido)
Joined: 5 years ago

Estimable Member
Posts: 81

@martín solo me interesa que no salga el mismo titulo en todas las URLS. cada URL debe tener su titulo correspondiente

Moderator
(@martin)
Joined: 9 years ago

Support Team
Posts: 992

@sergido,

The code above will remove the site name from all forum pages. You can use it.

Page 2 / 2