Title: Dont Count Admin Views
Last modified: August 22, 2016

---

# Dont Count Admin Views

 *  [Azztech Computers](https://wordpress.org/support/users/azztechau/)
 * (@azztechau)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/dont-count-admin-views/)
 * 1. Is there a way to disable counting views from admin users? As we edit the 
   pages on a regular basis and don’t want false readings?
    2. Is there a way to
   disable the counter being shown on the page and just show it on the backend, 
   say on the dashboard, as we really want to know the numbers our customer do not.
   3. Is there a way to move the counter from the bottom to the footer to make it
   more inconspicuous? We have implemented your plugin at [http://www.azztech.com.au](http://www.azztech.com.au)
   if you wish to use it as an example of what the plugin does
 * [https://wordpress.org/plugins/page-views-count/](https://wordpress.org/plugins/page-views-count/)

Viewing 1 replies (of 1 total)

 *  [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * (@eherman24)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/dont-count-admin-views/#post-5220449)
 * I noticed that you have disabled the plugin now. For anyone else facing this 
   issue I am using the provided PHP snippet to display my post counter (`pvc_stats_update(
   $post->ID, 1 );`).
 * If you want to exclude counts from updating when an admin views the page, I achieved
   this using the following function:
 *     ```
       // check if the current user is not an admin
       if ( !current_user_can( 'manage_options' ) ) {
   
          // update and display stat counter
          pvc_stats_update( $post->ID, 1 );
   
       } else {
   
          // initialize the stat counter class
          $stats = new A3_PVC();
   
          // just display, do not update stat counter
          echo $stats->pvc_stats_counter( $post->ID );
   
       }
       ```
   
 * Evan

Viewing 1 replies (of 1 total)

The topic ‘Dont Count Admin Views’ is closed to new replies.

 * ![](https://ps.w.org/page-views-count/assets/icon.svg?rev=986301)
 * [Page View Count](https://wordpress.org/plugins/page-views-count/)
 * [Support Threads](https://wordpress.org/support/plugin/page-views-count/)
 * [Active Topics](https://wordpress.org/support/plugin/page-views-count/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/page-views-count/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/page-views-count/reviews/)

## Tags

 * [Backend](https://wordpress.org/support/topic-tag/backend/)
 * [front page](https://wordpress.org/support/topic-tag/front-page/)
 * [move](https://wordpress.org/support/topic-tag/move/)
 * [page](https://wordpress.org/support/topic-tag/page/)
 * [views](https://wordpress.org/support/topic-tag/views/)

 * 1 reply
 * 2 participants
 * Last reply from: [Evan Herman](https://wordpress.org/support/users/eherman24/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/dont-count-admin-views/#post-5220449)
 * Status: not resolved