Term description div. Closes #248.

This commit is contained in:
Mike Jolley 2011-11-22 16:26:08 +00:00
parent 2822f1c692
commit 1f31333d1c
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
<h1 class="page-title"><?php echo wptexturize($term->name); ?></h1> <h1 class="page-title"><?php echo wptexturize($term->name); ?></h1>
<?php echo wpautop(wptexturize($term->description)); ?> <?php if ($term->description) : ?><div class="term_description"><?php echo wpautop(wptexturize($term->description)); ?></div><?php endif; ?>
<?php woocommerce_get_template_part( 'loop', 'shop' ); ?> <?php woocommerce_get_template_part( 'loop', 'shop' ); ?>