Title: Why loop in single.php or page.php but doesn&#039;t do loop?
Last modified: August 20, 2016

---

# Why loop in single.php or page.php but doesn't do loop?

 *  [caijs](https://wordpress.org/support/users/caijs/)
 * (@caijs)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/why-loop-in-singlephp-or-pagephp-but-doesnt-do-loop/)
 * I have learnt a lot about WordPress,but this one still puzzled me and couldn’t
   find answer anywhere so far. The loop is used to show all posts and single.php
   and page.php show single post or Page content.I found many theme keep the loop
   in the single.php or page.php.php template how it works in showing a single Page
   or post?

The topic ‘Why loop in single.php or page.php but doesn't do loop?’ is closed to
new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [caijs](https://wordpress.org/support/users/caijs/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/why-loop-in-singlephp-or-pagephp-but-doesnt-do-loop/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
