WordPress.org

Ready to get started?Download WordPress

Forums

Display Posts Shortcode
[resolved] Next and Previous links? (4 posts)

  1. apax27
    Member
    Posted 1 year ago #

    Does anyone know how to add next and previous links? For example, if I want to list 5 posts per page but I have 20 posts total, can I have a next link to the rest of the next page of posts?

    Thanks!

    http://wordpress.org/extend/plugins/display-posts-shortcode/

  2. Bill Erickson
    Member
    Plugin Author

    Posted 1 year ago #

    This plugin doesn't support pagination as that would mess with the pagination of the page on which you added the shortcode.

    If pagination is necessary, I recommend you use WordPress' built-in archive pages and customize the query as needed.

  3. apax27
    Member
    Posted 1 year ago #

    yea for some reason that wasn't working with the plugin and I didnt have time to mess around with it. I used "Display posts with Pagination" plugin instead. Definitely a major flaw with your plugin- otherwise it would be PERFECT! "Display posts with Pagination" is not as user-friendly and can't do many things that your plugin can do... wish there was a way to combine the two! For that plugin, you need to know how to edit the plugin template files and cannot do everything in shortcodes (The only reason I am putting all this is for anyone who stumbles upon this in the future... I can't tell you how frustrating it is to click through dozens of unresolved issues without finding the answer you're looking for)

  4. welovetraffic
    Member
    Posted 9 months ago #

    You can give this plugin a try, it automatically creates a TOC for the current post pagination and provides previous and next buttons:
    http://wordpress.org/plugins/simple-paginated-posts/

    I'm using the manual integration on my own site: http://dokter-web.nl

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.