We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5f7fed commit 5346041Copy full SHA for 5346041
1 file changed
includes/template-archive.php
@@ -235,7 +235,6 @@ function carelib_archive_description( $desc ) {
235
return apply_filters( 'carelib_archive_description', $desc );
236
}
237
238
-
239
/**
240
* Helper function to build a newer/older or paginated navigation element within
241
* a loop of multiple entries. This takes care of all the annoying formatting
@@ -271,7 +270,7 @@ function carelib_get_posts_navigation( $args = array() ) {
271
270
272
$args = wp_parse_args( $args, $defaults );
273
274
- if ( function_exists( 'the_posts_pagination' ) && 'pagination' === $args['nav_type'] ) {
+ if ( 'pagination' === $args['nav_type'] ) {
275
$output = get_the_posts_pagination( $args );
276
} else {
277
$output = '<nav ' . carelib_get_attr( 'nav', 'archive' ) . '>';
0 commit comments