Hi there,
I’m using the BeTheme’s Table of Contents widget, but I’ve noticed that Rank Math SEO does not detect it as a valid Table of Contents for its SEO tests. I understand Rank Math uses a filter to recognize TOC plugins or widgets, and I’ve tried registering the BeTheme TOC widget using the following filter:
add_filter( 'rank_math/researches/toc_plugins', function( $toc_plugins ) {
$toc_plugins['betheme/mfn_table_of_contents'] = 'BeTheme Table of Contents';
return $toc_plugins;
});
Unfortunately, this didn’t work. I suspect there might be a different identifier or method required for proper compatibility. Could you please confirm the correct way to make the BeTheme Table of Contents widget compatible with Rank Math SEO?
Any guidance or advice would be greatly appreciated!
Thank you!
Marit