• Resolved toddkh

    (@toddkh)


    We are adding review functions to the page with the following shortcodes, the documentation for the sites_reviews shows that adding schema=”true” should add the header schema code to the page, but it doesn’t seem to be working, here is an example page:

    https://chopped.wpengine.com/recipe/blueberry-chia-seed-protein-bars/

    <?php echo do_shortcode('[site_reviews_summary assigned_posts="post_id"]'); ?> 
    
    <?php echo do_shortcode('[site_reviews assigned_posts="post_id" schema="true"]'); ?> 
    
    <?php echo do_shortcode('[site_reviews_form assigned_posts="post_id"] '); ?>
    
    

    Here’s one where I placed the Latest Review section as a block and it works:?https://chopped.wpengine.com/recipe/creamy-chickpea-kale-stew/

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Gemini Labs

    (@geminilabs)

    Since you are using Schema Pro, did you try this?

    Thread Starter toddkh

    (@toddkh)

    We did try that, and just tried again as well, no dice

    Thread Starter toddkh

    (@toddkh)

    Coming back around on this, any other suggestions? The ability to have the schema generate without needing to set in individually per post is crucial for this project, is there another way aside form shortcodes?

    Plugin Author Gemini Labs

    (@geminilabs)

    Site Reviews will only add the rating schema to the Schema Pro schema if the Schema Type on the page supports rating schema for rich snippets.

    However, in your case it could be due to when the function that outputs the shortcodes is triggered. For example, if it is triggered after Schema Pro has printed the schema to the page, then there is nothing Site Reviews can do.

    You could always try to change the Schema Pro > Plugin Setting to Add Schema Code In Footer instead of Head.

    • This reply was modified 11 months, 1 week ago by Gemini Labs.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘schema=”true” not adding schema to page header’ is closed to new replies.