-
-
Save MZAWeb/0d37fbdf8e4ce0d60f85 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Default Events Template | |
* This file is the basic wrapper template for all the views if 'Default Events Template' | |
* is selected in Events -> Settings -> Template -> Events Template. | |
* | |
* Override this template in your own theme by creating a file at [your-theme]/tribe-events/default-template.php | |
* | |
* @package TribeEventsCalendar | |
* @since 3.0 | |
* @author Modern Tribe Inc. | |
* | |
*/ | |
if ( !defined('ABSPATH') ) { die('-1'); } ?> | |
<?php | |
get_header(); | |
$layout=ThemexCore::getOption('blog_layout','right'); | |
if($layout=='left') { | |
?> | |
<div class="column fourcol"> | |
<?php get_sidebar(); ?> | |
</div> | |
<div class="column eightcol last"> | |
<?php } else if($layout=='right') { ?> | |
<div class="column eightcol"> | |
<?php } else { ?> | |
<div class="fullwidth-block"> | |
<?php } ?> | |
<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> | |
<?php if($layout=='right') { ?> | |
<div class="column fourcol last"> | |
<?php get_sidebar(); ?> | |
</div> | |
<?php } ?> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment