• Hello,
    I am trying to create a page template for an events page. The layout is a table with 2 columns and 1 row. The left-side column is for a tall image of fixed dimensions and the right-side column is to have the following sections:
    Title
    Description
    Date

    What is the right way to do this? I would like the admin to NOT have to change the section headers and would prefer that it is only a 5 step process:
    1. Upload image (if possible validate the dimensions)
    2. Type the Title
    3. Type the Description
    4. Type the Date
    5. Save

    Any help appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • That’s require a lot of work, start from define post thumbnail image, see this Post_Thumbnails.

    I assumed you already have custom post type for event. Basically you need to do custom wordpress query for custom post types. See this for details WP_Query. After that you can use returned data like normal post. I’m sorry but I can’t explain more detail.

    Thread Starter plasticpeak

    (@plasticpeak)

    Thanks for the pointers, Amar.
    I am reading those URLs and searching for custom post types.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom page template for single image and fixed sections of text’ is closed to new replies.