Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #1011629

    Hi
    how do I put prev / next at the botton of the pages?
    to be top and botton?
    which php file controls this?
    thank you

    #1011681

    Hey vasileandrei,

    Thank you for using Enfold.

    Are you referring to the events navigation? It’s already situated at the top of the event items.

    Best regards,
    Ismael

    #1011789

    yes
    I also want to the bottom of page
    for greater visibility

    I also want to on every page of the event. I know you have but I do not know how it disappeared

    #1011859

    Hi vasileandrei,

    You need to edit enfold/config-events-calendar/views/single-event.php to duplicate the events nav.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1012197

    themes\enfold\config-events-calendar\views\single-event.php
    does not contain what I need, home navigation seems to be controlled elsewhere

    <?php
    /**
     * Single Event Template
     * A single event. This displays the event title, description, meta, and
     * optionally, the Google map for the event.
     * 
     * Override this template in your own theme by creating a file at [your-theme]/tribe-events/single-event.php
     *
     * @package TribeEventsCalendar
     *
     */
    
    if ( !defined('ABSPATH') ) { die('-1'); }
    
    $event_id = get_the_ID();
    
    ?>
    
    <div id="tribe-events-content" class="tribe-events-single vevent hentry">
    
    	<p class="tribe-events-back"><a href="<?php echo tribe_get_events_link() ?>"> <?php _e( '&laquo; All Events', 'avia_framework' ) ?></a></p>
    
    	<!-- Notices -->
    	<?php 
    		if(function_exists('tribe_the_notices') )
    		{
    			tribe_the_notices();
    		}
    		else
    		{
    			tribe_events_the_notices();
    		}
    		?>
    
    	<?php while ( have_posts() ) :  the_post(); ?>
    		<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    			<!-- Event featured image, but exclude link -->
    						
    			<div class='av-single-event-content'>
    				
    				<?php the_title( '<h2 class="tribe-events-single-event-title summary entry-title">', '</h2>' ); ?>
    	
    				<div class="tribe-events-schedule updated published tribe-clearfix">
    					<?php echo tribe_events_event_schedule_details( $event_id, '<h3>', '</h3>'); ?>
    					<?php  if ( tribe_get_cost() ) :  ?>
    						<span class="tribe-events-divider">-</span>
    						<span class="tribe-events-cost"><?php echo tribe_get_cost( null, true ) ?></span>
    					<?php endif; ?>
    				</div>
    				
    				<!-- Event content -->
    				<?php do_action( 'tribe_events_single_event_before_the_content' ) ?>
    				<div class="tribe-events-single-event-description tribe-events-content entry-content description">
    					<?php echo tribe_event_featured_image($event_id, 'entry_with_sidebar', false); ?>
    					<?php the_content(); ?>
    				</div><!-- .tribe-events-single-event-description -->
    				<div class='av-single-event-meta-bar av-single-event-meta-bar-mobile'>
    					<div class='av-single-event-meta-bar-inner'>
    						<!-- Event meta  -->
    						<?php do_action( 'tribe_events_single_event_before_the_meta' ) ?>
    						<?php 
    							/**
    							 * See comment below - backwards comp. only
    							 * 
    							 * To allow a more logical order of content on mobile/desktop we add 2 copies of the meta data 
    							 * and show/hide with CSS
    							 */
    							if ( ! apply_filters( 'tribe_events_single_event_meta_legacy_mode', false ) )
    							{	
    								tribe_get_template_part( 'modules/meta' );
    							}
    							else 
    							{
    								echo tribe_events_single_event_meta();
    							}
    						?>
    						<?php do_action( 'tribe_events_single_event_after_the_meta' ) ?>
    					</div>		<!-- Event meta  -->
    				</div>
    				<?php do_action( 'tribe_events_single_event_after_the_content' ) ?>
    	
    				<?php if( get_post_type() == Tribe__Events__Main::POSTTYPE && tribe_get_option( 'showComments', false ) ) comments_template() ?>
    			
    			</div> <!-- av-single-event-content -->
    			
    			<div class='av-single-event-meta-bar av-single-event-meta-bar-desktop'>
    				
    					<div class='av-single-event-meta-bar-inner'>
    					
    					<!-- Event meta -->
    					<?php do_action( 'tribe_events_single_event_before_the_meta' ) ?>
    						<?php
    						/**
    						 * The tribe_events_single_event_meta() function has been deprecated and has been
    						 * left in place only to help customers with existing meta factory customizations
    						 * to transition: if you are one of those users, please review the new meta templates
    						 * and make the switch!
    						 * 
    						 * Function was removed in version 3.11 on 22.7.2015
    						 * 
    						 * To allow a more logical order of content on mobile/desktop we add 2 copies of the meta data 
    						 * and show/hide with CSS
    						 */
    						if ( ! apply_filters( 'tribe_events_single_event_meta_legacy_mode', false ) )
    						{	
    							tribe_get_template_part( 'modules/meta' );
    						}
    						else 
    						{
    							echo tribe_events_single_event_meta();
    						}
    						?>
    					<?php do_action( 'tribe_events_single_event_after_the_meta' ) ?>
    				
    				</div>
    			</div>
    			
    			
    			</div> <!-- #post-x -->
    		
    	<?php endwhile; ?>
    
    	<!-- Event footer -->
        <div id="tribe-events-footer">
    		<!-- Navigation -->
    		<!-- Navigation -->
    		<h3 class="tribe-events-visuallyhidden"><?php _e( 'Event Navigation', 'avia_framework' ) ?></h3>
    		<ul class="tribe-events-sub-nav">
    			<li class="tribe-events-nav-previous"><?php tribe_the_prev_event_link( '<span>&laquo;</span> %title%' ) ?></li>
    			<li class="tribe-events-nav-next"><?php tribe_the_next_event_link( '%title% <span>&raquo;</span>' ) ?></li>
    		</ul><!-- .tribe-events-sub-nav -->
    	</div><!-- #tribe-events-footer -->
    
    </div><!-- #tribe-events-content -->
    
    #1012341

    I have somehow solved it in the meantime

    #1012347

    Hi!

    Great, glad you found a solution!

    Best regards,
    Peter

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.