Page View Count
Manually Adding PHP Makes All Pages Count Together? (4 posts)

  1. truelux
    Posted 2 years ago #

    I'm using the <?php pvc_stats_update( $postid, 1 ); ?> code within my theme, but whenever 1 page gets a hit so do all the others.

    What do I have to add to make it so the count is individual? I can "Activate on these Custom Post Types" but the counter appears really low on the page, so I need to manually place it higher.


  2. mbapot
    Posted 2 years ago #

    Same problem!!!

  3. The Nutz
    Posted 1 year ago #

    I have this problem too but i solved like this
    <?php $postid = get_the_id(); pvc_stats_update( $postid, 1 ); ?>

  4. Evan Herman
    Posted 1 year ago #

    Too anyone else facing this problem, I was able to solve it by doing:

    $stats = new A3_PVC();
    echo $stats->pvc_stats_counter($post->ID);

    or as The Nutz suggests :

    pvc_stats_update( $post->ID, 1 );

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Page View Count
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.