List of terms with images
-
I have an Issue Based site, with “Editions” as a custom taxonomy for the custom post type “Articles” . I want to display the “cover” (image) for each “Edition” in a page where I list all the “Editions”. I can get the list of terms, but I have no Idea about how to display the image for each edition. I can display the image when I’m in each edition. I’m using “Taxonomy Images” to attach the images to each “Edition”.
Here is what I have so far… (I know is nothing, but may help to explain what I want to achive)
<?php
$terms = get_terms("ediciones");
$count = count($terms);
if ( $count > 0 ){
echo "- ";
- " . 'name) . '">' . $term->name . '' . "
foreach ( $terms as $term ) {
echo "";
}
echo "";
}
?>
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘List of terms with images’ is closed to new replies.