query_posts() multiple cat names?
-
According to the function reference, you used to be able to query posts based on their category slug. You can still do this in WP3, but it won’t allow you to use multiple slugs now? If it’s possible, what is the new method to do this?
Display posts that have these categories, using category slug (not possible with wp3.0):
query_posts( 'category_name=staff,news' );
The topic ‘query_posts() multiple cat names?’ is closed to new replies.