WP 2.0 and query_posts
-
I’m trying to have only posts from the category “news” being posted on my main page. I’ve been using qurey_posts for the WP 1~1.5 but since upgrading to WP 2.0 it stoped working, and I kept on getting an endless loop.
here’s what I used:<?php query_posts(“category_name=news&showposts=1”); ?>
<!– followed by a loop ->it used to work, but not anymore. could anyone help me out here? I’m really stuck here… thanks in advance
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WP 2.0 and query_posts’ is closed to new replies.