Viewing 1 replies (of 1 total)
  • Thread Starter taskle

    (@taskle)

    For reference for those that see this thread, per help from David Chandra, the solution to this problem is to do the following:
    (1) When you activate “The Events Calendar” plugin (by Modern Tribe)
    and set the “template” in “Events > Settings > Display(tab) > Basic Template Settings(section)” and select “Default Events Template”.
    (2) define in your theme’s directory the following file:
    tribe-events/default-template.php

    In that file, place contents that match your theme, e.g. for Nevertheless:

    <?php
    /* Force Use 1 Column Layout */
    if( function_exists( 'tamatebako_set_layout' ) ){
    	tamatebako_set_layout( 'content' ); // remove if you want to use default layout
    }
    ?>
    <!DOCTYPE html>
    <html <?php language_attributes( 'html' ); ?> class="no-js">
    
    <head>
    <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    
    	<div id="container">
    
    		<?php tamatebako_skip_to_content(); ?>
    
    		<div class="header-nav">
    
    			<?php get_header(); ?>
    
    			<?php get_template_part( 'menu/primary' ); ?>
    
    		</div><!-- .header-nav -->
    
    		<div class="wrap">
    
    			<div id="main">
    
    				<div class="wrap">
    
    					<main id="content" class="content" role="main">
    
    						<div class="wrap">
    
    							<div id="tribe-events-pg-template">
    								<?php tribe_events_before_html(); ?>
    								<?php tribe_get_view(); ?>
    								<?php tribe_events_after_html(); ?>
    							</div> <!-- #tribe-events-pg-template -->
    
    						</div><!-- #content > .wrap -->
    
    					</main><!-- #content -->
    
    					<?php tamatebako_get_sidebar( 'primary' ); ?>
    
    				</div><!-- #main > .wrap -->
    
    			</div><!-- #main -->
    
    		</div><!-- #container > .wrap -->
    
    		<?php get_footer(); ?>
    
    	</div><!-- #container -->
    
    	<?php wp_footer();?>
    
    </body>
    </html>
Viewing 1 replies (of 1 total)

The topic ‘some plugins not supported’ is closed to new replies.