Title: Problem with WP_Query
Last modified: August 20, 2016

---

# Problem with WP_Query

 *  [claudiospl](https://wordpress.org/support/users/claudiospl/)
 * (@claudiospl)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/problem-with-wp_query/)
 * Hey guys,
 * I created a custom post type called ‘brands’ which is just as simple as an image
   and a title.
 * And in regular pages I need a reference to a single brand. So I added a metabox
   with a select list using WP_Query to list all posts with post type equal to brands…
 * But the problem is that when I click to create a new page it’s title is the same
   as the last record returned by the wp_query instance…
    And I used both wp_reset_query
   and wp_reset_postdata…
 * I have no ideia where is this problem coming from

The topic ‘Problem with WP_Query’ is closed to new replies.

## Tags

 * [post](https://wordpress.org/support/topic-tag/post/)
 * [wp_query](https://wordpress.org/support/topic-tag/wp_query/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [claudiospl](https://wordpress.org/support/users/claudiospl/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/problem-with-wp_query/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
