• Hi, I want to display category image in a template . I have used ` <?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;
    ?>`
    but it is not working. Wait for your help. Thank you

    • This topic was modified 7 years, 5 months ago by Petersen.
  • The topic ‘How to show category image in a template/ frontend?’ is closed to new replies.