Title: The loop?
Last modified: August 18, 2016

---

# The loop?

 *  [falke](https://wordpress.org/support/users/falke/)
 * (@falke)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/the-loop-2/)
 * What file includes “the loop”?
 * I need to find it to insert the following:
    previous_cat_post(); next_cat_post();
 * to enable other posts in the same categorie
 * regards/falke

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

 *  [yosemite](https://wordpress.org/support/users/yosemite/)
 * (@yosemite)
 * [19 years, 10 months ago](https://wordpress.org/support/topic/the-loop-2/#post-429990)
 * “The Loop should be placed in index.php and in any other Templates used to display
   post information”
    [http://codex.wordpress.org/The_Loop](http://codex.wordpress.org/The_Loop)
 *  [GLHQ](https://wordpress.org/support/users/glhq/)
 * (@glhq)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/the-loop-2/#post-430274)
 * The Codex isn’t clear on exactly which index.php file contains the loop. It is
   in /wp-content/themes/[themename] where [themename] is the name of the theme 
   you are using.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [19 years, 8 months ago](https://wordpress.org/support/topic/the-loop-2/#post-430275)
 * Actually, it is clear: “…and in any other Templates…”.
    The template files are**
   always** in the theme directory.

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

The topic ‘The loop?’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 4 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [19 years, 8 months ago](https://wordpress.org/support/topic/the-loop-2/#post-430275)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
