-
AuthorPosts
-
September 13, 2013 at 3:47 pm #29613
Hi,
is it possible to remove the “Private :” string in breadcrumb ?
Thanks a lot,
Oli
September 13, 2013 at 5:09 pm #141119September 16, 2013 at 10:27 am #161618Hi,
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
September 16, 2013 at 5:48 pm #161776Hi Yigit,
our test site is now open, you can view it at http://www-test.mines-telecom.fr.
Thanks for help
September 16, 2013 at 5:51 pm #161781You 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
September 16, 2013 at 5:52 pm #161783Hi,
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,
YigitSeptember 16, 2013 at 6:05 pm #161791Hi,
sorry it doesn’t work, your solution removes “You are here” string, not “private:” (for private pages)…
Thanks
September 16, 2013 at 9:03 pm #161901September 17, 2013 at 2:26 pm #162282Hi,
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 !
-
AuthorPosts
- The topic ‘"Private :" string in breadcrumb’ is closed to new replies.
