• 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:
    https://www.koop-huis.be/kanaal/carriere/carriere-sub/

    Thanks in advance.

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

    https://www.ads-software.com/extend/plugins/category-images-ii/

  • The topic ‘[Plugin: Category Images II] Subcategory's: Image shows photo of a category in stead of subcate’ is closed to new replies.