Support » Plugin: Page View Count » Manually Adding PHP Makes All Pages Count Together?

  • 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.

    http://wordpress.org/plugins/page-views-count/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same problem!!!

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

    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 );

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Manually Adding PHP Makes All Pages Count Together?’ is closed to new replies.