Title: Custom query_posts()
Last modified: August 19, 2016

---

# Custom query_posts()

 *  Resolved [phazzed](https://wordpress.org/support/users/phazzed/)
 * (@phazzed)
 * [17 years, 6 months ago](https://wordpress.org/support/topic/custom-query_posts/)
 * Hi all,
 * I’m trying to figure out the correct layout for:
 * query_posts(‘cat=’.$categorySearch.’&tag=’.$tagSearch.’&orderby=ASC’);
 * The $categorySearch & $tagSearch are passed via _GET, but results are not being
   displayed with the ‘&tag’ being there..
 * I have consulted the codex and they show “tag=”, so I can’t figure this out..
 * Thanks in advance!

The topic ‘Custom query_posts()’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [phazzed](https://wordpress.org/support/users/phazzed/)
 * Last activity: [17 years, 6 months ago](https://wordpress.org/support/topic/custom-query_posts/)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
