Display image next to the category related post title

0

I need to display a category-related image of the post next to the title of the post , so I installed the Taxonomy Images .

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

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

But unfortunately it does not work. Has anyone done anything like this and can you recommend me some other plugin or help me in doing that?

    
asked by anonymous 26.04.2016 / 21:06

1 answer

1

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()
) );
    
26.04.2016 / 21:26