Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,043
- How-to & Troubleshooting
- 129,753
- Creating & Extending
- 25,804
- Requests & Feedback
- 9,506
- Third Party Plugins
- 9,793
- Showcase
- 3,317
- Ideas
- 1,375
- Miscellaneous
- 9,181
-
If you have other query_post loops running on the page, you might need to reset the loop.
Use something like wp_reset_query(); after a query_posts loop or use a WP_Query loop, which doesn’t require resetting altogether:
http://weblogtoolscollection.com/archives/2008/04/13/define-your-own-wordpress-loop-using-wp_query/