Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,047
- How-to & Troubleshooting
- 129,803
- Creating & Extending
- 25,879
- Requests & Feedback
- 9,501
- Third Party Plugins
- 9,814
- Showcase
- 3,317
- Ideas
- 1,384
- Miscellaneous
- 9,182
-
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/