Skip to content

Instantly share code, notes, and snippets.

@ameeker
Created December 1, 2014 02:20
Show Gist options
  • Save ameeker/e94a5df3058675c67a9e to your computer and use it in GitHub Desktop.
Save ameeker/e94a5df3058675c67a9e to your computer and use it in GitHub Desktop.
Taxonomy Images, Displays correct images but no term names
echo '<h5>Tagged Features</h5><ul class="tagged-features">';
$terms = apply_filters( 'taxonomy-images-list-the-terms', '', array(
'taxonomy' => 'features',
'image_size' => 'detail',
) );
foreach( (array) $terms as $term){
echo $term;
};
echo '</ul><!-- .tagged-features -->';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment