categor in page
-
hi,
i build a page in a new template that i make and insert second loop for category. the page is displaying the normal page content and include query_posts(); that displaying the_title & the_excerpt .
so far so god, but i want it to go further and with the (‘cat=X’) following by the query post i wanted to make the X dynamic!i try to make a custom filed key that will contain the the number of the category id but it went bad!
does anyone know a better way to include a unique category for different pages with a dynamic option? or reference to how to or something?
thanks in advance
josef<?php // The Query query_posts('cat=5'); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘categor in page’ is closed to new replies.