Breadcrumbs error

#45850
  • Resolved Core devel
    Rank Math free

    Hi,
    I have a problem with breadcrumbs settings. When I switch off the post title, I see the Post title, if I show category, I don’t see the category in breadcrumbs.
    I have this structure: Home > Category > Page
    Category page has: Home > Title (with hide post title ON but I’d switch off…)
    Page has: Home > Title (but here I want only Home > Category)
    I used code: <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>
    I don’t know how to fix it.

    Can you help me please?

    Thank you

    • This topic was modified 4 years, 7 months ago by Core devel.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Todd
    Rank Math free

    Hi,

    Thanks for getting in touch with us.

    Please go to WordPress Dashboard > Rank Math > Titles & Meta > Posts

    Choose category from the primary taxonomy drop down.

    Then, enable the show category option in WordPress Dashboard > Rank Math > General Settings > Breadcrumbs.

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

    Hi,
    With your instructions I have fix the issue.
    Last question, How I exclude the breadcrumbs from homepage?
    Breadcrumbs Home

    Hi,
    With your instructions I have fix the issue.
    Last question, How I delete the breadcrumbs from homepage?
    Breadcrumbs Home

    Alberto
    Rank Math business

    Hello

    You can remove the breadcrumbs code from the home page template, so it will be the only page without them.

    Let me know if you have any problems doing it.

    Thank you.

    Hello

    My homepage is a page as another pages of my website, and I use breadcrumbs code in page.php
    Is it possibile to exclude the breadcrumbs only homepage?

    Todd
    Rank Math free

    Hello,

    You can do that by not adding the breadcrumbs code to the index.php file of your theme.

    Hi Todd
    I delete as you say to me. If I delete the code from page.php I don’t have breadcrumbs for all pages of my website.
    I want keep the code in page.php for keep breadcrumbs in all page of my website, but I want exclude breadcrumbs only Homepage.
    Is it possible with code exclude only the homepage?

    • This reply was modified 4 years, 6 months ago by Core devel.
    Todd
    Rank Math free

    Hi,

    Are you using a static homepage?

    You can use this code instead of the one you are using:
    <?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.

    Hi, yes I have static page and now fix issue for you code that exclude my homepage!

    Thank you very much!!

    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 12 replies - 1 through 12 (of 12 total)

You must be logged in to reply to this ticket.