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

---

# Custom Template Post

 *  [glfoster](https://wordpress.org/support/users/glfoster/)
 * (@glfoster)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/custom-template-post/)
 * Hello,
 * 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 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.
 *  I can’t work out the background coding for the parameters. Hope it all makes
   sense.

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

 *  [campatsky](https://wordpress.org/support/users/campatsky/)
 * (@campatsky)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/custom-template-post/#post-4703879)
 * If you need help in setting up a custom template here is a two step process.
 * Step 1: At the top of a file that you would like to be the template simply put–
   ‘
   <?php /* Template Name: (Your Template Page Name goes here) */
 * (your code for the template page)
 * ?>’
 * Then save the file in your primary theme directory.
 * Step 2: Go into wordpress and go into the page you would like to assign this 
   template to. On right hand side you will see a Page Attributes sidebar/widget.
   Under Template, select the one you just created.
 *  Thread Starter [glfoster](https://wordpress.org/support/users/glfoster/)
 * (@glfoster)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/custom-template-post/#post-4703990)
 * Thank you for the speedy response Campatsky.
 * The information is fantastic, however its not exactly what I am after. I should
   of made it more clear.
 * The code I’m after is to build the custom template. The code I require is for
   the background image and the title in a div.
 * Thank You

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

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

## Tags

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

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

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
