
內容簡介
Awesome Comment Rating 允許使用者在 WordPress 的文章、自定義文章或頁面的評論表單上提供星級評分。整合非常容易和簡單。
星級評分會顯示為
五星評分欄位在評論表單上。
在文章/頁面內容上方/下方顯示評分條模板。
您可以停用自動配置並使用簡碼來查看評分條。
您可以從文章或頁面中隱藏評分條。
簡碼
總評分: [awcr_rating type=’totalRating’]
平均評分: [awcr_rating type=’averageRating’]
評分條: [awcr_rating type=’ratingBar’]
單一評分: [awcr_rating type=’singleRating’ rating=’5′] // 評分 = 1、2、3、4 和 5
模板谷歌直方圖 : [awcr_google_histogram]
模板動態谷歌直方圖 : [awcr_google_histogram type=’dynamic’]
模板測量條圖 : [awcr_gauge_chart]
模板遊戲bar : [awcr_gaming_bar]
PHP 簡碼
您可以在 php 檔案中輕鬆使用簡碼。方法:
* 方法 1:echo do_shortcode( “[awcr_gauge_chart]” );
* 方法 2:echo apply_filters( ‘the_content’,”[awcr_gauge_chart]”);
👉 了解更多資訊:GitHub
外掛標籤
開發者團隊
原文外掛簡介
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
