Home Uncategorized WP-PostViews – Post views counter alternative for W3 Total Cache

WP-PostViews – Post views counter alternative for W3 Total Cache

WP-PostViews – Post views counter alternative for W3 Total Cache

  1. Install WP-PostViews plugin  >>  download
  2. Install Ajax_the_view plugin  >>  download
  3. Install W3 Total Cache (enable only the Page Cache option)  >>  download
  4. Activate “Count Views From – Everyone” in Settings -> Post Views panel:

PostViews

Now post views conter works with cache enabled, you can check it on page custom filed, posts view counts won’t get lost anymore. On page the counter updates once per hour (depends on the W3 Total Cache refresh settings).

00_views_counter

You can remove or edit the “views” word that appears after the count number from Settings -> PostViews :

00_remove_views_2

00_remove_views

> Modified function – If the WP-PostViews plugin is installed and active the function displays his counter, else it displays the default theme counter.

00_function_changes

 

 

Thanks to Christopher for this://forum.tagdiv.com/search/fixit/