Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
If you are using dutch power words, you can use the following filter to include your power word(s) in rank math. The filter is to be added to you active theme functions.php
add_filter( 'rank_math/metabox/power_words', function( $words ){
$new_words = [
'o2'
];
return array_merge( $words, $new_words );
});
Since your table of contents plugin is not automatically detected, you will need to tell Rank Math to detect your plugin by adding the following code snippet to your theme’s functions.php file:
/**
* Filter to add plugins to the TOC list.
*
* @param array TOC plugins.
*/
add_filter( 'rank_math/researches/toc_plugins', function( $toc_plugins ) {
$toc_plugins['table-of-contents-plus/toc.php'] = 'Table of Contents Plus';
return $toc_plugins;
});
For the images issue, it is likely showing orange because you only have images but no videos. This should not bother you much. It is just one of the recommendations and you don’t need to fulfill it if it doesn’t apply to your page
Looking forward to helping you. Thank you.
Hello,
Thank you for the information 🙂
1. Where do I put the Dutch powerwords in the code or do I paste as is?
2. I did not use a plugin, just html anchor links. How do I tell rankmath that?
Sincerely,
BR
Hello,
Thank you for following up.
To add the power words you will need to specify the words in the new words array in the filter, for example:
$new_words = [
'1st power word'
'2nd power word'
'..and so on...'
];
Since you are adding your Table of content manually, you can add use the following filter to read the TOC test as passed.
/**
* Allow developers to modify the test or score.
*
* @param array $tests Array of tests with score
* @param string $type Object type. Can be post, user or term.
*/
add_filter( 'rank_math/researches/tests', function( $tests, $type ) {
unset( $tests['contentHasTOC'] );
return $tests;
}, 10, 2 );
Please note that all the above filters go to the functions.php file of your active theme.
Hope that helps. If you have any further question(s), please let us know. Thank you.
Hi Michael,
Thank you so much, everything works fine now!
Love this support service 😀
Sincerely,
BR
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.