Support Forum
still confused.. if you want to use a comma instead of |, change it on the panel Andy said…
no, that is not my problem, I know how to change that.
Just to be clear: Please look at the meta title in the browser of the following link: http://www.naturheilkraeuter.o.....sse-rezept
There you can see the separator at the end, which I did NOT set by myself in the Forum Admin SEO options.
I already switched Wordpress SEO Yoast Plugin off, but it is still there. So if you have any suggestion how to change the code for that fix, it would be nice as it was the reason I registered here in the forum. I am not sure if the future fix will cover my exact problem.
Thank you very much!
okay, probably easier to replace a whole function than the individual changes.. so in plugins/simple-press/sp-startup/forum/sp-forum-support-functions.php, find this code around line 562
function sp_setup_browser_title($title, $sep, $seplocation='') { global $wp_query; $sp_sep = ''; $post = $wp_query->get_queried_object(); if (isset($post->ID) && $post->ID == sp_get_option('sfpage')) { $sp_sep = ' '.$sep.' '; $title = preg_replace(($seplocation == 'right') ? '/'.preg_quote($sp_sep).'$/' : '/^'.preg_quote($sp_sep).'/', '', $title); $sfseo = sp_get_option('sfseo'); $title = sp_setup_title($title, ' '.$sfseo['sfseo_sep'].' '); } $title = apply_filters('sph_browser_title', $title); return ($seplocation == 'right') ? $title.$sp_sep : $sp_sep.$title; }
and then replace it (the whole function) with:
function sp_setup_browser_title($title, $sep, $seplocation='') { global $wp_query; $sp_sep = ''; $post = $wp_query->get_queried_object(); if (isset($post->ID) && $post->ID == sp_get_option('sfpage')) { $sp_sep = ' '.$sep.' '; $title = preg_replace(($seplocation == 'right') ? '/'.preg_quote($sp_sep).'$/' : '/^'.preg_quote($sp_sep).'/', '', $title); $sfseo = sp_get_option('sfseo'); $title = sp_setup_title($title, ' '.$sfseo['sfseo_sep'].' '); } $title = apply_filters('sph_browser_title', $title); return $title; }
and see if that solves your problem...
Visit Cruise Talk Central and Mr Papa's World
1 Guest(s)