How to add pagination?
-
I’m using this to create a responsive grid of excerpts (Featured image + title + date) on index.php. Right now I have it set to display 50 posts (which hasn’t been reached yet). But when it is, is there a way to show an “Older Posts” button below the grid? When I try WP’s natural pagination it just displays the same most recent posts on a /Page 2.
The ARP code on the page is:
<?php echo do_shortcode("[lptw_recentposts layout='grid-medium' post_type='post' tags_id='15' tags_exclude='true' fluid_images='true' space_hor='25' space_ver='25' columns='4' order='DESC' orderby='date' posts_per_page='50' reverse_post_order='false' color_scheme='light' show_date_before_title='false' show_date='true' show_time='false' show_time_before='false' date_format='m.d.Y' time_format='H:i' excerpt_show='false' no_thumbnails='show']"); ?>
- The topic ‘How to add pagination?’ is closed to new replies.