Rank Math is automatically adding Breadcrumbs

#488570
  • Resolved Jacquas
    Rank Math free

    I have added the Rank Math breadcrumbs via the code. But, I am also using a plugin for a custom post type and that plugin has an option for breadcrumbs too. So, I have enabled that in the plugin.
    Basically, I am using Rank Marth breadcrumbs in Posts and Pages. I am using Generatepress and have added the Hooks Element function to add breadcrumbs only to Posts and Pages. Now, for Posts and Pages types, the breadcrumbs are added by Rank Math and for that Custom Post Type, the plugin’s own breadcrumbs are shown. But, in the backend (page source) Rank Math breadcrumbs are added for that Custom Post type also. So, there are two breadcrumbs added for the Custom Post Type pages, one by Rank Math and one by Plugin own. And, I want to remove Rank Math breadcrumbs from there and use the Plugin’s own breadcrumbs and do not know the way. I have not added Rank Math breadcrumbs to that Custom Post Type as you can see in the screenshot but still they are being added automatically. And, they are added in backend only. On frontend only Plugin’s breadcrumbs are shown while in the search console it is showing two breadcrumbs and in page source also.

Viewing 1 replies (of 1 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.

    In this case, you can modify and use the following filter in your theme’s functions.php file to remove the Breadcrumbs Schema from the CPT:
    https://rankmath.com/kb/filters-hooks-api-developer/#remove-breadcrumblist-schema

    Hope that helps.

    Thank you.

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

The ticket ‘Rank Math is automatically adding Breadcrumbs’ is closed to new replies.