And also please tell me that what if we dont want to show schema of Article, we just want to show rating schema?
<?php
if(is_front_page() || is_home()):
echo the_ratings_results(get_the_ID());
endif;
?>
@luquerias I try your code but its displaying same thing.
https://prnt.sc/m5oaas
-
This reply was modified 5 years, 2 months ago by Xaib Aslam.
All the permutations are in WP-Admin -> Ratings -> Ratigns Template. And it is a global template, so it will affect all the ratings display.
To get just the score, use <?php echo get_post_meta( get_the_ID(), 'ratings_average' ); ?>
If that is not what you wanted, then I am sorry that is not what the plugin is designed for.