filter category in index loop
-
hi, i’m trying to manipulate the following index.php code to retrieve and display a fixed number of posts from a certain category. i know the function to do that would be something like e.g.
query_posts("category_name=featured&orderby=rand&showposts=6");
however, i’m having difficulties figuring out how to integrate this into the existing code… will appreciate some advise. thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘filter category in index loop’ is closed to new replies.