Title: Help with query
Last modified: August 22, 2016

---

# Help with query

 *  [Alin Ionut](https://wordpress.org/support/users/c3dry2k/)
 * (@c3dry2k)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/help-with-query/)
 * I’m trying to display li and number of of the specific posts from a specific 
   category, with the current page tag (pages support tags). Everything works great
   on my search result, but in page.php it screw up my queries. I try with wp_reset_query
   but at a point it still screw things up.
 * Please don’t post long lines of code, rather use [pastebin](http://pastebin.com)
   or [Gist](https://gist.github.com) and post the link to it.
 * Pastebin: [http://pastebin.com/ex4QxxeW](http://pastebin.com/ex4QxxeW)

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

## Tags

 * [category](https://wordpress.org/support/topic-tag/category/)
 * [li](https://wordpress.org/support/topic-tag/li/)
 * [loop](https://wordpress.org/support/topic-tag/loop/)
 * [query](https://wordpress.org/support/topic-tag/query/)
 * [tags](https://wordpress.org/support/topic-tag/tags/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Alin Ionut](https://wordpress.org/support/users/c3dry2k/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/help-with-query/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
