Echo images by category name
-
How to echo the image by category name rather than category id ?
eg: <img src=”<?php echo z_taxonomy_image_url(‘my-category-name’,’medium’); ?>” />
instead of:
<img src=”<?php echo z_taxonomy_image_url(‘2′,’medium’); ?>” />Thanks
Alex
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Echo images by category name’ is closed to new replies.