Adding pagination to all loop pages
This commit is contained in:
parent
d8027b3d8d
commit
ef184d7033
|
@ -53,7 +53,8 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
|||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php the_posts_navigation(); ?>
|
||||
<!-- the pagination component -->
|
||||
<?php require get_template_directory() . '/global-templates/pagination.php';understrap_pagination();?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
|
@ -70,7 +70,8 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
|||
</li>
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php the_posts_navigation(); ?>
|
||||
<!-- the pagination component -->
|
||||
<?php require get_template_directory() . '/global-templates/pagination.php';understrap_pagination();?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
|
@ -52,7 +52,8 @@ if ( is_front_page() && is_home() ) {
|
|||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php the_posts_navigation(); ?>
|
||||
<!-- the pagination component -->
|
||||
<?php require get_template_directory() . '/global-templates/pagination.php';understrap_pagination();?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
|
@ -45,7 +45,8 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
|
|||
|
||||
<?php endwhile; ?>
|
||||
|
||||
<?php the_posts_navigation(); ?>
|
||||
<!-- the pagination component -->
|
||||
<?php require get_template_directory() . '/global-templates/pagination.php';understrap_pagination();?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
|
|
Reference in New Issue