Hello,
I have updated the sensitive data as requested. Can you please check further?
Thank you.
Hello,
Thank you for contacting Rank Math today.
Since version 1.0.37, we removed TOC test support for CM Table Of Contents, Easy Table of Contents, f(x) TOC, HM Content TOC, Shortcodes Ultimate, Simple TOC, Table of content, Table of Contents Plus, Thrive Architect, Fixed TOC. These and other plugins can add the support for the Rank Math plugin by using this filter:
/**
* Filter to add plugins to the TOC list.
*
* @param array TOC plugins.
*/
add_filter( 'rank_math/researches/toc_plugins', function( $toc_plugins ) {
$toc_plugins['plugin-directory/plugin-filename.php'] = 'Plugin Name';
return $toc_plugins;
});
Please get in touch with the author of this plugin so that they can add this support.
Looking forward to helping you. Thank you.
​​​​​​
Hello,
thank your for your reply. Sorry, but I don’t know, what to do or where to fill in the code.
Hi Fiona,
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 a Table of Contents and to pass that test.
​
https://pastebin.com/HWg6na7c
​
​Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Okay, thank you, I installed another Plugin
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/?rate=5#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.