[wordpress插件] Cherry Trending PostsCherry热门趋势的帖子

wordpress 插件 文章 2020-03-22 20:00 417 0 全屏看文

AI助手支持GPT4.0

评分
40
描述

This plugin will allow you to track and display the most popular posts of your WordPress website based on the number of views, rating and the number of comments;

此插件将允许您根据观看次数,评分和评论数来跟踪和显示WordPress网站上最受欢迎的帖子;

and thus increase its view-per-visitor rate.

从而提高了每位访问者的观看率。

The plugin comprises three main components:

该插件包含三个主要组件:

    • Post Views Counter – displays the number of page views for each post;
    • 帖子查看次数计数器 –显示每个帖子的页面浏览量;

    • Post Rating – displays the number of votes and the average rating using a visual five-star system;
    • 帖子评分 –使用可视五星级系统显示票数和平均评分;

    • Widget – shows the most popular posts.
    • 小工具 –显示最受欢迎的帖子。

    Documentation

    文档

    Options

    选项

    You can place the list of your top posts on any page using the Widgets tab in your WordPress dashboard.

    您可以使用WordPress信息中心中的“窗口小部件”标签在任何页面上放置热门帖子列表。

    The Cherry Trending Posts widget itself is highly customizable: besides the basic settings such as specifying the widget title and setting the maximum displayed length of a post title you can:

    Cherry Trending Posts窗口小部件本身是高度可定制的:除了基本设置(例如指定窗口小部件标题和设置帖子标题的最大显示长度)之外,您还可以:

      • Filter the posts by their views, comments or rating;
      • 通过其视图评论 rating 过滤帖子;

      • Choose, whether to show the most rated or the highest rated posts;
      • 选择显示评价最高还是评价最高帖子;

      • Show post from specific tags and categories;
      • 显示来自特定标签和类别的帖子;

      • Display or hide certain metadata (post author, publishing date, rating, comments, etc.);
      • 显示或隐藏某些元数据(帖子作者,发布日期,评分,评论等);

      • Set the excerpt length (if displayed);
      • 设置摘录长度(如果显示);

      • Change the button text;
      • 更改按钮文本;

      • And more.
      • 还有更多

      Widget

      小部件

      You can add the posts to the pages with the help of widget which offers you the following settings.

      您可以在小部件的帮助下将帖子添加到页面,该小部件为您提供以下设置。

        1. Title – Specify the widget title
        2. 标题 –指定小部件标题

        3. Title length in characters (0 — hide, -1 — full) – Set title length
        4. 标题长度(以字符为单位)(0-隐藏,-1-完整)–设置标题长度

        5. Filter by:

        6. 过滤依据

            • Views – Filter posts by Views
            • 视图 –按视图过滤帖子

            • Rating – Filter posts by Rating
            • 评分 –按评分过滤帖子

            • Comments – Filter posts by Comments
            • 评论 –按评论过滤帖子

          • Select rating type:

          • 选择评分类型

              • Most Rated – Filter posts by Most Rated type
              • 最受好评 –按“最受好评”类型过滤帖子

              • Highest Rated – Filter posts by the highest rate
              • 最高评分 –按最高评分过滤帖子

            • Show from:

            • 显示来源

                • Category – Show posts from category
                • 类别 –显示类别中的帖子

                • Tag – Show posts by tags
                • 标签 –按标签显示帖子

              • Number of post to show (Use -1 to show all posts) – Here you can define the number of posts to display
              • 要显示的帖子数(使用-1显示所有帖子)–您可以在此处定义要显示的帖子数

              • Offset (ignored when "posts_per_page" => -1 (show all posts) is used) – This property specifies the number of post to displace or pass over<

              • 偏移量(当使用“ posts_per_page” => -1 (显示所有帖子)时忽略)–此属性指定要替换或跳过的帖子数<

                /li>

                / li>

              • Excerpt length in words (0 — hide, -1 — all) – This property sets the number of words limit for excerpt
              • 摘录长度,以单词为单位(0-隐藏,-1-全部)–此属性设置摘录的单词数限制

              • Display meta – This feature adds metadata to the post:

              • 显示元信息 –此功能将元数据添加到帖子中:

                  • Date
                  • 日期

                  • Author
                  • 作者

                  • View
                  • 查看

                  • Rating
                  • 评分

                  • Comments
                  • 评论

                  • Category
                  • 类别

                  • Tag
                  • 标签

                  • Read More
                  • 了解更多

                • Button text – Add text to the button
                • 按钮文本 –将文本添加到按钮

        Cache

        缓存

        If any of the cache plugins is used on the website, for a proper operation of the post ratings counter, you need to add the following code to the functions.php file:

        如果网站上使用了任何缓存插件,则为正确地运行帖子评级计数器,您需要在 functions.php 文件中添加以下代码:

        add_filter( 'cherry_trend_posts_cache_fix', '__return_true' );

          add_filter('cherry_trend_posts_cache_fix','__return_true');

安装步骤

    1. Upload cherry-trending-posts folder to the /wp-content/plugins/ directory
    2. 将cherry-trending-posts文件夹上传到 / wp-content / plugins / 目录

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

    And of course, you will find new ‘Cherry Trending Posts’ widget in ‘Appearance – Widgets’ menu in your WordPress admin panel.

    当然,您会在WordPress管理面板的“外观-小部件”菜单中找到新的“樱桃趋势文章”小部件。

下载地址
https://downloads.wordpress.org/plugin/cherry-trending-posts.1.0.2.zip
-EOF-

AI助手支持GPT4.0