Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #689951

    I have a page template I use to get the sidebar to show up on single events for Modern Tribe Event Pro. I referenced this thread as I used your help to create it in the first place. https://kriesi.at/support/topic/add-a-sidebar-to-events-using-modern-tribe-events-calendar-pro/.
    Unfortunately, it has disappeared since the latest updates. Is there is a change in the code structure or where it needs to go in the child theme?

    This is my code

    
    <?php
    
    global $avia_config;
    
    	/*
    
    	 * get_header is a basic wordpress function, used to retrieve the header.php file in your theme directory.
    
    	 */
    
    	 get_header();
    
    		
    
    	 $title = tribe_is_month() ? __('Calendar of Events', 'avia_framework') : tribe_get_events_title(false);
    
     	 $args = array('title'=> $title, 'link'=>'');
    
     	 if( !is_singular() || get_post_meta(get_the_ID(), 'header', true) != 'no') echo avia_title($args);
    
     	 
    
     	 do_action( 'ava_after_main_title' );
    
     	 
    
    	 ?>
    
    		<div class='container_wrap container_wrap_first main_color fullsize'>
    
    			<div class='container'>
    
    				<main class='template-page template-event-page content av-content-small units' <?php avia_markup_helper(array('context' => 'content','post_type'=>'page'));?>>
    
    					
    
    					 <div id="tribe-events-pg-template">
    
                       
    
                     	<?php
    
                     	
    
    					tribe_events_before_html();
    
    					tribe_get_view();
    
    					tribe_events_after_html(); 
    
    					
    
    					?>
    
    					
    
    					</div> <!-- #tribe-events-pg-template -->
    
    					
    
    				<!--end content-->
    
    				</main>
    
                    
    
                    <?php 
    
    				
    
                    //get the sidebar
    				$avia_config['currently_viewing'] = 'page';
    				echo "<aside class='sidebar sidebar_right'>";
        				echo "<div class='inner_sidebar extralight-border'>";
    						dynamic_sidebar('Events');
    					echo "</div>";
    				echo "</div>";
    
    				
    
    				?>
    
    			</div><!--end container-->
    
    		</div><!-- close default .container_wrap element -->
    
    <?php get_footer(); ?>
    

    It is in my child theme->tribe-events-list-default-template.php

    Please advise.
    Thanks

    #691090

    Hey cybervise13!

    Thank you for using Enfold.

    Please try the solution provided in the previous threads.

    // https://kriesi.at/support/topic/enfold-and-tribe-events-calendar/#post-691070
    // https://kriesi.at/support/topic/sidebar-not-visible-after-updating-the-events-calendar-to-4-2-5/#post-679786

    Best regards,
    Ismael

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