AI助手支持GPT4.0
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.
从而提高了每位访问者的观看率。 p>
The plugin comprises three main components:
该插件包含三个主要组件: p>
ul>
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窗口小部件本身是高度可定制的:除了基本设置(例如指定窗口小部件标题和设置帖子标题的最大显示长度)之外,您还可以: p>
You can add the posts to the pages with the help of widget which offers you the following settings.
您可以在小部件的帮助下将帖子添加到页面,该小部件为您提供以下设置。 p>
li>
"posts_per_page" => -1
“ posts_per_page” => -1 code>(显示所有帖子)时忽略)–此属性指定要替换或跳过的帖子数< /li>/ li>Excerpt length in words (0 — hide, -1 — all) – This property sets the number of words limit for excerpt 摘录长度 strong>,以单词为单位(0-隐藏,-1-全部)–此属性设置摘录的单词数限制 li>Display meta – This feature adds metadata to the post: 显示元信息 strong> –此功能将元数据添加到帖子中:Date 日期 em> li>Author 作者 em> li>View 查看 em> li>Rating 评分 em> li>Comments 评论 em> li>Category 类别 em> li>Tag 标签 em> li>Read More 了解更多 em> li> ul> li>Button text – Add text to the button 按钮文本 strong> –将文本添加到按钮 li>
/li>
/ li>
ol>
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 strong>文件中添加以下代码: p>add_filter( 'cherry_trend_posts_cache_fix', '__return_true' ); add_filter('cherry_trend_posts_cache_fix','__return_true'); code> pre>
add_filter( 'cherry_trend_posts_cache_fix', '__return_true' ); add_filter('cherry_trend_posts_cache_fix','__return_true'); code> pre>
add_filter('cherry_trend_posts_cache_fix','__return_true');
code> pre>
/wp-content/plugins/
/ wp-content / plugins / code>目录 li>Activate the plugin through the ‘Plugins’ menu in WordPress通过WordPress中的“插件”菜单激活插件 li>
And of course, you will find new ‘Cherry Trending Posts’ widget in ‘Appearance – Widgets’ menu in your WordPress admin panel.
当然,您会在WordPress管理面板的“外观-小部件”菜单中找到新的“樱桃趋势文章”小部件。 p>
原文出处:http://www.sanshu.cn/a/7179.html
群主管理都是支付大佬