• I have <?php the_views(); ?> in content.php to display the counts. What I am aiming for is to display the count in each post listed on the home page. I could only find content.php that does this.

    When a user apparently clicks on one post and opens it, the count for that post is added by 2 instead of 1. Is this because I’m placing the_views(); in content.php? Count +1 because the user clicked on the article, count +1 because the user viewed the article, therefore count 2?

    – My WordPress has a membership system, plus I exclude bots, so the possibility of unintended views is very low.
    – Counts due to reloads within each post are added in increments of one.


    WordPress 5.9.3, PostView 1.76.1

    • This topic was modified 2 years, 11 months ago by ZuGon.
    • This topic was modified 2 years, 11 months ago by ZuGon.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Counted in units of 2 times’ is closed to new replies.