PluginProbe
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses / 4.4.8
LearnPress – WordPress LMS Plugin for Create and Sell Online Courses v4.4.8
4.4.8 4.4.7 4.4.6 4.4.5 4.4.4 4.4.3 4.4.2 4.4.1 4.4.0 4.3.9.1 4.3.9 4.3.8 4.3.7 4.1.6.9 4.1.6.9.1 4.1.6.9.2 4.1.6.9.3 4.1.6.9.4 4.1.7 4.1.7.1 4.1.7.2 4.1.7.3 4.1.7.3.1 4.1.7.3.2 4.2.0 All 139 releases
← All changes | templates/shared/pagination.php +40 -40 4.3.9.14.4.8 View file →
@@ -1,40 +1,40 @@
1 -<?php
2 -/**
3 - * The template for displaying archive pagination.
4 - *
5 - * @version 1.0.0
6 - * @since 4.2.3
7 - */
8 -
9 -defined( 'ABSPATH' ) || exit;
10 -
11 -if ( ! isset( $total ) || ! isset( $base )
12 - || ! isset( $format ) || ! isset( $current ) ) {
13 - return;
14 -}
15 -
16 -if ( $total <= 1 ) {
17 - return;
18 -}
19 -?>
20 -<nav class="learn-press-pagination">
21 - <?php
22 - echo paginate_links(
23 - apply_filters(
24 - 'learn-press/pagination_args',
25 - array(
26 - 'base' => $base,
27 - 'format' => $format,
28 - 'add_args' => false,
29 - 'current' => max( 1, $current ),
30 - 'total' => $total,
31 - 'prev_text' => is_rtl() ? '&rarr;' : '&larr;',
32 - 'next_text' => is_rtl() ? '&larr;' : '&rarr;',
33 - 'type' => 'list',
34 - 'end_size' => 3,
35 - 'mid_size' => 3,
36 - )
37 - )
38 - );
39 - ?>
40 -</nav>
1 +<?php
2 +/**
3 + * The template for displaying archive pagination.
4 + *
5 + * @version 1.0.0
6 + * @since 4.2.3
7 + */
8 +
9 +defined( 'ABSPATH' ) || exit;
10 +
11 +if ( ! isset( $total ) || ! isset( $base )
12 + || ! isset( $format ) || ! isset( $current ) ) {
13 + return;
14 +}
15 +
16 +if ( $total <= 1 ) {
17 + return;
18 +}
19 +?>
20 +<nav class="learn-press-pagination">
21 + <?php
22 + echo paginate_links(
23 + apply_filters(
24 + 'learn-press/pagination_args',
25 + array(
26 + 'base' => $base,
27 + 'format' => $format,
28 + 'add_args' => false,
29 + 'current' => max( 1, $current ),
30 + 'total' => $total,
31 + 'prev_text' => is_rtl() ? '&rarr;' : '&larr;',
32 + 'next_text' => is_rtl() ? '&larr;' : '&rarr;',
33 + 'type' => 'list',
34 + 'end_size' => 3,
35 + 'mid_size' => 3,
36 + )
37 + )
38 + );
39 + ?>
40 +</nav>