Title: WP postviews not working
Last modified: August 24, 2016

---

# WP postviews not working

 *  Resolved [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/)
 * Hello my WP-PostViews just stops counting. So any post in the admin just showing
   0 even after many click on the post. Please help. Thanks
 * [https://wordpress.org/plugins/wp-postviews/](https://wordpress.org/plugins/wp-postviews/)

Viewing 12 replies - 1 through 12 (of 12 total)

 *  Thread Starter [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112561)
 * NOTE: the older post showing the older counter but don’t count anymore.
 *  Thread Starter [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112563)
 * Cashing deactivated and also post view set to everybody but still issues.
 *  Thread Starter [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112567)
 * I also have <?php wp_head(); ?> in the header.php & <?php wp_footer(); ?> in 
   the footer.php but still not working
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112587)
 * What is your site URL? Deactivating caching plugin will does not mean it is really
   deactivated because the WP_CACHE might still be defined in your wp-config.php.
 *  Thread Starter [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112598)
 * [http://www.shymagazine.com](http://www.shymagazine.com)
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112605)
 * Also see my second answer “Deactivating caching plugin will does not mean it 
   is really deactivated because the WP_CACHE might still be defined in your wp-
   config.php.”
 * Also check to see if you have two “views” custom field.
 *  Thread Starter [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112634)
 * 1) I don’t have WP_CACHE in my wp-config.php
 * 2) Also check to see if you have two “views” custom field **(where should i look
   for this?)**
 *  Thread Starter [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112639)
 * ok is working now after i deleted : **define(‘WP_CACHE’, true); //Added by WP-
   Cache Manager** from wp-config.php.
 * Now i noticed that is counting 2 each time instead of 1. Please advice. Thanks
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112641)
 * 1) delete all the *-cache.php file in /wp-content/
    2) [https://codex.wordpress.org/Custom_Fields](https://codex.wordpress.org/Custom_Fields)
   3) Switch to the default theme to see if it still counts two
 *  Thread Starter [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112650)
 * I deleted *-cache.php . When I switched to default, its count 1. when switched
   back to the theme, count 2. Any help? Thanks
 *  Plugin Author [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112654)
 * I can only guess there are two `<?php wp_head(); ?>`? Not sure.
 * But this shows that something is wrong with your theme and not the plugin. You
   probably hire a freelance dev or something to debug it.
 *  Thread Starter [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * (@sazz2006)
 * [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112655)
 * yes i saw 2 <?php wp_head(); ?> and i deleted one and now is working well. Thanks

Viewing 12 replies - 1 through 12 (of 12 total)

The topic ‘WP postviews not working’ is closed to new replies.

 * ![](https://ps.w.org/wp-postviews/assets/icon.svg?rev=978002)
 * [WP-PostViews](https://wordpress.org/plugins/wp-postviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-postviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-postviews/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-postviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-postviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-postviews/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [sazz2006](https://wordpress.org/support/users/sazz2006/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/wp-postviews-not-working/#post-6112655)
 * Status: resolved