Support » Themes and Templates » Custom page template

  • greypilgrim

    (@greypilgrim)


    I need some advice about how to proceed. I want to use the “Pages” feature of WordPress to create a series of web pages. I’m publishing a lengthy piece of fiction, actually, and I was thinking each chapter would be a page.

    My issue is that I want these pages, and only these pages, to have their own theme, header graphic, sidebar, and footer. Other pages and post would have the standard theme I use at my blog. How should I proceed?

    Do I create a page template that contains all the code for the page layout? Or do I create each file seperately (header.php, index.php, etc.) just as if I were designing my own theme?

    I’ve modified other people’s themes for my own use, so I’m not a complete novice (no formal training in PHP, however). And I’ve read the pages at the WordPress Codex on template files and page templates, but they don’t seem relevant to what I want to do.

    Of course I could always skip the PHP and just use Dreamweaver and create a seperate site. Does anyone recommend that?

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

    (@moshu)

    Whichever works better for you.
    And yes, if you want a Page template with a completely different look (header/graphic, colours etc.) then I am afraid you’ll have to create it almost as a separate theme.

    greypilgrim

    (@greypilgrim)

    That’s pretty tough for me, not having created a theme before. Are there any online guides to theme development? I already have a homemade header graphic I want to use, and a general outline for what it would look like. It will be simpler than a true theme. I don’t need much of a sidebar, basically just a search box and a list of the “pages” (chapters) for the work. Still, this may be beyond my skills.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom page template’ is closed to new replies.