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

Counter-Hits

描述

A simple, easy, fast, adaptive, local, objective counter to visit your site.
It does not use any additional requests to other servers, which means it consumes minimal resources.
Displays the count of all views of any page as a number.
You can customize your own display style. Use class: ‘wpgear_counter_hits’

Just paste Shortcode [Get_Counter_Hits] wherever you like and that’s it.
Or you can use calls in PHP scripts code: echo get_Counter_Hits ();

Features

  • Simple local Counter.
  • It always works, even if the result is not displayed anywhere.
  • Doesn’t count if Admin Page.

  • ShortCode for use: [Get_Counter_Hits]

  • ShortCode for use with correction +100000: [Get_Counter_Hits base=”100000″]
  • PHP use: echo get_Counter_Hits ($base);

  • CSS Class ‘wpgear_counter_hits’ – for disign customisation.

Demo

You can see the Demo here

屏幕截图

  • screenshot-1.png This is the example page whith Counter.

安装

  1. Upload ‘counter-hits’ folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Make sure your system has iconv set up right, or iconv is not installed at all. If you have any problems (trimmed slugs, strange characters, question marks) – please ask for support.

常见问题

NA

评价

阅读所有1条评价

贡献者及开发者

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

贡献者

将“Counter-Hits”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.8

2021.03.05
* Tested to WP 5.7-RC2-50482

1.7

2021.02.21
* Optimization code. Now, more correctly.

1.6

2021.02.19
* Anty Flood functions.

1.5

2021.02.18
* Fix problem: Doesn't count if WooCommerce is installed.

1.4

2021.02.17
* Optimization code.

1.3.1

2021.02.16
* Just edit "Tested up to: 5.6.1" on ReadMe.txt

1.3

2018.11.23
* Fix problem: Null value whith search queries.

1.2

2018.11.06
* Optimization. Reduced read-write DB operations.

1.1

2018.11.05
* Add ShortCode [Get_Counter_Hits]

1.0

2018.11.04
* Initial release