• I am trying to create custom pages for my template. I know how to create a page in the admin area and then tell wordpress to use the custom theme then just create the page in the admin area and edit it using wordpress. But what I want to know is how I can make the page like you would any regular html page. like make a new file called services.php and include the header, sidebar and footer and then design the page normally. I have been trying but when I try to include the header, sidebar, and footer like this

    <?php get_header(); ?>

    I get errors. It doesn’t work and I don’t know why. can anyone shead any light on this?

Viewing 1 replies (of 1 total)
  • Thread Starter cybershot

    (@cybershot)

    well i found the answer. I created a new file. named it what I wanted to name it then added this code to the top

    <?php
    /*
    Template Name: services
    */
    ?>

    place my code for the page here. Then went into the admin area, created a new page and made sure to select the services under the page template option.

Viewing 1 replies (of 1 total)
  • The topic ‘custom pages’ is closed to new replies.