Easy Table of Contents Why No see?

#32961
  • Resolved Fred
    Rank Math free

    Hi im using Easy Table of Contents. i have many content with this plugin. But rank math dont see Easy Table of Contents. i dont know what i do. i have no problem Easy Table of Contents working well. should i delete that plugin and download for example luckywp? if its not important i want use Easy Table of Contents.

    • This topic was modified 4 years, 8 months ago by Fred.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Todd
    Rank Math free

    Hi Fred,

    We only detect Table of Contents if you are using one of these plugins to add a table of contents section.
    ​https://rankmath.com/kb/score-100-in-tests/#table-of-contents
    ​
    ​Unfortunately, there is no other way to look for a Table of Contents section other than to look for pre-installed ToC plugins like the ones listed above. You also use the filter provided in the above link to manually add your plugin to the compatibility list (or ask your ToC plugin provided to add it to their plugin)
    ​
    You can also use this code in your theme’s functions.php file to manually tell Rank Math that you are already using Easy Table of Contents and to pass that test.

    
    /**
     * Filter to add Easy Table of Contents to the TOC list.
     *
     * @param array TOC plugins.
     */
    add_filter( 'rank_math/researches/toc_plugins', function( $toc_plugins ) {
           $toc_plugins['easy-table-of-contents/easy-table-of-contents.php'] = 'Easy Table of Contents';
        return $toc_plugins;
    });

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

    Fred
    Rank Math free

    İ understand.. thank you! 🙂

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

The ticket ‘Easy Table of Contents Why No see?’ is closed to new replies.