Support » Plugin: Taxonomy Images » echo image on single term page

  • Hi there,

    I have a custom taxonomy for wich I am using your plugin wich works great.
    Only one thing I can’t figure out but it sounds so simple..

    I have a page for a terms from the taxonomy I am using ( file: taxonomy-taxonomyname.php )
    So when I click a termimage it will send me to this page.

    In this page I want a title, description and image of the term.
    I cant figure out how to echo the image.

    echo wp_get_attachment_image( $term->image_id, 'thumb' );
    wich didn’t display anything


    			$terms = apply_filters( 'taxonomy-images-list-the-terms', '', array(
    					'taxonomy' => 'keurmerk',
    				) );
    				foreach( (array) $terms as $term){
    					echo $term;
    				}  ?>

    wich displayed more terms

  • The topic ‘echo image on single term page’ is closed to new replies.