[wordpress插件] Comment Rating Stars评论评分星

wordpress 插件 文章 2020-03-28 21:40 425 0 全屏看文

AI助手支持GPT4.0

评分
94
描述

A simple plugin for adding review and rating functionality to WordPress comments.

一个简单的插件,用于向WordPress评论添加评论和评级功能。

The plugin provides a series of template tags for adding review functionality to your comments

该插件提供了一系列模板标签,可为您的评论添加评论功能

Here’s a few of them:

以下是其中一些:

    1. csr_get_rating_star_form() – adds the review stars to the comment form.

    2. csr_get_rating_star_form()–将评论星标添加到评论表单。

      Ratings are automatically saved

    3. 评分会自动保存

    4. csr_get_rating_star_form_label() – a label for the review star field
    5. csr_get_rating_star_form_label()–评论星域的标签

    6. csr_get_rating_stars($comment_id = 0) – a view only view of the rating stars for a comment
    7. csr_get_rating_stars($ comment_id = 0)–只能对星级评分的视图进行评论

    8. csr_get_comment_rating($comment_id = 0) – the numeric rating for a comment
    9. csr_get_comment_rating($ comment_id = 0)–评论的数字评分

    10. csr_get_overall_rating($post_id = 0) – the average rating for a post
    11. csr_get_overall_rating($ post_id = 0)–帖子的平均评分

    12. csr_get_overall_rating_stars($post_id = 0) – the stars representing the average rating for a post
    13. csr_get_overall_rating_stars($ post_id = 0)–代表帖子平均评分的星星

    14. csr_get_rating_count($post_id = 0) – the number of ratings for a post
    15. csr_get_rating_count($ post_id = 0)–帖子的评分数量

安装步骤

    1. Upload the plugin zip file to the /wp-content/plugins/ directory
    2. 将插件zip文件上传到 / wp-content / plugins / 目录

    3. Activate the plugin through the ‘Plugins’ menu in WordPress
    4. 通过WordPress中的“插件”菜单激活插件

下载地址
https://downloads.wordpress.org/plugin/comment-rating-stars.zip
-EOF-

AI助手支持GPT4.0