-
Hello team,
I want to create FAQ pages and need to mark those up as FAQ in rich snippets.
How can I do this? I didn’t find this option in Rich Snippets?Thank you for your help,
Kat
-
Hello,
Thank you for contacting Rank Math today.
Rank Math does not yet support this schema but 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.
Thanks David!
I will test Ultimate FAQ in conjunction with RankMatth.
I have one more question in regards to Google Indexing Api. Your post was great and I’d like to get it connected to RankMath but is it really ok to use it for blog updates? You said you tested it with your pages/ posts and it worked. Google will not penalize for using it despite being a job posting site?
Thanks so much for your help and RankMath plugin.
My best wishes,
KatHi Kat,
Thanks for the question.
Google recommends that you only use this API on job posting and live streaming websites. Using it on a standard blog is at your own risk, we cannot predict what will happen since it worked without any penalties for our tests.
I hope this info helps. Thank you.
Hi Joseph,
Thanks for the question.
You only need to add this code as is on your theme’s functions.php file and create some conditional logic within it to target a certain post type /page.
Your custom JSON-LD data should be added within the braces [].I hope this info helps. Thank you.
Y’know I finally figured out how to do this, but it didn’t work. Google was still reading my JSON-LD data anyway. I had to completely turn off rich snippets to keep the data from showing up when testing using Google’s tools.
I really hope you all will add FAQs to your list of page types for schema. Any clue as to when this will happen?
Hello,
I checked the webmaster tools guidelines, and I dont find anything about job postings or live streaming.
This is the official google blog about the new FAQ schema:
https://webmasters.googleblog.com/2019/05/new-in-structured-data-faq-and-how-to.html
FAQ structured data is only for official questions and answers; don't add FAQ structured data on forums or other pages where users can submit answers to questions - in that case, use the Q&A Page markup.
In fact, they talk about ecommerce sites, as an example.
And same info on the google developers reference page:
https://developers.google.com/search/docs/data-types/faqpage
Valid use cases: An FAQ page written by the site itself, with no way for users to submit alternative answers A product support page that lists FAQs, with no way for users to submit alternative answers
It would be great if we could use this schema!
HI Joseph,
Thanks for the follow up.
I am glad that you were able to make this work, hopefully this feature will be available sometime soon.
@javierloureiro please create a new support ticket so that we can be able to help further on this request.Thank you.
The ticket ‘FAQ markup for posts’ is closed to new replies.