Title: Help with query_posts
Last modified: August 20, 2016

---

# Help with query_posts

 *  Resolved [nonamez123](https://wordpress.org/support/users/nonamez123/)
 * (@nonamez123)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/help-with-query_posts-4/)
 * Hello one more time. I am new to wp modules, but not found any solution, so i
   tried to do it by my self…
 * So i have a query
 *     ```
       query_posts(array(
       'showposts' => $home_featured_num,
       'post__in' => $sticky,
       'caller_get_posts' => 1,
       ));
       ```
   
 * And also i created custom field in metabox, which is applied in bd in wp_postmeta
   as [https://dl.dropbox.com/u/14396564/screens/wp_postmeta.png](https://dl.dropbox.com/u/14396564/screens/wp_postmeta.png)(
   screen). So i need modify query_posts that it select only post with featured_use:
   true.

Viewing 1 replies (of 1 total)

 *  Thread Starter [nonamez123](https://wordpress.org/support/users/nonamez123/)
 * (@nonamez123)
 * [13 years, 11 months ago](https://wordpress.org/support/topic/help-with-query_posts-4/#post-2850923)
 * Thanks for all, jus solved.
 *     ```
       'meta_key' => 'featured_use',
       'meta_value' => 'true'
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Help with query_posts’ is closed to new replies.

## Tags

 * [query_posts](https://wordpress.org/support/topic-tag/query_posts/)
 * [wp_postmeta](https://wordpress.org/support/topic-tag/wp_postmeta/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [nonamez123](https://wordpress.org/support/users/nonamez123/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/help-with-query_posts-4/#post-2850923)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
