insert image with taxonomy index
-
Hi, I am wondering if there is a way to call for an image to appear when certain taxonomies = yes/true within the taxonomy index, and place this within the below code. For example, when the taxonomy “region” = “loire”, and this is displayed in the index, I want to insert html that calls for the display of a map of the loire valley; when “region” = “rhone”, I want to display a map of the rhone.
How do I do this/Can I do this?
<?php printf( __( 'Producers indexed by: %s' ), '<span>' . single_cat_title( '', false ) . '</span>' ); ?>
Thanks
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘insert image with taxonomy index’ is closed to new replies.