• Resolved Arnaud

    (@arnaudv33)


    Hello,

    I wonder if you will be able to correct the FAQ schema structure soon. Could you please give us more visibilty about the implementation of these corrections? This is very important for us and I assume it’s very important for a lot of users too.

    Thanks & best regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi arnaud,

    By “correct” do you mean switching over the new way to include schema via the script tags? If so, we do indeed plan to change that over. I’m not sure how to be more visible about it, but I can tell you that, at the moment, we don’t know for sure when that change will be released. It should be in the near future, though.

    Thread Starter Arnaud

    (@arnaudv33)

    Hello,

    I mean to correct all these warnings that appear on the structured data google tool: https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fwww.liberon.fr%2Ffoire-aux-questions%2F

    Best regards,

    Hi arnaud,

    We looked into that and saw that it was recommended to be in the HTML tag (https://search.google.com/test/rich-results?utm_campaign=devsite&utm_medium=microdata&utm_source=faq-page), which we don’t have access to, since it’s added by the theme. Instead of focusing just on this, we’re going to be switching from the Microdata to JSON-LD format of adding schema information to our FAQ pages, which is a much larger change.

    In the meantime, if you wanted to integrate the FAQPage markup within the current structure, you could modify your theme page template (or header template, depending where it’s found) to include the correct itemtype in the <html> tag (as in the example here: https://search.google.com/test/rich-results?utm_campaign=devsite&utm_medium=microdata&utm_source=faq-page). In your case, you’d probably want to limit it to just the FAQ page and the FAQ post type. So you’d have to create a conditional statement. For example:

    <?php
    if( is_page('x') || 'ufaq' == get_post_type() ){
    	?>
    	<html itemscope itemtype="https://schema.org/FAQPage">
    	<?php
    }
    else{
    	?>
    	<html>
    	<?php
    }
    ?>
    

    Replace x with the ID of the page you put your FAQ shortcode on.

    Thread Starter Arnaud

    (@arnaudv33)

    Alright, thank you for your answer.

    This is very important to keep structured data updated and I agree with the fact that you will have more flexibility by adding these info thanks to JSON format.

    I’m going to try your code and I also would like to know if it’s possible to do the same on product pages. Should I also add them manually as I don’t have FAQ on each product or do you have a better solution?

    I have to say that I don’t added FAQs in a new tab on product pages. Here is a example of one of our product page: https://www.liberon.fr/produit/la-peinture-meuble-a-base-de-caseine/

    etoilewebdesign

    (@etoilewebdesign)

    In the new plugin version 1.8.27, we’ve changed the way the schema is included to the new JSON-LD format. It also includes the FAQPage markup. Be sure to update.

    Thread Starter Arnaud

    (@arnaudv33)

    Hello,

    It’s perfect, thank you very much for your reactivity.

    Best regards,

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘FAQ Schema structure’ is closed to new replies.