• Hello,

    on my blogposts page I would like to add a “Load more” or “Show more posts” button after my first 3 posts.

    I found plugins that offer this, but wasn’t able to get them to work.
    Has anyone an idea on how to achieve this? Is it easy to write this plugin by myself?

    Best regards!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Leo

    (@leohsiang)

    Hi there,

    I think finding a plugin will be your best bet.

    If you want to write a plugin, searching/requesting on a forum like this http://stackoverflow.com/ might be helpful. There are some real smart people on there that might give you a quick answer 🙂

    Thread Starter cofst

    (@cofst)

    Thanks a lot, will try that now!

    Thread Starter cofst

    (@cofst)

    Hey, I found a plugin to use, but I have trouble to set it up properly.

    It asks for some IDs etc that I need help with.

    Here is a link to the screenshot of what I have to enter to configure it:
    https://ps.w.org/wp-load-more-posts/assets/screenshot-1.jpg?rev=1166075

    So could you please help on what I have to fill in?

    Best regards,
    Marius

    Leo

    (@leohsiang)

    Sorry I’m not familiar with the plugin and also this is the support forum for the free GeneratePress theme so that question should be directed to the plugin support forum for sure.

    I had a quick look and that plugin hasn’t been updated in 2 years with only 800+ active installs. The reviews are few but all 5 stars though.

    Maybe checking out this one? https://en-ca.wordpress.org/plugins/ajax-load-more/

    • This reply was modified 7 years, 1 month ago by Leo.
    Thread Starter cofst

    (@cofst)

    Thanks a lot for replying so fast, Leo. Appreciate your help a lot! 🙂

    In order to set these plugins up, I do need information about the “Generate Press” Theme though.

    Does it use Ajax?
    What class are the blogposts in? (“.post” / “.postlist”…)
    Container type is div?

    • This reply was modified 7 years, 1 month ago by cofst.
    Leo

    (@leohsiang)

    GP should be compatible with all plugins that are made to work with themes so the Ajax one should be no problem.

    Have you tried that one? It has excellent reviews.

    Those generic selectors should work as well.

    • This reply was modified 7 years, 1 month ago by Leo.
    • This reply was modified 7 years, 1 month ago by Leo.
    Thread Starter cofst

    (@cofst)

    I have just tried it and was able to set it up on all pages except the blog page, since I configured my theme to have no static front page but have a front page that shows all blog posts.

    There is no possibility to edit this exact page, so I am not able to put in the shortcode there.

    Leo

    (@leohsiang)

    Hmm the front page displays latest posts is not a theme specific setting so you might have to ask the plugin author how to implement their plugin on that page.

    Or maybe search in their support forum to see if anyone else requested similar thing?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Add a “Load more” Button?’ is closed to new replies.