• Is there a possible way to limit the number of images I return? I would also like to randomize their order. Here is the code I am using to list all of the tax images/terms.

    <?php $terms = apply_filters( 'taxonomy-images-get-terms', '', array('taxonomy' => 'feature-title') );
    	if ( ! empty( $terms ) ) { echo '<ul class="ft_tag_list">';
    	foreach( (array) $terms as $term ) {
    	echo '<li class="tag_list_item">';
    	echo '<div class="tag_image"><a href="' . esc_url( get_term_link( $term, $term->taxonomy ) ) . '">' . wp_get_attachment_image( $term->image_id, '' ) . '</a></div>';
    	echo '<div class="tag_name"><a href="' . esc_url( get_term_link( $term, $term->taxonomy ) ) . '">' . $term->name . '</a></div>';
    	echo '</li>';
    	  }
    	echo '</ul>';
      }
    ?>

    http://wordpress.org/plugins/taxonomy-images/

  • The topic ‘Limit Images Random Order?’ is closed to new replies.