Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="breadcrumbs">
- <div class="one-fourth align-left">
- <?php if (function_exists('dt_breadcrumbs')) dt_breadcrumbs(); ?>
- </div>
- <div class="three-fourth column-last align-right">
- <ul id="filters">
- <li><?php _e('Sort By: ', 'haze'); ?></li>
- <li class="selected active"><a data-value="all" href="#"><?php _e('All', 'haze') ?></a></li>
- <?php
- $terms = get_terms('portfolio_cats');
- $count = count($terms);
- $i=0;
- $term_list = '';
- if ($count > 0) {
- foreach ($terms as $term) {
- $i++;
- $term_list .= '<li class=""><a href="#" data-value="'. $term->slug .'" class="'. $term->slug .'">' . $term->name . '</a></li>';
- if ($count != $i)
- {
- $term_list .= '';
- }
- else
- {
- $term_list .= '';
- }
- }
- echo $term_list;
- }
- ?>
- </ul>
- </div>
- </div><!--end breadcrumbs-->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement