I’ve added a DIV wrapper around all the FAQs:
<div itemscope itemtype=”http://schema.org/FAQPage”>
FAQs Questions and Answers here
</div>
Which has removed that warning “Missing a QAPage markup item on page to which this item should be associated”. It validates now.
However, still unsure about the IDs being invalid URLs?
Hi 3Lancer,
A QAPage is a web-page focused on specific Question and its Answer(s), e.g. in a question answering site or documenting Frequently Asked Questions (FAQs) which isn’t applicable to the FAQ plugin. Basically QAPage would be used if the page has only one question and answer and not when you have a set of Question & Answers as with our FAQ plugin. The FAQ plugin would use the FAQPage schema as that is the content related to(Frequently Asked Questions). Regarding the warning, it doesn’t seem that it would affect any functionality, but we’ll take a look at it and include the fix if possible in a future update to the plugin. We thank you for you time & interest in the plugin and helping us make the plugins better and also for the suggested solution.
Is the schema microdata included in the free version of this plugin? Or only in the premium version?
Thank you.
Hi axwellion,
The FAQ microdata is added in both the versions of the plugin.
Thank you. I am testing the free version now and it seems that the schema is duplicating some of the questions. For example, I tested the following page in the Google test tool:
https://www.cryptocurrencycomplete.com/tests/ultimate-faq-plugin/
https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fwww.cryptocurrencycomplete.com%2Fnews%2Fufaqs%2Fwhat-is-security-faq%2F
Google test shows duplicate questions. I only created three FAQs, but Google is showing 5, two of which have duplicates. For example, the question”what is my wallet?” is duplicated with the following similar @ids:
ufaq-post-zPX-1626-1
ufaq-post-Qsh-1626-2
Could I have done something wrong to have caused these duplicates?
Thank you.
Hi axwellion,
We just visited the FAQs page as well as the Google Structured Data Testing tool page and both seem to be consistent with the number of FAQs(44 as of now). Did you have any FAQs added to the page and then deleted or are you using any caching plugin which could have shown the cached page to you or google which could have caused the conflict with the number of FAQs?
You are right, I also no longer see these duplicates in the Google Structured data test tool. Yes, I do use cache (from CloudFlare) but I don’t think that that was the problem. I am not sure why I was seeing these duplicates when I first set up this test, but they are gone now.
Should the individually permalinked answers also have FAQ schema data? I don’t see it. For example, this permalinked answer does not show FAQ schema data in Google test tool:
https://www.cryptocurrencycomplete.com/news/faqs/are-cryptocurrency-transactions-anonymous/
https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fwww.cryptocurrencycomplete.com%2Fnews%2Ffaqs%2Fare-cryptocurrency-transactions-anonymous%2F
Thank you.
Hi axwellion,
For the FAQ single post pages, it would be your theme that controls the look, layout and the schema. Because the FAQs are just a custom post type, the single post page for FAQ posts would, by default, make use of your theme’s “single.php” template file. If you’d like to modify the single post page for FAQs, we’d suggest duplicating your single.php file and creating one specifically for our post type, as discussed here: https://codex.wordpress.org/Post_Type_Templates. Our post type is called “ufaq”, so you’d want to call your template file “single-ufaq.php”.