-
So, looking around I get bits and pieces of the info I am looking for. This plugin has been awesome so far, but I am noticing a common issue that should be address to help with custom sites that do not use your recommended plugins. Mainly because those particular plugins other cost a lot or they don’t keep up with updating them..
So here we are with a plugin not on your list. I found one ticket that puts out info about using:
/**
* 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;
});In the theme’s function.php file, which is great, but doesn’t help users, like me, that are new to wordpress and are not fully knowledgeable about where to find these or even how to find the exact file needed to put over the “plugin-filename”.
My question is that above. How do I find the exact file needed to put in the code above, and to make sure to get the correct filename of the addon. Mine is tocpack-premium, I put all that in, but it is not working, so clearly I am not doing this correctly.
–side note–
Maybe adding an option to dump a plugin name in the backend or possibly expanding your list. It would help us tremendously.
The ticket ‘Table Of Content Plugin’ is closed to new replies.