WordPress.org

Ready to get started?Download WordPress

Forums

Posts in Page
[resolved] Next and Last buttons have disappeared (9 posts)

  1. bigflacpro
    Member
    Posted 1 year ago #

    I noticed when I updated not only wordpress but the plug-in the next and last buttons are no longer showing. I wld like help in getting these back if at all possible.

    Example of a page that had multiple pages of posts.. http://bigflacpro.com/bfpsongoftheday/

    Thanks.

    http://wordpress.org/extend/plugins/posts-in-page/

  2. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Hey bigflacpro,

    In the last update, we added the ability to turn pagination on within the shortcode.

    Try adding this to your existing shortcode: paginate='yes'

    We added the following to the documentation on the Installation page:

    [ic_add_posts paginate='yes'] - use pagination links (off by default)

    That should do it. Let us know if you get stuck.

    Cheers,
    Eric

  3. bigflacpro
    Member
    Posted 1 year ago #

    Thank you!!

  4. bigflacpro
    Member
    Posted 1 year ago #

    When I can the above code to enable pagination, Posts from unassociated categories show above the next and previous buttons show.

  5. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Hey bigflacpro,

    When I can the above code to enable pagination, Posts from unassociated categories show above the next and previous buttons show.

    Not sure what you mean by this. I think you're saying that if you use the shortcode [ic_add_posts paginate='yes'] that you're seeing all posts, even those without a category. If that's the case, that's expected because the above shortcode doesn't target by category.

    If I'm misunderstanding, would you be kind enough to provide a link and/or screenshot with a little more explanation for an old, slow guy like me? :)

  6. bigflacpro
    Member
    Posted 1 year ago #

    Okay. Makes sense. I'll temporarily add the code so you can see the error..

    When I add the code it not only adds the pagination (next/previous) it also adds the last ten posts with it. Is there any way I can just add the (next/previous) without the additional posts.

    http://bigflacpro.com/video/music/

    The above link shld only show the top ten posts not the bottom ten with it. The shortcode adds the bottom ten.

  7. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Hey bigflacpro,

    When I add the code it not only adds the pagination (next/previous) it also adds the last ten posts with it. Is there any way I can just add the (next/previous) without the additional posts.

    http://bigflacpro.com/video/music/

    The above link shld only show the top ten posts not the bottom ten with it. The shortcode adds the bottom ten.

    If you're using this shortcode: [ic_add_posts paginate='yes'] then you'll automatically get posts along with the navigation.

    By default, WP shows 10 posts/page, so you'd see ten posts, then the pagination, unless you either:

    • Change the default # posts under Setting/Reading, or
    • Limit the number of posts by adding to the shortcode (ex. [ic_add_posts showposts='5' paginate='yes'])

    Based on your description, I'm guessing that if you don't use the shortcode, some posts display anyway, right? Like ten?

    If that's the case, then I may be misunderstanding what you're going for - it almost sounds like you're looking for navigation without adding posts. Am I mistaken?

  8. bigflacpro
    Member
    Posted 1 year ago #

    I get it now. I just needed to add the paginate='yes' part into my shortcode for the category per page code. Thx

  9. Eric Amundson
    Volunteer Moderator
    Plugin Author

    Posted 1 year ago #

    Quite welcome!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic