Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor dudo

    (@dudo)

    Hi lzfy84, it works fine, how and where do you insert the shortcode inside the template?

    lfzy’s programmer here ??

    In the single-<posttype>.php file, after the_post() is called, <?php echo do_shortcode('[yasr_visitor_votes size="medium"]'); ?> is run.
    The star ratings show up, but the HTML needed for the rich snippet (the https://schema.org/AggregateRating bit) is nowhere to be found.

    Plugin Contributor dudo

    (@dudo)

    Does it appears if you insert the shortcode throught the editor?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rich snippets not showing on custom post types’ is closed to new replies.