• Hi guys,

    I want to show the pictures relatives to my categories. I try to use functions showed on the plugin page, but no results…

    I list all my categories with a foreach, and in this one, show picture for each category.

    This is my code, what’s the problem ?

    $categories = get_categories('child_of='.$category->cat_ID);
                foreach ($categories as $category)
                {
                    $url = apply_filters( 'taxonomy-images-queried-term-image-url', '', array('image_size' => 'full') );
                    if ( !empty( $url ) )
                    {
                        echo '<div class="item"><img src="' . esc_url( $url ) . '" title="Test" />';
                        echo '<br />' . $category->cat_name . '</div>';
                    }
    }

    [No bumping. If it’s that urgent, consider hiring someone.]

  • The topic ‘[Plugin:Taxonomy Images] – Apply_filters problem’ is closed to new replies.