get_posts() only picking up one category
-
I am trying to use get_posts to pull the five most recent posts from two categories on my front page. Using:
get_posts(‘numberposts=5&offset=0&category=5,6’)
it only pulls back categroy 5. Am I missing something really obvious?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘get_posts() only picking up one category’ is closed to new replies.