Title: Plugin dont see all posts
Last modified: July 22, 2021

---

# Plugin dont see all posts

 *  Resolved [htmlcoder001](https://wordpress.org/support/users/htmlcoder001/)
 * (@htmlcoder001)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-dont-see-all-posts/)
 * Hello. I have a little problem with posts loading. I put parent class and items
   class like in example but it shows me only 12 posts (as I set in WP Query for
   posts loop). As I see in dev tools, plugin adds ‘Load more button’, but its not
   displayed because of zero items amount to load, but there is more posts in backend.
   Even if I set 24 post in query and 12 post to show in plugin – page shows me 
   24 posts. Where I should take a look to find a solution? Whats can be wrong? 
   Thanks.
    -  This topic was modified 4 years, 10 months ago by [htmlcoder001](https://wordpress.org/support/users/htmlcoder001/).
      Reason: A bit more info added

Viewing 1 replies (of 1 total)

 *  Thread Starter [htmlcoder001](https://wordpress.org/support/users/htmlcoder001/)
 * (@htmlcoder001)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-dont-see-all-posts/#post-14689254)
 * Seems that it was an issue with selectors.
    First time when i tried it, my selectors
   was:
 *     ```
       Load More Button Selector - .tpfl-gallery
       Load More Items Selector - .tpfl-gallery .tpfl-gallery__item or just .tpfl-gallery__item
       ```
   
 * I solved it when I set it to:
 *     ```
       Load More Button Selector - div#gallery_block
       Load More Items Selector - div#gallery_block div.tplf-gallery__item
       ```
   
 * Looks like it need tags insted of just class or id. Maybe Im wrong but it worked
   now with tags added to id/class.
    -  This reply was modified 4 years, 10 months ago by [htmlcoder001](https://wordpress.org/support/users/htmlcoder001/).
      Reason: Fixed id's in code preview

Viewing 1 replies (of 1 total)

The topic ‘Plugin dont see all posts’ is closed to new replies.

 * ![](https://ps.w.org/ajax-load-more-anything/assets/icon-256x256.png?rev=1781218)
 * [Load More Anything](https://wordpress.org/plugins/ajax-load-more-anything/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ajax-load-more-anything/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ajax-load-more-anything/)
 * [Active Topics](https://wordpress.org/support/plugin/ajax-load-more-anything/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ajax-load-more-anything/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ajax-load-more-anything/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [htmlcoder001](https://wordpress.org/support/users/htmlcoder001/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/plugin-dont-see-all-posts/#post-14689254)
 * Status: resolved