ezTOC has the required filter to properly work with Rankmath. It was added when the 2.0 version was released in Feb of 21020.
I hope this helps!
Thread Starter
aleko
(@aleko)
Ok. This should be the code:
/**
* Filter to add plugins 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;
});
Thanks
Correct, but, as mentioned, ezTOC already contains this and has been part of the plugin for a little over a year.
Thread Starter
aleko
(@aleko)
Thank you! Please check the php8 compatibility.
PHP version 8.0.1 is the version that it is developed in. It currently does not show any errors or compatibility issues. If you are having issues, please provide some specific details so it can be looked into.
Thread Starter
aleko
(@aleko)
I turned on the debug function with ” define(‘WP_DEBUG’, true); ”
but i don’t find any message.
When i set up php8 simply the table is not visibile in the page.
It is very strange. Can i do something to help you in the debugging ?