该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

WP Views Counter

描述

Knows how much views has every post, page or custom post type, just on wordpress list.
You can select on plugin settings, which types must count. Also you can print using shortcode [WPeCounter] in widgets, post or pages.

Works with Easy Digital Downloads Products to see how many views has every Download, also with other plugins that work with public custom post types.

Is extremely lightweight because it works with ajax.

Developer and bugtracker on github repository: https://github.com/Etruel-Developments/wpecounter/issues

Feel free to fork it and propose new enhancements or Pull Requests.

Features

  • Widget with list of most popular posts (types).
  • Configurable visit counter by Custom Post Types.
  • Allow to “Order By Visits” on all selected Post (types) lists.
  • Compatibility with Easy Digital Downloads.
  • Allow to import meta-fields from other counters.
  • Multilanguage Ready.

Features Comming Soon

  1. Options to doesn’t count logged in users, or per role selected in settings.
  2. Select the column order to display the Views column in every post type list.

At initial versions we used “Entry views” script created by Justin Tadlock with GPLv2.
There is little unmodified code left from those early days, but we are very grateful to him for his work.
Hope you can also enjoy this plugin.

屏幕截图

  • Admin settings page.
  • Showing on posts list.
  • Legacy Widget to Display Popular Posts (types).

安装

You can either install it automatically from the WordPress admin, or do it manually:

  1. Unzip “WP Views Counter” archive and put the folder into your plugins folder (/wp-content/plugins/).
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. You’ll see a new column with Views on WordPress pages/posts/types list screen.
  4. For print use shortcode [WPeCounter] in widgets, post or pages.

常见问题

Can I upgrade to version 2.0 without losing the counters from previous versions?

Yes, the 2.0 major version will import the previous settings and counters. You can also import other custom fields. However, make a backup copy!

评价

阅读所有4条评价

贡献者及开发者

“WP Views Counter” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“WP Views Counter”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.0.1

  • Added Danger Zone in Settings allowing to fix failed imports, duplicated metafields and empty fields processes.
  • Improved column order query in all post types lists.
  • Fixes the import process that if it uses same Views metafield the duplicate the metafields in each post.
  • Updated POT and Spanish language files.

2.0

  1. New name! WP Views Counter. Make it more realistic with its uses.
  2. We made a brand new and coded from scratch. More solid. more robust, more lightweight.
  3. Added Legacy Widget! With list of most visited posts (types).
  4. Fixes the preview count when it only had to count visits at frontend.
  5. Language POT and es_ES files updated.
  6. Tested on WordPress 6.0.2

1.2

  1. Added Compatibility with Easy Digital Downloads.
  2. Fixes for many other Custom Post Types.
  3. Moved the Views column to the end.
  4. Tested on WordPress 4.5

1.1.2

  1. Compatible with php 5.4. Lot of Strict Standars PHP Warning and notices fixed.
  2. Fix another notice on Entry views script on php>=5.4

1.1.1

  1. Fix some cases of “Call to undefined function get_plugin_data()”.
  2. Language POT and es_ES files updated.
  3. Preparing for popular posts(types) widget. 😉

1.1

  1. Added “Order By Visits” feature on post(types) list.
  2. Changed order of Views column to appear left side of comments column in post(type) list.
  3. Added Feature Import meta-fields from other counters.
  4. Added Serbo-Croatian Language thanks to Borisa Djuraskovic
  5. Minnor fix on selecting columns to view in WordPress display settings.

1.0

First Release