Taxonomy Images
echo image on single term page (1 post)

  1. Maartje_1992
    Posted 1 year ago #

    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


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Taxonomy Images
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic