Forums

[resolved] Problem with custom page template - not showing up on posts (3 posts)

  1. kitsunesniper
    Member
    Posted 4 years ago #

    Okay, so according to this page:

    http://codex.wordpress.org/Pages#Page_Templates

    I can create custom templates for Pages. I quote,

    Toward the bottom of the Write->Write Page administration panel (or on the sidebar, depending on which version of WordPress you are using) is a drop-down labeled "Page Template". From there you can select which Template will be used when displaying this particular Page.

    I created a custom php page, added the template name, and copied the contents of the default entry page (for testing and editing purposes), and it doesn't show up when I try to write a page. All I get (other than the main entry editor) is Discussion, Status, Password, Parent, Slug, Author, Upload, and Custom. I'm guessing the template option is disabled for some reason, but I couldn't find a way to activate it.

    Unless it's right there and I don't know what to do.

    I uploaded the custom Page php to my theme folder - or should I upload it somewhere else?

    Any help? Thanks!

  2. moshu
    Member
    Posted 4 years ago #

    The option will not show up until you have at least 2 (two) Page templates: the default page.php AND another one.

  3. kitsunesniper
    Member
    Posted 4 years ago #

    That did it. Thanks.

Topic Closed

This topic has been closed to new replies.

About this Topic