Problems with query_posts()
-
Hello!
I am currently using the query_posts(); to list ut some of the latest posts in my footer.
Here is the line of code:
<?php query_posts("category_name=projects");?
But this will list up all of the posts in the category named projects. I want it to be reduced to 5. Is this possible to do?
With the
showposts=?
maybe?I cant figure this out by myself, so all help will be appreciated! ??
Kind Regards,
Vegard Brenden
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Problems with query_posts()’ is closed to new replies.