Skip to content

Instantly share code, notes, and snippets.

@lschatzkin
Created March 4, 2014 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lschatzkin/9351512 to your computer and use it in GitHub Desktop.
Save lschatzkin/9351512 to your computer and use it in GitHub Desktop.
Bay Nature page.php
<?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">&nbsp;</div>
<?php get_footer(); ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment