Hi,
is it possible to remove the “Private :” string in breadcrumb ?
Thanks a lot,
Oli
Hi,
Yes, but our test site access is protected by IP address.
For a previous question (https://kriesi.at/support/topic/big-problem-of-menu-display-with-chrome-win-xp), I gave Nick an access.
You could access our site by using this IP address ou you could give me a fixed IP (v4 or v6). As you like, tell me.
Thanks
Hi Yigit,
our test site is now open, you can view it at http://www-test.mines-telecom.fr.
Thanks for help
You can site the “private:” string in breadcumb in this page :
http://www-test.mines-telecom.fr/en/institut-mines-telecom-2/presentation-2/the-institut-in-brief/
Thanks
Hi,
You would like to remove “Vous êtes ici :” right? If so, please add following code to Quick CSS in Enfold theme options under Styling
span.breadcrumb-title { display: none; }
Regards,
Yigit
Hi,
sorry it doesn’t work, your solution removes “You are here” string, not “private:” (for private pages)…
Thanks
Hi,
thanks a lot, it works.
I’ve just changed strings to replace for multilingual support (french, spanish and english only for private pages) :
function the_title_trim($title) {
$title = attribute_escape($title);
$findthese = array(
‘#Private:#’,
‘#Privé :#’,
‘#Privado:#’
);
$replacewith = array(
”, // What to replace “Private:” with
”, // What to replace “Privé :” with
” // What to replace “Privado:” with
);
$title = preg_replace($findthese, $replacewith, $title);
return $title;
}
add_filter(‘the_title’, ‘the_title_trim’);
Thanks a lot !