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

    Hi,

    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

    #1199247

    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.

    // https://polylang.pro/doc/function-reference/

    Best regards,
    Ismael

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