[wordpress插件] Post Views Count (Support caching plugins!)发布观看次数(支持缓存插件!)

wordpress 插件 文章 2020-02-29 22:30 499 0 全屏看文

AI助手支持GPT4.0

评分
78
描述

IMPORTANT: 3.0 supports cahing plugins!

重要提示:3.0支持cahing插件!

When someone visits a post or page (not a search engine bot crawler), it adds 1 count views to its counter.

当某人访问帖子或页面(而不是搜索引擎漫游器)时,它会在其计数器中添加1个计数视图。

But this is not all, the counters are split in days, weeks, months, years, so you can see stats and display any stat day.

但这还不是全部,计数器分为天,周,月,年,因此您可以查看统计信息并显示任何统计日。

Then you can display this views with the provided shortcode [post_view] or use the widget to display a top (or less) posts list.

然后,您可以使用提供的简码[post_view]显示此视图,或使用小部件显示顶部(或更少)的帖子列表。

You can also use [most_view] in a post/page to get a top (or less) post most viewed.

您还可以在帖子/页面中使用[most_view]来获得观看次数最多(或更少)的帖子。

If you were using another kind of plugin before and don’t want to lose your counters, this plugin can keep them!

如果您以前使用过另一种插件,并且不想丢失自己的计数器,那么该插件可以保留它们!

安装步骤

    1. Upload the “baw-post-views-count” to the “/wp-content/plugins/” directory
    2. “ baw-post-views-counts” 上传到“ / wp-content / plugins /” 目录

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

    5. Go to settings page
    6. 转到设置页面

    7. You can add the [post_view] shortcode to your theme template or directly in a post/page or add the widget.
    8. 您可以将[post_view]简码添加到主题模板中,或直接在帖子/页面中添加小部件。

    9. You can also use [most_view] in a post/page to get a top (or less, see FAQ) post most viewed
    10. 您还可以在帖子/页面中使用[most_view]来获得访问量最高(或更少,请参见FAQ)的帖子

下载地址
https://downloads.wordpress.org/plugin/baw-post-views-count.zip
-EOF-

AI助手支持GPT4.0