Support » Plugin: Categories Images » Tag images don't show

  • Resolved dcernuta



    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,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Muhammad


    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

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Tag images don't show’ is closed to new replies.