Diff: STRATO-apps/wordpress_03/app/wp-content/plugins/tutor/templates/single/next-previous-pagination.php
Keine Baseline-Datei – Diff nur gegen leer.
1
-
1
+
<?php
2
+
/**
3
+
* Single next previous pagination
4
+
*
5
+
* @package Tutor\Templates
6
+
* @subpackage Single
7
+
* @author Themeum <support@themeum.com>
8
+
* @link https://themeum.com
9
+
* @since 1.4.7
10
+
*/
11
+
12
+
?>
13
+
14
+
<div class="tutor-next-previous-pagination-wrap">
15
+
<?php if ( $previous_id ) : ?>
16
+
<a class="tutor-previous-link tutor-previous-link-<?php echo esc_attr( $previous_id ); ?>" href="<?php echo esc_url( get_the_permalink( $previous_id ) ); ?>">
17
+
← <?php esc_html_e( 'Previous', 'tutor' ); ?>
18
+
</a>
19
+
<?php endif; ?>
20
+
21
+
<?php if ( $next_id ) : ?>
22
+
<a class="tutor-next-link tutor-next-link-<?php echo esc_attr( $next_id ); ?>" href="<?php echo esc_url( get_the_permalink( $next_id ) ); ?>">
23
+
<?php esc_html_e( 'Next', 'tutor' ); ?> →
24
+
</a>
25
+
<?php endif; ?>
26
+
</div>
27
+