Title: Custom Post Layout
Last modified: August 21, 2016

---

# Custom Post Layout

 *  [glfoster](https://wordpress.org/support/users/glfoster/)
 * (@glfoster)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-post-layout-1/)
 * I need help in setting up a custom template.
 * I’m currently creating a site that enables users to upload an image with a limited
   amount of text. Once the image and title have been submitted, it will be saved
   as a post.
 * Once they have been submitted. They will go to gallery.
 * Now this is the piece of the puzzle I can’t code/figure out.
 * On selected pages, I want a randomised post that has a image big enough to fill
   the screen to appear as a background image and the title (which is the limited
   amount of text) to appear in a div I specify.
 * The problem I having is applying the php code to the background div and then 
   separating the title into another div.
 * Hope it all makes sense.
 * A point in the right direction would be plenty

The topic ‘Custom Post Layout’ is closed to new replies.

## Tags

 * [custom](https://wordpress.org/support/topic-tag/custom/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [php](https://wordpress.org/support/topic-tag/php/)
 * [post](https://wordpress.org/support/topic-tag/post/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [glfoster](https://wordpress.org/support/users/glfoster/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/custom-post-layout-1/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
