Categories Images
[resolved] Tag images don't show (3 posts)

  1. dcernuta
    Posted 2 years ago #


    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.

    Best regards,


  2. Muhammad
    Plugin Author

    Posted 2 years ago #

    Really sorry for my late reply.

    You can use the example of looping for taxonomies and just replace 'your_taxonomy' with 'post_tag' and it should work fine

    hope I helped

  3. matchboxben
    Posted 2 years ago #

    I've been trying for days to get tag pages to show the associated featured images - and nothing works. Could you post me the code snippet needed to display a tag's featured image on tag.php?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Categories Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.