Faq snippet for Rank Math

#22980
  • Resolved Eslam El-Badry
    Rank Math free

    Hello i was using yoast and and moved to Rank Math
    But all of the faq structured indexed data disappeared from google is there anything that could fix this?
    and to use the faq data?

Viewing 1 replies (of 1 total)
  • Michael Davis
    Rank Math pro

    Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    Unfortunately, ACF does not have an out of the box support for the Faq schema, however, you can customize the output on your FAQ pages and add this schema by using the following filter:

    /**
     * Collect data to output in JSON-LD.
     *
     * @param array  $unsigned An array of data to output in json-ld.
     * @param JsonLD $unsigned JsonLD instance.
     */
    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	return [];
    }, 10, 2);

    You can also disable the Rank Math rich snippet module and use any third-party schema plugin that has this functionality as an alternative.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Faq snippet for Rank Math’ is closed to new replies.