<?php defined('ABSPATH') || exit; ?>

<p class="glsr-heading">schema</p>
<?php echo wp_get_admin_notice(
    'This option should only be used once on a page to avoid duplicate schemas! Keep this in mind if you are using more than one <code>[site_reviews]</code> and/or <code>[site_reviews_summary]</code> shortcodes on the same page as both shortcodes allow you to use the schema option.',
    ['type' => 'warning', 'additional_classes' => ['inline']]
); ?>
<p>Include the "schema" option to enable the aggregate rating schema for your reviews in Google. The difference between this and the schema option in the [site_reviews] shortcode is that this one only generates the aggregate ratings schema, while the other generates both the aggregate ratings schema and the review schema for each individual review that is visible on the page. If you have the choice, enable this option on the [site_reviews] shortcode instead.</p>
<p>The default schema value is: <code>false</code></p>
<div class="shortcode-example">
    <pre><code class="language-shortcode">[site_reviews_summary schema="true"]</code></pre>
</div>
