• Resolved htmlcoder001

    (@htmlcoder001)


    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 3 years, 4 months ago by htmlcoder001. Reason: A bit more info added
Viewing 1 replies (of 1 total)
  • Thread Starter htmlcoder001

    (@htmlcoder001)

    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 3 years, 4 months ago by 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.