Custom Template Post (3 posts)

  1. glfoster
    Posted 2 years ago #


    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.

  2. campatsky
    Posted 2 years ago #

    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 -
    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.

  3. glfoster
    Posted 2 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic