Created
February 3, 2014 12:17
-
-
Save markbain/8782889 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<ul> | |
<?php foreach (get_terms( 'event-category' ) as $cat) : ?> | |
<li> | |
<img src="<?php echo z_taxonomy_image_url($cat->term_id); ?>" /> | |
<a href="<?php echo get_term_link($cat->slug, 'event-category' ); ?>"><?php echo $cat->cat_name; ?></a> | |
</li> | |
<?php endforeach; ?> | |
</ul> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment