Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1197732


    I’m referring to Post #1197659 and I’m sorry I have to bring up this issue again but for whatever reason things don’t seem to work the way they should.

    I require a breadcrumb menu like this…

    German Pages should all have “Startseite” instead of “Homepage” on all instances:
    for example “Sie sind hier: Startseite” and “Sie sind hier: Startseite / Bücher”

    English Pages should have “Homepage” as first level:
    for example “You are here: Homepage / Felke Institute”

    Besides that the English homepage should be analog to the German one and just look like this:
    “You are here: Homepage”

    I’d appreciate your help. – Thanks


    Hey tebitron gmbh,

    Thank you for the inquiry.

    In breadcrumb’s trail filter, you can check for the active language first and assign the appropriate home title.

    $hometitle = get_locale() == 'en_US' ? 'Homepage' : 'Startseite';

    You can also use the pll_current_language( $value ) function instead of get_locale.


    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.