這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

SRS Simple Hits Counter

描述

As the name suggests, it’s a very simple Hit Counter that counts the number of Unique Visitors and Page-views. You can show either the Unique Visitors or total page-views count anywhere on the site using widgets or shortcode. You can also add/show both Counters by using two copies of the widget or the shortcode. It keeps counting even when you have no widget or shortcode active. To completely disable the counter you have to disable the plugin.

Features

  • AJAX based counter ignores most bots or crawlers
  • Monthly and weekly graph
  • Show either the Unique Visitors or Page-views count
  • Ability to reset the counter to any number any time
  • Can be show anywhere on the site using Widgets and Shortcode

SHORTCODES

[srs_total_visitors] for Unique Visitors
[srs_total_pageViews] for Page-views

DEMO

螢幕截圖

  • Go to Appearance > Widgets and look for the widget 'SRS Simple Hits Counter' Select the widget area and click 'Add Widget'.
  • Select 'Visitors' radio button to show Unique vistors to your site.
  • Select 'Page Views' radio button to show count for every page load.
  • Widget Demo

安裝

From your WordPress dashboard

  1. Visit ‘Plugins > Add New’
  2. Search for ‘SRS Simple Hits Counter’
  3. Activate ‘SRS Simple Hits Counter’ from your Plugins page.
  4. Use widget to display the counter in footer or sidebar etc.
  5. Use the shortcode to add the counter to any part of the site.

From WordPress.org

  1. Download ‘SRS Simple Hits Counter’.
  2. Upload the ‘SRS Simple Hits Counter’ directory to your ‘/wp-content/plugins/’ directory, using your favorite method (ftp, sftp, scp, etc…)
  3. Activate ‘SRS Simple Hits Counter’ from your Plugins page.
  4. Use widget to display the counter in footer or sidebar etc.
  5. Use the shortcode to add the counter to any part of the site.

評價

2018年8月4日
This plugin worked great for a long time, but all of a sudden, it is displaying 32,893 visitors. While I wish that was the case, it's way off. And if I use the plugin control panel settings to reset it to something sane like 7300, as soon as it refreshes its back again to over 32,000. Sounds like a short/long integer problem?
閱讀全部5個評價

貢獻者及開發者

“SRS Simple Hits Counter” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 SRS Simple Hits Counter 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.1.0 – 20th JULY 2020

  • Added the ability to reset plugin data deleting all the existing data in the plugin’s database table and start fresh
  • Security and other updates
  • Graph libraries updated

1.0.5 – 17th JULY 2020

  • Critical Security Update

1.0.4 – 6th JULY 2020

  • Security Updates

1.0.3 – 4th JUNE 2018

  • Removed PHP Session based user tracking if favor of session cookie to help with caching
  • Moved js files to load in footer to improve Google PageSpeed score by avoiding render-blocking.

1.0.2 – 14th AUG 2017

  • Critical update, fixed migration bug in 1.0.1

1.0.1 – 8th AUG 2017

  • Critical bug fix

1.0.0 – 8th AUG 2017

  • Added weekly and monthly graph

0.1.6 – 2nd AUG 2017

  • Added the option to show commas in the counter
  • Changed to Ajax based counting to filter out bots and crawlers

0.1.5 – 6th DEC 2016

  • Created options page under the settings menu and moved counter reset settings to that page.

0.1.4 – 17th AUG 2015

  • Removed the extra closing tag for page-views shortcode.

0.1.3 – 4th Feb 2015

  • Added CSS classes to identify and add custom style to the counters span tags.

0.1.2 – 24th Jan 2015

  • Critical – Unique Visitors bug fix.

0.1.1 – 18th Dec 2014

  • Fixed a PHP notice.

0.1.0 – 17th Dec 2014

  • Simple counter to show Unique Visitors or Page-views on your site.