Breadcrumbs – Homepage non-display code not working anymore

#72222
  • Resolved Rak Tamachat
    Rank Math free

    Hello guys!

    We implemented that code to remove the breadcrumbs from being displayed on the front page:

    if (function_exists(‘rank_math_the_breadcrumbs’) && !is_home()){
    rank_math_the_breadcrumbs();
    }

    Today, we turned off the “Hide Post Title” function in Rank Math, and the post title is now displayed on the front page…

    Is there a modification that needs to be added to the above line of code in header.php ?

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Alberto
    Rank Math business

    Hello,

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

    We will be happy to help you on this but I would need to see a sample of this: “Today, we turned off the “Hide Post Title” function in Rank Math, and the post title is now displayed on the front page…

    Could you share a screenshot showing that issue so we can give you the steps to follow to fix it?

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    Thank you for the follow up.

    Could you please replace your code with the following and let us know if that does fix it.

    
    if( function_exists( 'rank_math_get_breadcrumbs') && !is_home() && !is_front_page()){
    rank_math_the_breadcrumbs();
    }
    

    Looking forward to helping you. Thank you.

    ​​​​​​

    Yes, it works!!!!

    Thank you Michael 😀

    Alberto
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.