nextgengraphics04
New member
This is what I have..
<?php query_posts(array("cat" => "7"));
if(have_posts()): ?>
This works to display my 'bags cat (7)' but i have a template, and need all my categories to feed off this one template, so instead of defining what cat id, i need it to get the cat id of the page your on, and display the product under that cat. I know its probably simple but im not to advanced yet. Thanks in advance!!!
<?php query_posts(array("cat" => "7"));
if(have_posts()): ?>
This works to display my 'bags cat (7)' but i have a template, and need all my categories to feed off this one template, so instead of defining what cat id, i need it to get the cat id of the page your on, and display the product under that cat. I know its probably simple but im not to advanced yet. Thanks in advance!!!