Hello,
We apologize for the issue you are facing with the Table of Contents (TOC) detection in Rank Math. Thank you for following the official guide and for providing detailed information about the steps you’ve taken.
Since you are using the TOC from the Avada theme, it may not be included in the list of supported plugins that Rank Math checks for TOC detection. To ensure that Rank Math can recognize your TOC, you might need to add Avada’s TOC plugin to the detection list manually.
Here’s how you can do that:
-
Open your rank-math.php
file in your theme.
-
Add the following code snippet:
/**
* Filter to add plugins to the TOC list.
*
* @param array TOC plugins.
*/
add_filter( 'rank_math/researches/toc_plugins', function( $toc_plugins ) {
$toc_plugins['avada-directory/avada-plugin-file.php'] = 'Avada TOC'; // Replace with actual path and name
return $toc_plugins;
});
Make sure to replace avada-directory/avada-plugin-file.php
with the correct path to the Avada TOC plugin file.
-
Save the changes and check if Rank Math can now detect the TOC.
If you continue to experience issues, please reply to this ticket, and a human agent from the Rank Math Support team will assist you further. We appreciate your patience and understanding as we work to resolve this matter!
This is an automated reply from Rank Math Support Bot. If you need further assistance, please reply to this topic and a human support agent will reply to you shortly.
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.