Title: wp_reset_postdata function
Last modified: August 20, 2016

---

# wp_reset_postdata function

 *  [central101](https://wordpress.org/support/users/central101/)
 * (@central101)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/wp_reset_postdata-function/)
 * Hello,
 * I’m using a new WP_Query object to create multiple loops in my theme. I see on
   the codex that it says to use wp_reset_postdata when creating a new query which
   resets the $post object to the current post. This is only really necessary if
   I want to use the default the_post(); and such correct? I could just as well 
   not include that and just create other WP_Query objects without affecting the
   default $post object. Am I right?

The topic ‘wp_reset_postdata function’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [central101](https://wordpress.org/support/users/central101/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/wp_reset_postdata-function/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
