Adding pagination to all loop pages

This commit is contained in:
koenemann 2016-11-22 16:12:46 +01:00
parent d8027b3d8d
commit ef184d7033
4 changed files with 8 additions and 4 deletions

View File

@ -53,7 +53,8 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
<?php endwhile; ?> <?php endwhile; ?>
<?php the_posts_navigation(); ?> <!-- the pagination component -->
<?php require get_template_directory() . '/global-templates/pagination.php';understrap_pagination();?>
<?php else : ?> <?php else : ?>

View File

@ -70,7 +70,8 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
</li> </li>
<?php endwhile; ?> <?php endwhile; ?>
<?php the_posts_navigation(); ?> <!-- the pagination component -->
<?php require get_template_directory() . '/global-templates/pagination.php';understrap_pagination();?>
<?php else : ?> <?php else : ?>

View File

@ -52,7 +52,8 @@ if ( is_front_page() && is_home() ) {
<?php endwhile; ?> <?php endwhile; ?>
<?php the_posts_navigation(); ?> <!-- the pagination component -->
<?php require get_template_directory() . '/global-templates/pagination.php';understrap_pagination();?>
<?php else : ?> <?php else : ?>

View File

@ -45,7 +45,8 @@ $sidebar_pos = get_theme_mod( 'understrap_sidebar_position' );
<?php endwhile; ?> <?php endwhile; ?>
<?php the_posts_navigation(); ?> <!-- the pagination component -->
<?php require get_template_directory() . '/global-templates/pagination.php';understrap_pagination();?>
<?php else : ?> <?php else : ?>