Support » Fixing WordPress » Links.php for 2.3?

  • Resolved jinxi

    (@jinxi)


    I am trying to make a links.php and archivepage.php for my theme on 2.3. I noticed that the page template dropdown was missing from my page-new.php. Am I perhaps missing a file? Should I be able to change my page template via dropdown like in 2.2? I wasn’t able to find the answer in the codex and tried to search for a clue, but came up empty.

    I’m sorry if I’m not clear. Examples of the pages I want to make for 2.3 are a links page and archives page.

    Thanks for any help you can give me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • There should be no change to how the Page Template process works in 2.3.

    Please remember for a template to be allowed in the Page Template box of Write->Page the template file (in wp-content/themes/yourtheme folder) must have the following structure at the top of the file:

    <?php
    /*
    Template Name: yourpage
    */
    ?>
    Thread Starter jinxi

    (@jinxi)

    Thanks! I changed the heading on my archives php and a drop down menu appeared. 🙂 I didn’t notice that before. Boy, I feel simple now.

    The code I copied from the old theme didn’t have the templates header at the top of archivepage.php. I don’t know who it worked for 2.2, but it did.

    Thanks again for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Links.php for 2.3?’ is closed to new replies.