Title: WP_Query Not Working on index.php
Last modified: August 20, 2016

---

# WP_Query Not Working on index.php

 *  Resolved [gbrown88](https://wordpress.org/support/users/gbrown88/)
 * (@gbrown88)
 * [15 years ago](https://wordpress.org/support/topic/wp_query-not-working-on-indexphp/)
 * Hello,
 * I’ve been looking at this query and messing around with it for at least 30 minutes..
   can anyone else see why its not working? I’m running it on the homepage of blog
   on a network wordpress site:
 * [http://pastebin.com/btAgVp1Z](http://pastebin.com/btAgVp1Z)
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years ago](https://wordpress.org/support/topic/wp_query-not-working-on-indexphp/#post-2207262)
 * > its not working?
 * what exactly are you expecting, and what is the result of this query?
 * maybe you are missing additional parameters?
 * (does work to my expectations in a twenty eleven test setup.)
 *  Thread Starter [gbrown88](https://wordpress.org/support/users/gbrown88/)
 * (@gbrown88)
 * [15 years ago](https://wordpress.org/support/topic/wp_query-not-working-on-indexphp/#post-2207268)
 * Just figured out the problem, had a global filter at the top of the header.php
   that was used in previous theme.. knew everything looked right.
 * Thanks for looking into it though!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘WP_Query Not Working on index.php’ is closed to new replies.

## Tags

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

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 2 replies
 * 2 participants
 * Last reply from: [gbrown88](https://wordpress.org/support/users/gbrown88/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/wp_query-not-working-on-indexphp/#post-2207268)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
