I’m having trouble implementing the breadcrumb code into my theme.

#576528
  • Resolved Anonymous
    Rank Math free

    I’m using Sydney free theme for my site. However, I’ve watched serval videos and read serval articles about how to add breadcrumbs to my site, but nothing I have done has worked. I tried copying the code and pasting it to my function php file, but I get an error. I’ve tried copying the short code and adding in my short code widget provided by elementor, but it does not work correctly. The breadcrumb short code doesn’t navigate my pages or sections on my landing page. Also I can’t edit the breadcrumb appearance within elementor.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Nigel
    Rank Math business

    Hello,

    Thank you for contacting Rank Math for help with implementing breadcrumbs on your website, and sorry for the inconvenience this has caused you.

    We might need to take a closer look at the settings on your site to help you get a basic setup of breadcrumbs. 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.

    Anonymous
    Rank Math free

    Hello,

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

    Thank you.

    Anonymous
    Rank Math free

    Check what?

    Hello,

    Thank you for sharing your website admin login.

    We are able to add the breadcrumbs before the content and this is how it looks like:

    Please see screenshot #1 in the sensitive data section.

    I tried moving it to a much better position by adding the code to the functions.php but I can’t save the file at the moment. Please see screenshot #2.

    If you are not in favor of the current position of the breadcrumbs. Let us know here and share your website FTP login so we can adjust it for you further.

    We are looking forward to helping you with this one.

    Anonymous
    Rank Math free

    I don’t see any screen shots. Do they suppose to be in this email or is there a link to these screenshots you’re talking bout?

    Nigel
    Rank Math business

    Hello,

    The screenshots were added to the Sensitive Data area in the forum, below where you added the temporary login link. Please visit the forum page while logged in to see the screenshots. Current ticket forum page link: https://support.rankmath.com/ticket/im-having-trouble-implementing-the-breadcrumb-code-into-my-theme/?view=all

    Looking forward to helping you.

    Anonymous
    Rank Math free

    So I was able to see the screen shots. However, I’m confused a little about what was done and how it would help me out. For instance, where the breadcrumb is located at is fine but how would I access it when the page it was place on, is a page I’m not using? Also how would it continue to work if the code is unable to be saved to my php file?

    Hello,

    At first, I tried adding the breadcrumbs code to your theme’s functions.php so I can control the location of the breadcrumbs but it doesn’t let me save it (screenshot #2) so I went ahead and save it to your theme’s single.php instead, that is why it is working on posts but not on page yet.

    Now, I have added the code to your theme’s page.php so you should see it on regular pages:

    Rank Math support

    If you are heavily depending on the Elementor template, you can use the integrated breadcrumbs for Elementor which is available in our PRO subscription: https://rankmath.com/kb/breadcrumbs/#elementor

    If that is not an option for you, you can always use the shortcode that is also provided.

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

    Anonymous
    Rank Math free

    If I upgrade to the pro version will the breadcrumb plug in work properly using elementor, even though Sydney theme doesn’t have support for rank math? I’ve already been considering upgrading to the rank math plugin for other reasons besides this breadcrumb issue. However, I just would like to understand this breadcrumb issue before I upgrade to the pro version.

    Thanks

    Hello,

    If you’re using Elementor to create the pages, yes, you can add the Rank Math Elementor Breadcrumb widget and it will work just fine. It’s a widget and it will work just like any other widget Elementor provides.

    As explained by my colleague above, you can also use shortcode method to display the breadcrumb.

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

    Thank you

    Anonymous
    Rank Math free

    Thanks 🙏

    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)

The ticket ‘I’m having trouble implementing the breadcrumb code into my theme.’ is closed to new replies.