• hello i am using Taxonomy Images to display list of categories images in category.php
    this code display all categories

    $terms = apply_filters( 'taxonomy-images-get-terms', '' );
    if ( ! empty( $terms ) ) {
        print '<ul>';
        foreach( (array) $terms as $term ) {
            print '<li><a href="' . esc_url( get_term_link( $term, $term->taxonomy ) ) . '">' . wp_get_attachment_image( $term->image_id, 'detail' ) . '</li>';
        }
        print '</ul>';
    }

    but i want to hide parent category image in its page and finally do this work like example
    example :
    the parent category is “hardware”.
    “hardware” have have sub ctegories “monitor” and “speaker”.
    the subcategory “monitor” have childs “LEd monitor” and “LCD monitor”.

    all of parent and subcategoreis and childs have special category image with “Taxonomy Images plugin”.
    when the user click on the category hardware(parent) the subcategories images “monitor and speaker” diplay in category page.(the parent image “hardware” should not be disply.
    and when user click on the subcategory like monitor the image of childs of monitor (Led and lcd) will be display. the monitor now is the parent of led and lcd and does not display .
    and when the user clicks on the child like lcd the post will be displayes now .(no catgeory images now display).

    i hope that the example show that want to do i want to creat and image gallery with this code and i need your help and kindly .

  • The topic ‘creating galley with Taxonomy Images’ is closed to new replies.