This sample coding can be added to your child theme’s functions.php file (do not include the opening php tag) or a site specific plugin:
http://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/
Here is a preview of what it will look like:
http://cl.ly/image/0s2q1q0a2u0u
Add the sample code below to your child theme's functions.php file or in a site specific plugin.
<?php
//* Do NOT include the opening php tag
//* Add a previous event and next event link to single event pages in Event Espresso 4
function ee_previous_event_next_event_navigation(){
if( is_singular() && is_espresso_event() ){
?>
<div class="ee-after-event-navigation"><div class="ee-after-event-navigation-previous" style="float:left"><?php previous_post_link('« %link', 'Previous Event: %title'); ?></div><div class="ee-after-event-navigation-next" style="float:right"><?php next_post_link('%link » ', 'Next Event: %title'); ?></div></div>
<?php
}
}
add_action( 'AHEE_event_details_footer_bottom', 'ee_previous_event_next_event_navigation' );
References:
https://codex.wordpress.org/Next_and_Previous_Links
http://eventespresso.com/topic/primary-event-listing-page-formatted-poorly/
Check out more improvements for Event Espresso