We ran into a little issue that took us longer than we had hoped to figure it out so we thought we’d share the solution as many blogs out there discuss the issue but don’t clearly explain how to resolve it (perhaps because there are multiple issues involved).
This is an issue with WordPress 3.0.1 and perhaps some earlier versions as well. Basically, there is no drop-down menu allowing you to select a page template that you have created when you are working with a non-active theme and a theme selector plugin.
1. First, create a page template by creating a file like so:
<?php /* Template Name: YourPageTemplateName */ ?> <?php /* Your Page Template Code */ ?>
2. After you’ve created your file, you need to save the file in the theme folder of your currently ACTIVE theme. For example: /wp-content/your-active-theme/yourpagetemplate.php
3. Also upload the same file to the theme that you are working with (If this is different than the active theme). For example: /wp-content/my-design-theme/yourpagetemplate.php
4. Disable any theme selector plugin you have. This is a temporary but important step.
5. Go to your ‘Pages’ section and see if the theme selector drop-down menu has appeared. If not, you will need to do step 6 as well.
6. Activate a different theme (such as the default WordPress theme). Then re-active the original theme.
7. The drop down menu should now appear on the theme editor page. Assign the theme you want to the current page.
That should be it… or at least that worked for us!
Remember, once you assign a page template to a page, make sure you have a copy of that page template in the theme that uses it otherwise it will use the default page.php theme.
Another thing to note – Once you activate your theme selector plugin again, there’s a good chance the page template selector will disappear. So make sure you’ve assigned all of your pages to the page templates you want first otherwise you’ll need to do the above steps again. Good luck and happy WordPressing!