Treehouse: Grow your CSS skills. Land your dream job.

How to make a standalone wordpress page?

  • # January 31, 2012 at 11:06 pm

    Hi I know how to make wordpress pages through the admin panel, but I am needing a bit more flexibility than the standard WYSIWYG editor. Can anyone tell me how to create a standalone page that integrates with the admin panel but is uploaded as a separate file using FTP to the web server.

    Or something similar.

    # February 1, 2012 at 2:16 am

    You can create a new template. Just make sure to have the following in the top of it:

    < ?php // Template Name: YOUR NAME HERE ?>

    Then when you create the page in the WordPress backend make sure to select your newly created template from the dropdown.

    # February 2, 2012 at 1:20 pm

    Ok thanks.

    # February 2, 2012 at 1:36 pm

    Where do I put the template file?

    In which folder does it go?

    # February 2, 2012 at 1:51 pm

    In the theme folder. Then “Add new page” and your templates will load under “page attributes – templates”.

    # February 2, 2012 at 2:34 pm

    Will it include the header and footer?

    # February 2, 2012 at 3:27 pm

    When you create your new template, it’ll need to be just like page.php, so you’ll need to include the header, footer, sidebar, etc.

    # February 3, 2012 at 12:58 am

    Ok thanks.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.