Support » Plugin: Taxonomy Images » [Plugin: Taxonomy Images BETA] Can i get the CURRENT POST category images?

Viewing 1 replies (of 1 total)
  • I just made a little change to code post earlier!!!

    $cats = get_the_category();
         foreach ( $cats as $c ) {
         $url = get_category_link( $c->term_id );
         $img = $taxonomy_images_plugin->get_image_html( 'detail', $c->term_taxonomy_id );
         if( !empty( $img ) )
         print '<a href="' . $url . '">' . $img . '</a>';
         }
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Taxonomy Images BETA] Can i get the CURRENT POST category images?’ is closed to new replies.