Title: Function don&#039;t work
Last modified: August 30, 2016

---

# Function don't work

 *  Resolved [Ettore Gabrielli](https://wordpress.org/support/users/ettoregabrielli/)
 * (@ettoregabrielli)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/function-dont-work/)
 * This code doesn’t work for me
 * <?php
    if (function_exists(‘get_wp_term_image’)) { $meta_image = get_wp_term_image(
   $term_id); //It will give category/term image url }
 * echo $meta_image; // category/term image url
    ?>
 * [https://wordpress.org/plugins/wp-custom-taxonomy-image/](https://wordpress.org/plugins/wp-custom-taxonomy-image/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Aftab Husain](https://wordpress.org/support/users/amu02aftab/)
 * (@amu02aftab)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/function-dont-work/#post-6730600)
 * Hi ,
 * Thanks for choosing my plugin.
 * I think you are not putting category /term id in code.
 * Please see screenshot [http://awesomescreenshot.com/0905fxt8a4](http://awesomescreenshot.com/0905fxt8a4)
 * Hope this will help.
 * Thanks,
    aftab

Viewing 1 replies (of 1 total)

The topic ‘Function don't work’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-custom-taxonomy-image_4c878c.svg)
 * [Category and Taxonomy Image](https://wordpress.org/plugins/wp-custom-taxonomy-image/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-custom-taxonomy-image/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-custom-taxonomy-image/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-custom-taxonomy-image/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-custom-taxonomy-image/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-custom-taxonomy-image/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Aftab Husain](https://wordpress.org/support/users/amu02aftab/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/function-dont-work/#post-6730600)
 * Status: resolved