Title: importing post loop into custom template
Last modified: September 1, 2016

---

# importing post loop into custom template

 *  [Divine Registry](https://wordpress.org/support/users/gameuditor/)
 * (@gameuditor)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/importing-post-loop-into-custom-template/)
 * Hi guys – I’ve [just redone my home page](http://gameauditor.com/) and I want
   to load a loop of my posts into a div block on the right hand side of the page(
   [in this red box](http://gameauditor.com/redbox.jpg)).
 * I’ve tried pasting a PHP loop directly into the div box which is obviously not
   an intended function of the editor. I’m assuming I need to set up an include 
   and feed it in or add a function to functions.php so I’m looking for a plan of
   attack unless there are better ways or suggestions. Maybe there’s a plugin that
   does this? I just want to output titles from my news page (blog) inside a customized
   div box that link off to the actual post.
 * I’m using the Lumen theme – I love the lookout but it has some frustrating limitations
   and I’ve had negative customer experience from a support point of view so I need
   to sort this out myself.

Viewing 1 replies (of 1 total)

 *  [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * (@themesumo)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/importing-post-loop-into-custom-template/#post-7684978)
 * I would advise that you install and activate a [Child Theme](https://codex.wordpress.org/Child_Themes),
   it allows for easier theme modifications and preserves your custom code should
   you update the main theme in the future.
 * I **advise against** using the built-in Editor when dealing with PHP code.
 * Hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘importing post loop into custom template’ 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/)
 * 1 reply
 * 2 participants
 * Last reply from: [ThemeSumo](https://wordpress.org/support/users/themesumo/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/importing-post-loop-into-custom-template/#post-7684978)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
