How to use RM Toc along with Schema Pro

#952264
  • Resolved Vikash Gupta
    Rank Math free

    Hello,

    I want to use Table of Content feature of RM along with Schema pro. Since I disabled schema option of RM, I am not able to use ToC of RM. Kindly help.

    Regards

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

    We apologize for the issue you are facing with using the Table of Contents (ToC) feature of Rank Math along with Schema Pro. To use the ToC feature, you need to ensure that the Schema module in Rank Math is enabled.

    Here’s what you can do:

    1. Enable the Schema Module: Go to Rank Math SEO → Dashboard → Modules and enable the Schema (Structured Data) module.
    2. Use RM ToC: Once the Schema module is enabled, you should be able to use the Table of Contents feature without any issues.

    If you have any further questions or need additional assistance, please feel free to reply to this ticket, and a human agent from the Rank Math Support team will assist you further.

    Thank you for raising this concern!

    Sources:
    How to Use Schema Templates in Rank Math PRO » Rank Math

    Thanks for the reply, but my question was different.

    I am aware of how to enable Schema and use RM’s ToC. However, I wanted to know how to disable all RM schema and only use the ToC since I am already using another schema plugin.

    Hello,

    You can use this filter on your site to remove the schema from Rank Math without disabling the Schema module:

    /**
     * Code to remove json+ld data
     * 
     */
    add_action( 'rank_math/head', function() {
    	global $wp_filter;
    	if ( isset( $wp_filter["rank_math/json_ld"] ) ) {
    		unset( $wp_filter["rank_math/json_ld"] );
    	}
    });

    And here’s how you can add a filter:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps.

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

The ticket ‘How to use RM Toc along with Schema Pro’ is closed to new replies.