'; echo '
  • All
  • '; if ( $count > 0 ){ foreach ( $terms as $term ) { $termname = strtolower($term->name); $termname = str_replace(' ', '-', $termname); echo '
  • '.$term->name.'
  • '; } } echo ""; ?>
    'project', 'posts_per_page' => -1)); $count =0; ?>
    have_posts() ) : $loop->the_post(); ?> ID, 'tagportfolio' ); if ( $terms && ! is_wp_error( $terms ) ) : $links = array(); foreach ( $terms as $term ) { $links[] = $term->name; } $links = str_replace(' ', '-', $links); $tax = join( " ", $links ); else : $tax = ''; endif; ?>
    Sorry, no portfolio entries found :(.