Support

Account

Home Forums General Issues want to display Category Image in loop Reply To: want to display Category Image in loop

  • Thanks for reply.

    actually before code was loop. meaning all child category image will show. that was fine work.

    but now i need also only show category image. not loop all child category.

    example my category like bellow

    • Printing (main category)
      • – 4 color (child category)
      • – 2 color (child category)
      • – offset print (child category)

    so now when i will view/access 4 color category (cat-printing.php this page for all printing child category template ) then in that page will show 4 color category image only

    i tried you code not work really . it show error foreach($categories as $category){