die('-1');
}
?>

<h3 class="tribe-events-visuallyhidden"><?php 
echo esc_html(sprintf(esc_html__('%s List Navigation', 'the-events-calendar'), $events_label_plural));
?>
</h3>
<ul class="tribe-events-sub-nav">
	<!-- Left Navigation -->

	<?php 
if (tribe_has_previous_event()) {
    ?>
		<li class="<?php 
    echo esc_attr(tribe_left_navigation_classes());
    ?>
">
			<a href="<?php 
    echo esc_url(tribe_get_listview_prev_link());
    ?>
" rel="prev"><?php 
    printf('<span>&laquo; </span> ' . esc_html__('Previous %s', 'the-events-calendar'), $events_label_plural);
    ?>
</a>
		</li><!-- .tribe-events-nav-left -->
	<?php 
}
?>

	<!-- Right Navigation -->
Example #2
0
<div class="wp-pagenavi">
	<?php 
global $wp_query;
$total_pages = (int) $wp_query->max_num_pages;
if ($total_pages > 1) {
    $current_page = max(1, get_query_var('paged'));
    echo '<span class="pages">' . sprintf(__('Page %d of %d', 'honeymoon'), $current_page, $total_pages) . '</span>';
}
?>
	<div class="tribe-events-sub-nav">
		<ul>
			<?php 
if (tribe_has_previous_event()) {
    ?>
			<li class="<?php 
    echo tribe_left_navigation_classes();
    ?>
">
				<a href="<?php 
    echo tribe_get_previous_events_link();
    ?>
" rel="prev"><?php 
    _e('<span>&laquo;</span> Previous Events', 'tribe-events-calendar');
    ?>
</a>
			</li><!-- .tribe-events-nav-left -->
			<?php 
}
?>

			<!-- Right Navigation -->