Display image next to Category related post title

I need to display an image related to the category of postnext to the title of post, so I installed the plugin Taxonomy Images.

I am trying to make the display through the command used by the documentation:

print apply_filters( 'taxonomy-images-queried-term-image', '' );

But unfortunately it doesn't work. Has anyone ever done something like this and can recommend me some other plugin or help me in running this one?

Author: Tmc, 2016-04-26

1 answers

Try This:

print apply_filters( 'taxonomy-images-list-the-terms', '', array(
    'before'       => '',
    'after'        => '',
    'before_image' => '',
    'after_image'  => '',
    'image_size'   => 'detail',
    'post_id'      => get_the_ID()
) );
 1
Author: Rafael Paulino, 2016-04-26 19:26:24