Skip to content

Instantly share code, notes, and snippets.

@jpcontrerasv
Created December 13, 2016 04:07
Show Gist options
  • Save jpcontrerasv/b180edab616c2887cacfd4ebe6b3a339 to your computer and use it in GitHub Desktop.
Save jpcontrerasv/b180edab616c2887cacfd4ebe6b3a339 to your computer and use it in GitHub Desktop.
get the term list
<?php $terms = get_terms('expertice', array('hide_empty' => true) );?>
<?php foreach($terms as $term){?>
<li><a href="<?php echo get_term_link( $term );?>">#<?php echo $term->name;?></a></li>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment