[wordpress插件] Author Post Ratings作者发表评分

wordpress 插件 文章 2020-02-23 18:10 697 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

There are plenty of plugins available which allow site visitors to rate posts, but I didn't find any that gave the post author that functionality, so I wrote this

有很多可用的插件,它们允许网站访问者对帖子进行评分,但是我没有找到能赋予帖子 author 功能的插件,所以我写了这个

plugin.

插入。

Author Post Ratings adds a meta box to the post edit screen, allowing you to chose a 1-5 star rating for the post, or to leave it unrated.

Author Post Ratings (作者帖子评分)在帖子编辑屏幕中添加了一个元框,您可以为帖子选择1-5星的评分,也可以不对其进行评分。

The plugin will automatically add the post rating (using stars, and an optional label) to the top or bottom of the post.

插件会自动将帖子评分(使用星号和可选标签)添加到帖子的顶部或底部。

If you wish, you can disable that functionality altogether and use a shortcode to insert the post rating anywhere in the post you choose.

如果愿意,可以完全禁用该功能,并使用简码将帖子等级插入您选择的帖子中的任何位置。

The plugin supports ratings for posts, pages, and custom post types, all of which can be individually enabled or disabled in the plugin settings.

该插件支持帖子,页面和自定义帖子类型的评级,所有这些都可以在插件设置中单独启用或禁用。

It is also fully internationalized, with Spanish language translation files included.

它也已完全国际化,包括西班牙语翻译文件。

Translating the Plugin

翻译插件

The post rating label text can be changed in the plugin settings, so no translation is required for the frontend (public side) of the site.

帖子评级标签文本可以在插件设置中更改,因此该站点的前端(公共端)不需要翻译。

However, if you wish to translate the backend settings interface, the plugin is fully internationalized and ready for translation.

但是,如果您希望翻译后端设置界面,则该插件已完全国际化并可以翻译。

There is a .po and a .mo file included in the plugin’s ‘languages’ directory for your convenience.

为方便起见,插件的“语言”目录中包含一个.po和.mo文件。

The plugin includes the following translations:

该插件包含以下翻译:

安装步骤

Author Post Ratings is installed just like any other WordPress plugin.

作者帖子评分的安装方式与其他任何WordPress插件一样。

No configuration is required, but if you wish, you may change the plugin settings at Settings > Author Post Ratings.

不需要进行配置,但是如果您愿意,可以在“设置”>“作者发布评分”中更改插件设置。

If you’re not familiar with installing WordPress plugins, follow these steps to install the plugin:

如果您不熟悉安装WordPress插件,请按照以下步骤安装插件:

Automatic Installation

自动安装

    1. Login to your WordPress dashboard, and go to Plugins > Add New.
    2. 登录到WordPress仪表板,然后转到“插件”>“添加新项”。

    3. In the Search box, type in ‘Author Post Ratings’, and click ‘Search Plugins’.
    4. 在“搜索”框中,键入“作者帖子评分”,然后单击“搜索插件”。

    5. Author Post Ratings should be the first item in the list.

    6. 作者帖子评分应该是列表中的第一项。

      Click on ‘Install Now’.

    7. 点击“立即安装”。

    8. WordPress will download and install the plugin.

    9. WordPress将下载并安装插件。

      Click on the ‘Activate Plugin’ link, and you’re in business!

    10. 点击“激活插件”链接,您就可以开展业务!

    Manual Installation Via FTP

    通过FTP手动安装

      1. Download the plugin to your computer, and unzip it.
      2. 将插件下载到您的计算机,然后将其解压缩。

      3. Using an FTP program, upload the ‘author-post-ratings’ folder to your /wp-content/plugins/ directory.
      4. 使用FTP程序,将“ author-post-ratings”文件夹上传到您的 / wp-content / plugins / 目录。

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

      Manual Installation Via WordPress Upload

      通过WordPress上传进行手动安装

        1. Download the plugin ZIP file to your computer.
        2. 将插件ZIP文件下载到您的计算机上。

        3. In your WordPress dashboard, go to Plugins > Add New.
        4. 在WordPress信息中心中,转到“插件”>“添加新内容”。

        5. Click on the ‘Upload’ link at the top.
        6. 点击顶部的“上传”链接。

        7. In the file selection box, select the plugin ZIP file on your computer, and click on ‘Install Now’.
        8. 在文件选择框中,选择计算机上的插件ZIP文件,然后单击“立即安装”。

        9. WordPress will upload and install the plugin.

        10. WordPress将上传并安装插件。

          Click on the ‘Activate Plugin’ link, and you’re in business!

        11. 点击“激活插件”链接,您就可以开展业务!

下载地址
https://downloads.wordpress.org/plugin/author-post-ratings.1.1.1.zip
-EOF-

AI助手支持GPT4.0