• Resolved Panos Sakalakis

    (@meymigrou)


    I’ve searched through the forum but didn’t find anything about this. Is there a way to add a “load more” button in the widget? Let’s say I want to display 5 articles and have a “load more” button to load another 5. Or an option for infinite loading as the user scrolls down the page.

    Thank you for making and updating the plugins, keep up the good work!

Viewing 1 replies (of 1 total)
  • Plugin Author Hector Cabrera

    (@hcabrera)

    Hi @meymigrou,

    Thank you for making and updating the plugins, keep up the good work!

    Thank you for the wind words!

    I’ve searched through the forum but didn’t find anything about this. Is there a way to add a “load more” button in the widget?

    Well this kind of functionality isn’t really what a sidebar widget would normally do so that’s why there’s no such feature ??

    There are a couple of ways you could achieve this though, here’s one of them:

    1. Set the widget to display a high number of posts (eg. up to 100).
    2. Use CSS to hide all of the posts in the list except for the first N posts (eg. 10)
    3. Add a Load More button right below the widget.
    4. Use JavaScript to change the visibility of the next N posts when clicking on the Load More button, and if there are no more posts to show next then hide the button.

    (Of course, this assumes that you’re at least somewhat familiar with web development in general ?? If that’s not the case then you should consider reaching out to your developer and ask them to help with all this.)

    If you have any questions at all don’t hesitate to ask, alright?

Viewing 1 replies (of 1 total)
  • The topic ‘Is there a way to add a load more button?’ is closed to new replies.