- This topic has 1 reply, 2 voices, and was last updated 5 months, 3 weeks ago by .
-
Topic
-
Hi, i have a query that i want to show pagination for, here is the code:
{% set args = {post_type: 'folders', posts_per_page: '6', nopaging: false, category_name: 'en-cours' }%} {% set myfolders = mb.get_posts( args ) %} {% for folders in myfolders %}
content is here
{% endfor %} <div class="nav-previous alignleft">{{ mb.previous_posts_link( 'Older posts' ) }}</div> <div class="nav-next alignright">{{ mb.next_posts_link( 'Newer posts' ) }}</div>
i added these two lines without success ! nothing displayed, any idea how to achieve this ?
if you can also tell me how to get page numbers to put between those two buttonsthanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.