Created
March 4, 2014 17:34
-
-
Save lschatzkin/9351512 to your computer and use it in GitHub Desktop.
Bay Nature page.php
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 get_header(); the_post(); ?> | |
<!-- content --> | |
<div id="content" class="left"> | |
<?php display_breadcrumbs() ?> | |
<div class="post"> | |
<?php display_title(); ?> | |
<div class="entry"> | |
<?php the_content(); ?> | |
</div> | |
</div> | |
</div> | |
<!-- END content--> | |
<?php | |
if(tribe_is_community_my_events_page()) { | |
echo '<div id="sidebar" class="right">'; | |
//dynamic_sidebar('Events Sidebar'); //run these pages wihtout sidebars | |
echo '</div>'; | |
} elseif(tribe_is_community_edit_event_page()) { | |
echo '<div id="sidebar" class="right">'; | |
//dynamic_sidebar('Events Sidebar'); //run these pages wihtout sidebars | |
echo '</div>'; | |
} else { get_sidebar(); } | |
//If community events turned off, comment out lines 14-22 and uncomment 24 | |
//get_sidebar(); | |
?> | |
<div class="cl"> </div> | |
<?php get_footer(); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment