widget area if category is empty.
-
Hi guys i fighting with a custom theme and i try add a widget area to taxonomy file when a category is empty code looks:
else: echo '<h2>Category:</h2>'; echo '<div class="clear"></div>'; endif;
How to add to this code part a widget area?
<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar("Category") ) : ?> <?php endif;?>
[Moderator note: code fixed. Please wrap code in the backtick character or use the code button.]
tnx
- The topic ‘widget area if category is empty.’ is closed to new replies.