I need to add pagination to the folder pages. I removed the ‘more thumbnails’ and now I have the previous and next thumbnails.
I’ve got it working on the galery page with this code:
<div id="navigation"> <?php global $wp_query; $big = 999999999; // need an unlikely integer echo paginate_links( array( 'base' => str_replace( $big, '%#%', esc_url( get_pagenum_link( $big ) ) ), 'format' => '?paged=%#%', 'current' => max( 1, get_query_var('paged') ), 'total' => $wp_query->max_num_pages, 'next_text' => __(' '), 'prev_text' => __(' ') ) ); ?> </div><!-- #navigation -->
But I can’t seem to figure out where to put it, to get the pagination on the folder thumbnails page.
- The topic ‘Pagination on folder / thumbnail page’ is closed to new replies.