After the Post and Page Schemes are cancelled, the Breadcrumbs schema disappears

#612512
  • Resolved Anonymous
    Rank Math free

    Hello, I am using the SNIP plugin, https://wordpress.org/plugins/snip-structured-data/

    I create custom schemas on my website with this plugin.

    I’m using RankMath’s Breadscrumb on my website. When I turn off the Scheme from the RankMath settings, all the schemas disappear. Obviously the schema on Post and pages should be able to be privately turned off.

    I want the Breadscrumb schema to stay active.

    Because when I disable the main Schema feature of your Theme, Breadscrumb disappears in your schema.

    Your schemas should be individually controllable and variable.

    You can choose which diagram will be shown in Page, Post and other features, but there is no button that allows the diagram to be turned off or on.

    After closing all your schemes, is there some code I can add to our theme’s functions.php file to enable your Breadcrumb scheme?

    I want to use only the Breadscrumbs schema template of your plugin, leaving the other templates disabled.

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.

    The breadcrumbs schema will be removed if the schema module is disabled in the Rank Math dashboard.

    However, if you wanted to remove the automatic schema added by Rank Math, you can use and customize this filter:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
         unset($data['publisher']);
         unset($data['WebPage']); 
         unset($data['ImageObject']);
         return $data;
    }, 99, 2);

    Also, set the default Schema type to None of your posts and pages in Rank Math > Titles & Meta settings to disable them.

    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 ‘After the Post and Page Schemes are cancelled, the Breadcrumbs schema disappears’ is closed to new replies.