Thanks to Rafael Marques, I have a list of Products and Categories organized based on different created categories. I also have 5 different Custom Page Templates. Now I would like to display the product images (only images, because this is just an image gallery) in each of the pages. The page template looks like:
<?php
/**
Template Name: Gallery Art
*/
get_header(); ?>
<div id="scrool" class="clearfix">
<div class="gal item">
<a class="group4" href="img/gallery/Beauty/Beauty 1.jpg">
<img src="img/gallery/Beauty/gal/Beauty 1.jpg" alt="Ghazal Photo" width="231" height="149" />
</a>
</div>
</div>
<?php get_footer(); ?>
How can I do this based on categories? For example, let's say I have a page called Art and powered based on Art_Page template. How can I add all images (products) to only this template, which is categorized under artCat?