Title: $wp_query-&gt;query
Last modified: August 20, 2016

---

# $wp_query->query

 *  [benk21](https://wordpress.org/support/users/benk21/)
 * (@benk21)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp_query-query/)
 * Hi I’m still newbie in wordpress.
    I noticed this code below, I think this will
   query all meta_value =”Sample1″. Can you help me query not only the Sample1 meta_value
   but also the meta_value=”Featured” $wp_query->query( array(‘paged’ => $paged,’
   post_type’ => ‘gtre’,’meta_value’ => ‘Sample1’));
 * thanks,

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/wp_query-query/#post-2280805)
 * [http://codex.wordpress.org/Function_Reference/WP_Query](http://codex.wordpress.org/Function_Reference/WP_Query)

Viewing 1 replies (of 1 total)

The topic ‘$wp_query->query’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/wp_query-query/#post-2280805)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
