FAQ Schema shows on Site but non in Source Code

#525660
  • Resolved se
    Rank Math pro

    Hello, i currenlty test the free version of Rank Math and i added a FAQ Block to a page.

    The FAQ shows up perfectly but the Google Testing Tool does not recognize a FAQ Schema. Also the source code does not show FAQ Schema.

    Is this feature limited to the paid versions?

    Best regards, Sven

Viewing 6 replies - 1 through 6 (of 6 total)
  • 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

    se
    Rank Math pro

    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

    se
    Rank Math pro

    PS: It seems, that this problem exists since 2 years with the Theme GeneratePress:

    https://support.rankmath.com/ticket/faq-schema-not-showing/#post-83248

    https://generatepress.com/forums/topic/generateblocks-full-width-container-rankmath-faq-not-added-to-the-schema/page/2/

    Would be glad, if i could use the FAQ Schema inside a GeneratePress Container.

    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.

    se
    Rank Math pro

    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.

Viewing 6 replies - 1 through 6 (of 6 total)

The ticket ‘FAQ Schema shows on Site but non in Source Code’ is closed to new replies.