WordPress.org

Ready to get started?Download WordPress

Forums

Taxonomy Images II
[Plugin: Category Images II] Subcategory's: Image shows photo of a category in stead of subcate (1 post)

  1. rhazebroek
    Member
    Posted 3 years ago #

    Hello,

    I would be glad if someone can help me out on this one:
    the thumbnail doesn't show up at the subcategories. In stead of the image chosen for the subcategory, I get the photo of the mother category.

    This is my code:

    <?php
    $cat = $post_category[1]->slug;
    $args=array(
      'cat' => $cat,
      'post_type' => 'post',
      'post_status' => 'publish',
      'posts_per_page' => -1,
      'caller_get_posts'=> 1,
      'depth' => 1
    );
        $my_query = null;
        $my_query = new WP_Query($args);
        if( $my_query->have_posts() ) {
          while ($my_query->have_posts()) : $my_query->the_post(); 
    
    	echo ciii_category_images();
    ?>

    I have tried a ceveral ways to chose the category ( 'cat' => ...) but I always get the image of the mother category.

    This is were the category image should be seen:
    http://www.koop-huis.be/kanaal/carriere/carriere-sub/

    Thanks in advance.

    Rick Hazebroek
    Fraai Webdesign
    http://www.fraai-webdesign.com

    http://wordpress.org/extend/plugins/category-images-ii/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic