It seems wherever I place a file I want to use as a template, it won't show up in the dropdown box when composing a page. Anyone have any ideas whats up? Or, where should I put these pages, what directory?
It seems wherever I place a file I want to use as a template, it won't show up in the dropdown box when composing a page. Anyone have any ideas whats up? Or, where should I put these pages, what directory?
It should be in your theme's directory.
Do you have a (default) page.php template in your theme?
To get the dropdown menu for Page templates in the Write Page area, you need to have
a) the default page.php template
b) AND another template
what version of WP are you using?
Moshu, how would I make "another template." I put a .php file in the same directory, but it's not showing up.
miklb, I'm using WP 2.0, with K2 as the theme.
I had a problem with permissions on my page templates in 2.0, try chmod your files to a higher permission level and see if they show up.
You are using the header for a custom page template, yes?
1. The official support site for K2 is this:
http://flickr.com/groups/binarybonsai/
Sorry.
actually, the NEW official K2 support is at http://www.binarybonsai.com/forums/
Well, those who are using it should know better than me ;)
The thing is, I tried this on my other domain, with WP2, without K2, just the default Kubrick, and it still won't show up :(
I bumped up it's permissions to 755 through just properties via FTP. What is chmod? Sorry if that sounds lame, but I've never quite known what that meant.
chmod is the terminal language to change permissions.
Regardless, try 777 and see if they show up. you didn't answer the question regarding whether or not you are using the correct header for a page template.
Permissions are practically the same as chmod.
Set permission to XXX = chmod XXX.
For the default Page template just save your index.php as page.php
For creating Page templates, see:
http://codex.wordpress.org/Pages#Page_Templates
"you didn't answer the question regarding whether or not you are using the correct header for a page template."
Aaaaaaaahhhhh.
See, I'm such a newb I didn't even know you needed that. It works now, thanks so much for your patience with me.
what worked?
Just adding in the <?php /*
Template Name: name
*/ ?>
Was that simple!
This topic has been closed to new replies.