Hello,
Thank you for your query and we are so sorry about the trouble this must have caused.
There’s no code to add unlimited focus keywords. You always need to set a limit, but the filter allows you to increase that limit.
The example we have here is for 10 focus keywords, but can be increased to other values: https://rankmath.com/kb/filters-hooks-api-developer/#unlimited-keywords
If you change the value to 20, you can add 20 focus keywords, and so on.
Don’t hesitate to get in touch if you have any other questions.
Can you please mention the steps on how to change the focus keyword limit the filter code mentioned in the link i have already copied it as per the steps mentioned above in that link
If I want to add say 100 focus keywords how shall I do that ?
Hello,
To increase it to 100
, you should update the number in the filter.
Here’s the code you can copy and paste as well:
add_filter( 'rank_math/focus_keyword/maxtags', function() {
return 100; // Number of Focus Keywords.
});
Hope that helps.
Thank you.
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.