File "next-previous-pagination.php"

Full Path: /home/dcqnetm/intuns/wp-content/plugins/tutor/templates/single/next-previous-pagination.php
File size: 711 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

/**
 * Single next previous pagination
 *
 * @author Themeum
 * @url https://themeum.com
 *
 * @package TutorLMS/Templates
 * @version 1.4.7
 */

?>

<div class="tutor-next-previous-pagination-wrap">
	<?php if ( $previous_id ) : ?>
		<a class="tutor-previous-link tutor-previous-link-<?php echo esc_attr( $previous_id ); ?>" href="<?php echo esc_url( get_the_permalink( $previous_id ) ); ?>">
			&leftarrow; <?php _e( 'Previous' ); ?>
		</a>
	<?php endif; ?>

	<?php if ( $next_id ) : ?>
		<a class="tutor-next-link tutor-next-link-<?php echo esc_attr( $next_id ); ?>" href="<?php echo esc_url( get_the_permalink( $next_id ) ); ?>">
			<?php _e( 'Next' ); ?> &rightarrow; 
		</a>
	<?php endif; ?>
</div>