Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #29613

    Hi,

    is it possible to remove the “Private :” string in breadcrumb ?

    Thanks a lot,

    Oli

    #141119

    Hi Oli,

    Can you post the link to your website please?

    Regards,

    Yigit

    #161618

    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

    #161776

    Hi Yigit,

    our test site is now open, you can view it at http://www-test.mines-telecom.fr.

    Thanks for help

    #161781

    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

    #161783

    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

    #161791

    Hi,

    sorry it doesn’t work, your solution removes “You are here” string, not “private:” (for private pages)…

    Thanks

    #161901

    Hi,

    Try applying this solution.

    Regards,
    Josue

    #162282

    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 !

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘"Private :" string in breadcrumb’ is closed to new replies.