I tried using the same code as for categories for tags but it doesn’t work on tags (it works on categories). z_taxonomy_image_url does not return anything, do I need to use it some other way?
Here is how I use it:
(this code goes within tag.php (listing of posts tagged with specific tag)
<?php echo function_exists('z_taxonomy_image_url') && z_taxonomy_image_url() ? z_taxonomy_image_url() : bloginfo( 'template_directory' ) . '/images/no-thumb.png'; ?>
Thank you for your help in advance.
- The topic ‘Tag images don't show’ is closed to new replies.