Caption to image
-
<?php $terms = apply_filters( 'taxonomy-images-get-terms', null, array( 'taxonomy' => 'model', ) ); if ( ! empty( $terms ) ) { print ' '; foreach( (array) $terms as $term ) { print ' <a href="' . esc_url( get_term_link( $term, $term->taxonomy ) ) . '">' . wp_get_attachment_image( $term->image_id, 'detail' ) . '</a>' ; } print ' '; } ?> </div>Im using this code to display custom tax as images. All i want to add caption below image. Because its not showing. It it possible? Help please. Thanks
The topic ‘Caption to image’ is closed to new replies.