Title: PHP WordPress Loop Fix
Last modified: August 20, 2016

---

# PHP WordPress Loop Fix

 *  Resolved [crod310](https://wordpress.org/support/users/crod310/)
 * (@crod310)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/php-wordpress-loop-fix/)
 * I have two static pages, one for index and another for my posts.
 * They both are calling two template files, index.php and news.php
 * They both are calling each file separately, index-loop.php and news-loop.php
 * However, they I can’t figure out why my news.php calling news-loop.php page isn’t
   properly calling all posts and showing the sidebar.
 * I need someone to take a look at news.php calling news-loop.php and tell me why
   it is not calling all posts and why it is not showing the sidebar widgets.

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

 *  Thread Starter [crod310](https://wordpress.org/support/users/crod310/)
 * (@crod310)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/php-wordpress-loop-fix/#post-2509161)
 * this is the news-loop:
    ———————————————————————
 * _[[code moderated – please use the pastebin for any code longer than 10 lines](http://codex.wordpress.org/Forum_Welcome#Posting_Code)]_
 *  Thread Starter [crod310](https://wordpress.org/support/users/crod310/)
 * (@crod310)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/php-wordpress-loop-fix/#post-2509163)
 * heres the website where its acting up
 * [http://www.maritzalive.com/new/news/](http://www.maritzalive.com/new/news/)

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

The topic ‘PHP WordPress Loop Fix’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 1 participant
 * Last reply from: [crod310](https://wordpress.org/support/users/crod310/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/php-wordpress-loop-fix/#post-2509163)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
