[WordPress] 外掛分享: Comment Rating Stars

首頁外掛目錄 › Comment Rating Stars
100+
安裝啟用
★★★★
4.7/5 分(6 則評價)
4552 天前
最後更新
問題解決
WordPress 3.6+ v1.0.0-RC1 上架:2013-09-30

內容簡介

一個簡單的外掛程式,可將評論和評分功能添加到 WordPress 評論中。

該外掛提供了一系列的模板標籤,可將評論功能添加到您的評論中。

以下是其中一些標籤:

csr_get_rating_star_form() – 將評分星級添加到評論表單中。評分會自動保存
csr_get_rating_star_form_label() – 評分星級欄位的標籤
csr_get_rating_stars($comment_id = 0) – 評論星級的只讀視圖
csr_get_comment_rating($comment_id = 0) – 評論的數字評分
csr_get_overall_rating($post_id = 0) – 文章的平均評分
csr_get_overall_rating_stars($post_id = 0) – 代表文章平均評分的星級
csr_get_rating_count($post_id = 0) – 文章的評分數量

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0-RC1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Comment Rating Stars」→ 直接安裝(推薦)

原文外掛簡介

A simple plugin for adding review and rating functionality to WordPress comments.
The plugin provides a series of template tags for adding review functionality to your comments
Here’s a few of them:

csr_get_rating_star_form() – adds the review stars to the comment form. Ratings are automatically saved
csr_get_rating_star_form_label() – a label for the review star field
csr_get_rating_stars($comment_id = 0) – a view only view of the rating stars for a comment
csr_get_comment_rating($comment_id = 0) – the numeric rating for a comment
csr_get_overall_rating($post_id = 0) – the average rating for a post
csr_get_overall_rating_stars($post_id = 0) – the stars representing the average rating for a post
csr_get_rating_count($post_id = 0) – the number of ratings for a post

延伸相關外掛

文章
Filter
Apply Filters
Mastodon