hello i want to ask how to delete site title from my forum page
example :Β https://surgatekno.com/forum/
my title isΒ SurgaTekno Forum - Komunitas Gadget & Gamer Indonesia
but somehow site title is added on my forum title
SurgaTekno Forum - Komunitas Gadget & Gamer Indonesia - SurgaTekno
and how to delete "surgatekno" site title in my forum title?
tried change title from forum page using yoast but doesnt change anything
HiΒ kyotomizuko,
You can changeΒ theΒ Forum Title from Dashboard > Forums > Settings > General > General tab.
Please read this doc: https://wpforo.com/docs/root/wpforo-settings/general-settings/#forum-title-desc
already change, but somehow my site title still on the end of my forum title
<title>SurgaTekno Forum – Komunitas Gadget & Gamer Indonesia – SurgaTekno</title>
kyotomizuko,
This designed to work this way. The first part "SurgaTekno Forum - Komunitas Gadget & Gamer Indonesia" is wpForoΒ Forum Title (Dashboard > Forums > Settings > General tab), and the secondΒ SurgaTekno is your website's title, it comes from Site title field (Dashboard > SettingsΒ > General).Β
You can change it using theΒ wpforo_seo_main_titleΒ hook. Just put this code in yourΒ current active theme functions.php file.
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');
solved thank you