Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php $terms = get_terms( 'portfolio_category') ); ?>
- <?php if( $terms ) { ?>
- <ul class="portfolio-archives-filter clr">
- <?php foreach ($terms as $term ) : ?>
- <li><a href="#" data-filter=".<?php echo $term->slug; ?>"><?php echo $term->name; ?><span class="term-count">- <?php echo $term->count; ?></span></a></li>
- <?php endforeach; ?>
- </ul><!-- /portfolio-cats -->
- <?php } ?>
Advertisement
Add Comment
Please, Sign In to add comment