Awesome Comment Rating allows users to provide star rating on comment form of WordPress posts, custom posts or pages. Integration is very easy and simple.
STARS RATING ARE DESPLAYED AS
- Five stars field on comment form.
- Display rating bar template above/below the Post/Page content.
- You can disable auto placement and use shortcodes to view rating bar.
- You can hide rating bar from posts or pages.
SHORTCODES
- Total Rating: [awcr_rating type=』totalRating』]
- Average Rating: [awcr_rating type=』averageRating』]
- Rating bar: [awcr_rating type=』ratingBar』]
- Get single rating: [awcr_rating type=』singleRating』 rating=』5′] // rating = 1,2,3,4 and 5
- Template google histogram : [awcr_google_histogram]
- Template dynamic google histogram : [awcr_google_histogram type=』dynamic』]
- Template gauge chart : [awcr_gauge_chart]
- Template gaming bar : [awcr_gaming_bar]
SHORTCODES in PHP
You can easily use shortcodes in a php file. Methods:
* Method 1: echo do_shortcode( 「[awcr_gauge_chart]」 );
* Method 2: echo apply_filters( 『the_content』,」[awcr_gauge_chart]」);
👉 See more information: GitHub






