Skip to content

Instantly share code, notes, and snippets.

@w3guy
Created January 16, 2015 11:59
Show Gist options
  • Save w3guy/6c7727067919ec16a804 to your computer and use it in GitHub Desktop.
Save w3guy/6c7727067919ec16a804 to your computer and use it in GitHub Desktop.
<?php if(isset($pageoptions["tb_webpaint_sidebar"]) && $pageoptions["tb_webpaint_sidebar"]!="nosidebar"):?>
</section>
<aside class="sidebar">
<!-- Begin Sidebar -->
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar($pageoptions["tb_webpaint_sidebar"]) ) : ?>
<div class="sidebox">
<h3>Sidebar Widget</h3>
Please configure this Widget Area in the Admin Panel under Appearance -> Widgets
</div>
<?php endif; ?>
</div>
<div class="clear"></div>
<!-- End Sidebar -->
</aside>
<?php endif; //Sidebar ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment