How to include sidebar in theme?
-
Normally I include a sidebar this way:
<div id="languagebar"> <div class="container"> <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Language sidebar') ) : ?> <?php endif; ?> </div> </div>
But what if I only want to print the two div’s, if there are any widgets in the sidebar?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to include sidebar in theme?’ is closed to new replies.