WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] "Page Template" Not Showing Up In "Write Page" (6 posts)

  1. JerryZ
    Member
    Posted 6 years ago #

    Beginner WordPress person looking to add an Amazon A Store To my Blog
    http://www.jerryzigmont.com/blog/

    I have created a template page using these directions
    http://build.your.own.astore.tutorial.googlepages.com/wordpress.tutorial
    and have uploaded a file called astore.php into my current theme directory.

    If I go to the Write Page - no selection for Page Template is present.

    Any help is really appreciated.

  2. moshu
    Member
    Posted 6 years ago #

    For that option to show up you need to have in your theme directory at least two (2) Page templates: the default page.php AND another one.

  3. JerryZ
    Member
    Posted 6 years ago #

    It's there-

    Theme is DarkChoco - see pic

    http://myskitch.com/jerry_zigmont/jerry_zigmont-20071104-100352/

  4. moshu
    Member
    Posted 6 years ago #

    Make sure you have the necessary code at the top of your custom Page template:
    http://codex.wordpress.org/Pages#Creating_your_own_Page_Templates
    (and no typos)

  5. JerryZ
    Member
    Posted 6 years ago #

    Here is what I have:

    <?php
    /*
    Template Name: Amazon aStore
    */
    ?>
    <iframe src="http://astore.amazon.com/jerryzigmontblog-20" width="90%" height="4000" frameborder="0" scrolling="no"></iframe>
    <?php get_footer(); ?>

  6. JerryZ
    Member
    Posted 6 years ago #

    O.K., here is what was wrong. I had my ftp program copy my page.php file remotely and then I renamed and pasted remotely. For some reason, this did not work (permissions were fine).

    I created a new php document with the above code, saved it locally and the uploaded to the ftp site.

    Worked fine!

Topic Closed

This topic has been closed to new replies.

About this Topic