Hello,
Thank you for contacting Rank Math for help with FAQ schema not being applied on your website.
Rank Math free version limits the number of schemas you can apply to a page is one(1). For the FAQ schema to be applied, you will have to delete the default article schema from your post. You can do this by switching to the schema tab in Rank Math Metabox of the post editor and clicking the delete icon next to “Article”. After deleting the article schema, you might need to re-add the Rank Math FAQ block for the FAQ page schema to be applied.
With Rank Math Pro you can add multiple schema and there’s no limitation on how many you add in a page.
Hope that helps. Please let us know if you have questions.
Thank you
Thank you Sandeepan,
it works, but i recognized another issue. When i put the FAQ Block into a Container, the Schema does not work. Outside of a container it works.
Example 1:
Container
– Heading 1
– Rankmath FAQ Block
does show the FAQ, but no FAQ Schema
Example 2:
Container
– Heading 1
Rankmath FAQ Block
works fine
Is this a bug? Or does the FAQ Block not work inside a Container?
Best regards and thank you for your support.
Sven
Hello,
Yes, that is correct.
Please note that the FAQ Block needs to be added as an FAQ Block on the editor (outside a container) in order for Rank Math to detect the insertion and also add the necessary Schema to the page’s header.
However, you can add the following filter to use the FAQ block inside the container block on your website:
add_filter( 'rank_math/schema/nested_blocks', function( $nested ) {
$nested[] = 'generateblocks/container';
return $nested;
});
And here’s a guide to adding the code to the website:
https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps.
Thank you.
Wow, perfect, thank you. Thats enough for a “buy” decision. Will buy the Pro Version now. Thanks a lot. This works in a Container now.
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.