Title: In content.php
Last modified: August 21, 2016

---

# In content.php

 *  Resolved [Rand HOPPE](https://wordpress.org/support/users/rand-hoppe/)
 * (@rand-hoppe)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/in-contentphp/)
 * Hello, I’m trying to use a tag image in content.php on search, author, archive
   tag and home pages.
 * I have placed
 * <img src=”<?php echo z_taxonomy_image_url($cat->term_id); ?>” />
 * in content.php
 * but only get
 * <img src=”” />
 * in response.
 * Any ideas what I’m doing wrong?
 * [http://wordpress.org/extend/plugins/categories-images/](http://wordpress.org/extend/plugins/categories-images/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Zahlan](https://wordpress.org/support/users/elzahlan/)
 * (@elzahlan)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/in-contentphp/#post-3891297)
 * sorry for the late reply, but if you still facing this problem please make sure
   that $cat->term_id has the category id

Viewing 1 replies (of 1 total)

The topic ‘In content.php’ is closed to new replies.

 * ![](https://ps.w.org/categories-images/assets/icon-128x128.png?rev=2256871)
 * [Categories Images](https://wordpress.org/plugins/categories-images/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/categories-images/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/categories-images/)
 * [Active Topics](https://wordpress.org/support/plugin/categories-images/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/categories-images/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/categories-images/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Zahlan](https://wordpress.org/support/users/elzahlan/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/in-contentphp/#post-3891297)
 * Status: resolved