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.
İ 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.