Title: Auto load posts don&#8217;t count
Last modified: January 16, 2019

---

# Auto load posts don’t count

 *  [Matías](https://wordpress.org/support/users/m4tl4s/)
 * (@m4tl4s)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/auto-load-posts-dont-count/)
 * Hello.
 * I just want to know why your plugin doesn’t work on themes with an auto load 
   posts function? When I scroll down to the next posts -and the url switch up of
   course- it doesn’t count a new visit for the new post.
 * Is there a code I may to put on functions.php or somewhere?

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

 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/auto-load-posts-dont-count/#post-11096952)
 * Hi there,
 * > I just want to know why your plugin doesn’t work on themes with an auto load
   > posts function? When I scroll down to the next posts -and the url switch up
   > of course- it doesn’t count a new visit for the new post.
 * For two reasons:
    1. Auto-loading the next post isn’t a native function from WordPress. This feature
       is included via third-party plugins and/or heavy theme customization.
    2. The plugin has no way to know that you’re using a plugin/script to autoload 
       the next post on scroll, so it doesn’t know that a post has been loaded this
       way.
 * > Is there a code I may to put on functions.php or somewhere?
 * There might be a way but again it depends on how the post autoloading has been
   implemented.
 * Please get in touch with the theme developer and ask them how to you can send
   a [POST request to update the views count](https://github.com/cabrerahector/wordpress-popular-posts/issues/207#issuecomment-454596292)
   of an autoloaded post.
    -  This reply was modified 7 years, 4 months ago by [Hector Cabrera](https://wordpress.org/support/users/hcabrera/).
 *  Thread Starter [Matías](https://wordpress.org/support/users/m4tl4s/)
 * (@m4tl4s)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/auto-load-posts-dont-count/#post-11097020)
 * > There might be a way but again it depends on how the post autoloading has been
   > implemented.
   > Please get in touch with the plugin developer and ask them how to you can send
   > a POST request to update the views count of an autoloaded post.
 * I don’t understand anything of that 😕
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/auto-load-posts-dont-count/#post-11097171)
 * That’s why I suggested to get in touch with the developer of your theme. They
   should be able to help you implement this integration.
 * Alternatively, [I’m available for freelance work](https://cabrerahector.com/about/#say-hi)
   if you’re up for it.
 *  Plugin Author [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * (@hcabrera)
 * [7 years, 4 months ago](https://wordpress.org/support/topic/auto-load-posts-dont-count/#post-11121746)
 * Marking as **resolved** due to inactivity.

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

The topic ‘Auto load posts don’t count’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-popular-posts/assets/icon-256x256.png?rev=1232659)
 * [WP Popular Posts](https://wordpress.org/plugins/wordpress-popular-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-popular-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-popular-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-popular-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-popular-posts/reviews/)

## Tags

 * [ajax](https://wordpress.org/support/topic-tag/ajax/)
 * [count](https://wordpress.org/support/topic-tag/count/)
 * [views](https://wordpress.org/support/topic-tag/views/)

 * 4 replies
 * 2 participants
 * Last reply from: [Hector Cabrera](https://wordpress.org/support/users/hcabrera/)
 * Last activity: [7 years, 4 months ago](https://wordpress.org/support/topic/auto-load-posts-dont-count/#post-11121746)
 * Status: not resolved