• When i go to new page, all i have are my attributes, custom fields, publish, discussion and content box areas….

    My template is uploaded in my current theme folder.

Viewing 12 replies - 1 through 12 (of 12 total)
  • Hi Ninas,

    You change your template on a gobal setting – not per page or post. Although this might be possible with a plugin? Anyone?

    Anyway in WP2.7 to change the template go to Appearance -> Themes

    You can then select your theme which will bring it up in a popup. Click the “Activate Theme” in the top right of this to activate your theme.

    If you template doesnt appear in the list you can scroll down a little on this page and it can sometimes tell you what is wrong.

    Roy

    Thread Starter ninas

    (@ninas)

    Oops, I guess I didn’t make that very clear.
    I’m trying to use a page template, to be specific, for this

    Ah right ??

    When editing a page go to Attributes -> Template

    Appears below the Publish section on the right hand side. These panels can be expanded and collapsed by clicking on their titles so you might have accidentally hidden it if you cant see the options.

    Roy

    Thread Starter ninas

    (@ninas)

    Screenshot
    Am I having eye problems…… ? I don’t see it.

    Sorry/thanks. ??

    How bizarre!

    Mine appears between “Parent” and “Order” saying

    “Template: Some themes have custom templates you can use for certain pages that might have additional features or custom layouts. If so, you’ll see them above.”

    And allows you to select from a drop down list of all the page templates in your theme directory

    I thought it might have been that the page template wasn’t working but it works fine on my site and appears in the list…

    Have you put the template in your current theme’s folder?

    “/wp-content/themes/YourTheme/”

    Roy

    Thread Starter ninas

    (@ninas)

    Hi, Roy. Yep, I know what you mean, I had that previously with another site when I used 2.6… And I’m positive I put the template in my current theme’s folder.

    Thread Starter ninas

    (@ninas)

    Anyone have the same problem? *tear*

    Sorry that I couldn’t be more help ninas but I’m seriously stumped!

    Good luck on this!

    Roy

    Thread Starter ninas

    (@ninas)

    Aha, no problem, thank you for trying! ??

    I added this at the top of my template and it is now possible to choose that template when editing pages:

    <?php
    /*
    Template Name: My template
    */
    ?>
    Thread Starter ninas

    (@ninas)

    ^Yeah, mine has that at the top too. -__-
    Thanks for the suggestion, though.

    K, I had the same problem and figured out how to fix it.

    I think it had to do with the fact that I renamed and totally re-wired the theme info at the top of my style.css AFTER I had already switched to it. What this did is somehow make the WP theme system think I was assigned to an invalid theme.

    To tell, go to Appearance > Editor. I got a short message that “Your theme is not valid” or something…

    All I did to fix was go to the theme chooser, re-choose my theme and it was all fine..

    good luck!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘How do I choose to use a template?’ is closed to new replies.