WOrdpress Loop:

http://www.themelab.com/2008/04/04/the-ultimate-guide-to-the-wordpress-loop/

3 Ways to Reset the WordPress Loop:

 

  • wp_reset_postdata() -> best used after custom or multiple loops created with WP_Query
  • wp_reset_query() -> best used after a query_posts loop to reset a custom query
  • rewind_posts() -> best for re-using the same query on the same page

http://digwp.com/2011/09/3-ways-to-reset-the-wordpress-loop/

Advertisements