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
When I can the above code to enable pagination, Posts from unassociated categories show above the next and previous buttons show.
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? 🙂
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.
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?
I get it now. I just needed to add the paginate=’yes’ part into my shortcode for the category per page code. Thx