• as you can see here is the issue in breadcrums but when i check other user who is using this same theme they have no issues

    please check this page of my website in the google tool

    • This topic was modified 3 days, 16 hours ago by James Huff. Reason: redundant link removed

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @domic25241,

    The issue is that the theme added a second breadcrumb trail. This theme is not being actively maintained anymore – the last update was nine years ago! – and some data is missing from its breadcrumb, as Google requires.

    The Rankmath plugin is already adding correctly the breadcrumb.

    You have two options to solve this issue:

    1. Remove the built-in breadcrumbs from the theme and the one that Rankmath provides or
    2. Simply fix the theme’s built-in breadcrumbs.

    I recommend the first option. Google occasionally changes the required Schema markup for the breadcrumb, so using the one provided by Rankmath is future-proof.

    However, you will have to apply the CSS styles to the Rankmath one, as it differs from the one that comes with the theme. It’s nothing too complicated, though.

    To solve this issue, follow the steps below (watch here a quick video with the steps below):

    a) Remove the theme’s built-in breadcrumb.

    • First, I strongly recommend creating a full website backup with your hosting provider before you proceed with the following steps. If anything goes wrong, you can recover this backup. Contact your hosting provider’s support if you need assistance with that.
    • With a backup, go to?Appearance → Theme File Editor in your WordPress dashboard. Please read the message about carefully editing your theme’s code and then dismiss it.
    • On the right sidebar (Theme Files), click on functions.php.
    • Around the line 103Find the PHP snippet add_theme_support( 'breadcrumb-trail' ), and add a double slash in front of it like this: // add_theme_support( 'breadcrumb-trail' ); Don’t change anything else in the code.
    • Click on the Update File button. This will turn-off the theme’s built-in breadcrumbs.

    b) Add the Rankmath breadcrumb to the theme’s header template.

    • Ok, while still in the Appearance → Theme File Editor, click on the header.php template file on the right sidebar (Theme Files).
    • Go to the line 97 and click on the white line.
    • Type Enter on your keyboard to create a new empty line.
    • Paste the breadcrumb PHP snippet provided by Rankmath.
    • Click on the Update File button. The breadcrumb will be displayed in the same place as the one provided by the theme.

    c) Style the Rankmath’s breadcrumb.

    • On you WordPress admin dashboard, visit Appearance → Customize.
    • Navigate to the Additional CSS section.
    • Copy the CSS code from this link,
    • Go back to your WordPress and paste it in the textarea.
    • Click the Publish button to save your changes.

    Note: To apply these changes, you may have to clear the cache from the WP Rocket plugin installed on your WordPress.

    Following these steps, you can solve the issue by including a future-proof breadcrumb trail on your website. Let me know if it works for you.

    I hope this helps,

    Take care.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.