[wordpress插件] Contestant Rating选手评分

wordpress 插件 文章 2020-04-01 14:50 457 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

Contestant Rating is a plugin that will allow a wordpress user to rate a post or in our version a Karaoke contestant using the classic method of five stars.

参赛者评分是一个插件,它允许wordpress用户使用五颗星的经典方法对帖子或我们的版本中的卡拉OK竞赛者进行评分。

This script is a modified version of post-star-rating plug in by O Doutor post-star-rating

此脚本是O Doutor post-star-rating插件的星级评定插件的修改版本。

.

The script has been cleaned up to work with all browsers and was inteded to be used to rate video of karaoke contestants in wordpress post(s).

该脚本已经过清理,可以与所有浏览器一起使用,并且可以用来在wordpress帖子中对卡拉OK参赛者的视频进行评分。

A few notes about the plugin:

关于插件的一些注意事项:

    • The plugin requires jQuery.

    • 该插件需要jQuery。

      If jQuery is not “detected” when it is loaded, the plugin will load jQuery.

    • 如果在加载时未“检测到” jQuery,则插件将加载jQuery。

    • The javascript has been minified and placed in the /js/ directory.

    • javascript已缩小,并放在/ js /目录中。

      A full version is available and can be modified as you see necessary.

    • 完整版本可用,可以根据需要进行修改。

    • The cascading stylesheet has been minified and placed in the /css/ directory.

    • 级联样式表已缩小,并放在/ css /目录中。

      A full version of the .css file is also there and can be modified as you see necessary.

    • .css文件的完整版本也在那里,可以根据需要进行修改。

    • The plugin uses an IP based cookie to disable the form to deter users from inflating the vote.
    • 该插件使用基于IP的cookie来禁用该表单,以阻止用户夸大投票。

    Arbitrary section

    任意部分

    If you want to show scoreboards on your blog you can use the following tags:

    如果要在博客上显示记分板,可以使用以下标记:

      • CR_bests_of_month(): Shows a list with the 10 best post of the current month
      • CR_bests_of_month():显示包含当月最佳10篇帖子的列表

      • CR_bests_of_month(month): Shows a list with the 10 best post of the “month” specified being an integer
      • CR_bests_of_month(month):显示一个列表,其中指定的“ month”的10个最佳帖子为整数

      • CR_bests_of_month(month, limit): Shows a list with the “limit” best post of the “month” (as an integer) specified
      • CR_bests_of_month(月,限制):显示一个列表,其中列出了指定的“月”(以整数形式)的“限制”最佳帖子

      • CR_bests_of_moment(): Shows a list with the 10 best post of the moment.

      • CR_bests_of_moment():显示带有当前最佳10条帖子的列表。

        It shows trends too.

      • 它也显示趋势。

      • CR_bests_of_moment(limit): Shows a list with the “limit” best post of the moment.

      • CR_bests_of_moment(limit):显示一个列表,该列表包含当前“ limit”最佳帖子。

        It shows trends too.

      • 它也显示趋势。

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Upload the plugin folder contestant-rating to the /wp-content/plugins/ directory
    2. 将插件文件夹 contestant-rating 上载到 / wp-content / plugins / 目录

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

    5. Place

    6. 放置 <?php CR_show_voting_stars();

      ?> in your template.

    7. ?> 在模板中。

    THIS PLUGIN REQUIRES YOU TO ADD THE CODE INTO YOUR TEMPLATE AND NOT YOUR POST.

    此插件要求您将代码添加到您的模板中,而不是您的帖子中。

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

AI助手支持GPT4.0