Trouble figuring out how to call a specific category list
-
Hi there,
I’ve been trawling through the forum but can’t seem to find an answer for this. I’ve created a template which I want to use to call a list of posts from a specific category (In this case the category ID is 4).
Using the following code, I can output all the posts in their entirety however I just want to output the list you would normally see when clicking the category name on the front end.
Any help would be greatly appreciated!
Here’s the call I’m currently using:
<?php if (is_page()) { query_posts(‘cat=4’); } ?>
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Trouble figuring out how to call a specific category list’ is closed to new replies.