display breadcrumbs on Storefront

#286162
  • Resolved brucemacg
    Rank Math free

    Hi

    My site is http://www.watersportswarehouse.co.za
    I would like to use your breadcrumbs. I am currently using them via your shortcode, and a “below header” area of my theme. However, I cannot use this anymore, so I’m looking at adding the “code snnippet” into my child theme.
    I read your notes, and I need to:
    Next, you should add the following code to the appropriate location in your theme’s template file to display the breadcrumbs.
    /**
    * Use the following code in your theme template files to display breadcrumbs:
    */
    <?php if (function_exists(‘rank_math_the_breadcrumbs’)) rank_math_the_breadcrumbs(); ?>

    However.. I don’t know which file to add this to.
    I’m using storefront theme (which is pretty common). I don’t see a “single page template” file, so not sure which file to use, or where to add it..?

    can you assist?

    thanks, Bruce

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for any inconvenience this issue may have caused you.

    You can use the code inside a template file like header.php or single.php file of your active theme.

    If you’re unable to find those files on your theme, we can also check your site.

    To continue, please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    We really look forward to helping you.

    Thank you.

    Hello,

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

    Thank you.

    Hello,

    Thank you for that information.

    It seems that your storefront is your actual homepage. Could you please confirm?

    Also, the breadcrumbs are already showing fine on your products. I’ve attached a screenshot in the sensitive data section.

    Meanwhile, I have manually added the Rank Math shortcode to display breadcrumbs on your homepage:

    Looking forward to helping you.

    Thank you.

    I see you have added code to single.php. However…

    I don’t see what you see????? Please see my screenshot.
    https://snipboard.io/PWpcR2.jpg

    Then on home page I see you’ve added the shortcode. I removed this, as I don’t want the breadcrumb on the home page. I only really want it on woocommerce pages, but I can probably live with them on blog pages..

    then your question.
    “It seems that your storefront is your actual homepage. Could you please confirm?”

    lets not get confused… when I talk of storefront , I’m talking about the Storefront WordPress Theme.
    But yes, my homepage, does contain links to my entire product range.. I’m not a blog, we are a ecommerce selling site. Below the links I chat about about us, and featured stuff, but yes, it’s not a very graphics / branding site…

    BTW, I am a pro user, but somehow could not raise a pro ticket..? Not sure why. Typically I don’t pay for plugins, on MY email, it is usually via s****@w*************************…? So, maybe thats why I’m showing as a free user, but you can see that the domain watersportswarehouse.co.za is attached to rankmath Pro..

    thanks for your assistance
    Bruce

    Hello,

    I have removed the code from the single.php and have added it to the header.php file and now the breadcrumbs are working fine on your site.

    And to open a ticket in the PRO forum, you will need to log in to your Rank Math account using the email that you had used to purchase the PRO subscription.

    Please check the breadcrumbs and let us know if you need any other assistance.

    Thanks.

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

The ticket ‘display breadcrumbs on Storefront’ is closed to new replies.