This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Simple Post Views Counter

Description

This plugin counts and displays all views in each post (globally throughout your site) and saves it to the database.
The views are counted each time a page or post is requested/refreshed (unique and non-unique visitors) and is displayed in the entry meta of each post.

About

The Simple Post Views Counter plugin is maintained by YOOPlugins.com

Feedback, Help, and Suggestions

Do you need help installing getting this plugin to function correctly? Would you like us to install the plugin for you? Just email us: rcstoltz@gmail.com with email subject: Simple Post Views Counter or visit us at YOOPlugins

Screenshots

  • Database table created by plugin
  • Pasting the code snippet into your theme's content.php file
  • The output of the plugin

Installation

  1. Download the file
  2. Upload and extract the contents of this file to your wp-content/plugins/folder
  3. Activate the Simple Post Views Counter in your dashboard
  4. Add this code exactly as you see it to your themes content.php file (just before the closing tag: <?php echo 'This post has been viewed'; ?> <?php echo_views(get_the_ID()); ?> <?php echo'times'; ?>
  5. Please refer to the included images to see where exactly you need to paste the code.
  6. Done! Your posts will now show the total views

FAQ

How do I integrate the plugin into my posts?

Simply add the following piece of code to your theme’s content.php file: <?php echo 'This post has been viewed'; ?> <?php echo_views(get_the_ID()); ?> <?php echo'times'; ?> just before the closing tag

Notes

Uninstalling the plugin

Should you decide to remove the plugin, please make sure that you manually drop the database table that was created when installing the plugin.

Statistics

Should you need to “pull” view count statistics, please do so by using your Sql database export fucntion. We are looking at extending this function in an update.

The Code Snippet to add to your content.php file

Reviews

Perfect

Works fine in 4.8

Fonctionne parfaitement sur une version 4.8

Read all 10 reviews

Contributors & Developers

“Simple Post Views Counter” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

Version 1.0

First Release Version

1.2

  • tested compatibility with v3.7.1
  • added blank index file to trunk (security)
  • included donation link
  • corrected author name
  • included temp banner
  • updated keywords
  • updated readme

1.3

  • tested compatibility with v4.0
  • changed code for theme integration
  • changed url and support links
  • added new screenshots
  • general housekeeping

1.5

  • tested compatibility with core 4.1.2
  • modified code snippet for proper theme integration
  • added rating link and settings page
  • modified reference screenshots
  • updated version number
  • changed support email
  • general housekeeping
  • added icons

1.5.1

  • fixed bug in uninstall hook that responsible for undefined offset error in debug log (typo)
  • added settings.php page (failed to load with last update)

1.6

  • tested compatibility with core 4.2.2
  • added banner and icon assets
  • updated version number
  • general housekeeping