• Hello,

    The context: I integrate a site in 3 languages ​​(French (which is the main language), English and Dutch)
    I am using Breadcrumb NavXT for breadcrumbing and WPML for site translation.

    For example on the English page, I manage to translate the end of the breadcrumb trail but not the beginning:

    Lyons Andelle Tourisme> Séjourner> To visit> Religious buildings> Abbey of Mortemer

    Séjourner is a french type of content that I select in Post Type > Root Page.

    If, for example, I select “stay” instead of “séjourner”, the English breadcrumb trail is good but the French breadcrumb trail is therefore no longer good.

    Like the impression that you can’t make a single breadcrumb trail even though I have 3 languages

    Thank you in advance for your answer

    [Moderator note: Please, No bumping].

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Havlik

    (@mtekk)

    Since root pages for CPTs are not built into WordPress, WPML doesn’t translate them. You will need extra code to translate the root page. There are a few ways of doing this, the most straight forward is write the code that hooks into the bcn_breadcrumb_url filter. If you don’t want to write any code, there is an extension plugin to Breadcrumb NavXT that does this (and a few other things for improved WPML compatibility).

    Thread Starter corentinjr

    (@corentinjr)

    Hello, thank you for your answer.
    Infact that I had already seen on one of your answers to a question.
    However, is it good to put bcn_breadcrumb_url instead of bcn_display in the function:

    <?php if(function_exists(‘bcn_breadcrumb_url’)){bcn_breadcrumb_url();}?>

    Or maybe I misunderstood because it doesn’t work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘breadcrumb traduction’ is closed to new replies.