Title: Insert static images into loop
Last modified: August 22, 2016

---

# Insert static images into loop

 *  [rmdiaconu](https://wordpress.org/support/users/rmdiaconu/)
 * (@rmdiaconu)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/insert-static-images-into-loop/)
 * Hi guys.
 * I’m working on a theme based on _s and Foundation and I want the front-page to
   look something like this:
 * post1 | static image | post 2 | static image
    post3 | static image | post 4 |
   static image . . post9 | static image | post 10 | static image
 * My question is if something like this is possible. For the static image section
   I’ll place a php code that will display a random picture from 10 given.
 * Thank you

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/insert-static-images-into-loop/#post-5516693)
 * possible;
 * are you aiming at editing the loop in the theme’s front page template or are 
   you trying to achieve this with a function (added via filter or action) or plugin?
 * or is the question about the formatting in two columns?
 * what have you done so far?
 *  Thread Starter [rmdiaconu](https://wordpress.org/support/users/rmdiaconu/)
 * (@rmdiaconu)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/insert-static-images-into-loop/#post-5516694)
 * I’ve tried editing the loop in theme’s front-page template and didn’t worked 
   at all.
 * I’ve split the loop in 2 columns and at the end of each one I’ve added the static
   image code.

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

The topic ‘Insert static images into loop’ is closed to new replies.

## Tags

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

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 2 replies
 * 2 participants
 * Last reply from: [rmdiaconu](https://wordpress.org/support/users/rmdiaconu/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/insert-static-images-into-loop/#post-5516694)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
