Using WPML & secondary language landing page Breadcrumb error

  • I am using WPML on the Website and when using the breadcrumb feature in RankMath. It is showing errors on the secondary language landing page has Breadcrumb error in console.

Viewing 6 replies - 1 through 6 (of 6 total)
  • It is about to be 24 hrs….No solutions?
    Must say….Very bad support especially when there are other issues being answered and solved…

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Apologies for the late reply, please note that you should disable the breadcrumbs on the homepage.

    It serves no purpose and there is not enough information for breadcrumbs to work correctly on the homepage.

    That is why you are getting the error message and that is why we recommend disabling breadcrumbs on the homepage.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.Looking forward to helping you. Thank you.

    ​​​​​​​

    how to disable breadcrumb only for homepage?

    Hi Vivek,

    You can modify the breadcrumb code to the following to prevent the display of the breadcrumbs on the homepage when your either have a static homepage or the homepage is set to show blog posts:

    
    <?php if (function_exists('rank_math_the_breadcrumbs') && !is_home() && !is_front_page()) rank_math_the_breadcrumbs(); ?>

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Please explain how to implement this code in WordPress. where to insert

    Hello,

    You must have added previously the Rank Math’s breadcrumbs code somewhere in your code. In that case, you just need to replace it with the new code my colleague shared with you.

    Looking forward to help you.

    • This reply was modified 2 months, 1 week ago by Alberto.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘Using WPML & secondary language landing page Breadcrumb error’ is closed to new replies.