Home › Forums › Themes Support › Aqua WordPress Theme › Missing buttons for follow up pages on Blog Grid with template 3
- This topic has 2 replies, 2 voices, and was last updated 5 years, 5 months ago by mad_nico.
-
AuthorPosts
-
-
10/20/2018 at 10:03 PM #18488
Hi, I set up a page for displaying an overview of all the blog posts. I decided to use “Template 3 – Update” as this shows the posts in a nice way. I also configured all the parameters and I want to display only 5 posts on each page.
When display the page the 5 post for the first page are there, but I miss the arrows and buttons to switch over to the next pages…
https://prnt.sc/l8bpkiWould be nice, if you gonna add pagination config to this shortcode.
-
10/22/2018 at 1:43 PM #18501
Hi again,
We have fixed for you. Please check again. -
10/22/2018 at 2:49 PM #18502
Ye, works now.
But let me shortly explain to all other users having same trouble, what you changed… In file/themes/aqua/framework/shortcodes/blog_grid/bloggrid.php
on line 83 add additional code for the paginationBefore:
<?php } ?> <div style="clear: both"></div> </div>
With new code:
<?php } ?> <div style="clear: both"></div> <nav class="pagination text-center" role="navigation"> <?php $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, 'prev_text' => __( '<i class="fa fa-angle-left"></i>', 'aqua' ), 'next_text' => __( '<i class="fa fa-angle-right"></i>', 'aqua' ), ) ); ?> </nav> </div>
-
-
AuthorPosts
You must be logged in to reply to this topic.