Title: Posts Page getting wrong custom template
Last modified: August 19, 2016

---

# Posts Page getting wrong custom template

 *  Resolved [piratepaul](https://wordpress.org/support/users/piratepaul/)
 * (@piratepaul)
 * [18 years ago](https://wordpress.org/support/topic/posts-page-getting-wrong-custom-template/)
 * Ok, so this is my first time using WP as a CMS and blog platform in the same 
   install.
 * My problem relates to using templates, and is this:
 * I created 3 templates within my theme (one for the home page, one for the posts
   page, and one for everything else) everything works fine except that the posts
   page seems to want to use a template that I have not assigned to it.
 * The templates display fine in the drop down from the Write Page page.(as far 
   as I can tell, I used the standard method of creating custom templates
 * <?php
    /*
 * Template Name: postspage
 * */
    ?> )
 * The problem persists even when I change the posts page. basically, I can’t seem
   to assign a custom template to the page with the posts, the custom template doesn’t“
   stick”!
 * The site can be viewed here:
    [http://realestateauctioncourse.com/](http://realestateauctioncourse.com/)
 * Thank you so much for any help
 * Paul

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [acurran](https://wordpress.org/support/users/acurran/)
 * (@acurran)
 * [18 years ago](https://wordpress.org/support/topic/posts-page-getting-wrong-custom-template/#post-790186)
 * Same problem here. In my case it worked at first. Then I moved the site to another
   server/domain name and upgraded to WP2.5 and now template wont stick for the 
   posts page. I’ve checked all settings over & over again but can’t find the problem.
 *  [jonimueller](https://wordpress.org/support/users/jonimueller/)
 * (@jonimueller)
 * [18 years ago](https://wordpress.org/support/topic/posts-page-getting-wrong-custom-template/#post-790188)
 * Did you want the custom template to be your front page (where all the posts are
   listed in chrono order? If so, you need to edit your `index.php` file. If you
   want them on single posts, edit your `single.php` file, on archive posts, `archive.
   php` and so forth. You created a Page template, not a custom post template. Pages
   lie OUTSIDE post hierarchy so that’s why the custom page template wasn’t being
   applied. Does this make sense?
 * You can use conditional statements to make things look just about any way you
   want. Read about those here:
    [http://codex.wordpress.org/Conditional_Tags](http://codex.wordpress.org/Conditional_Tags)
 *  [acurran](https://wordpress.org/support/users/acurran/)
 * (@acurran)
 * [18 years ago](https://wordpress.org/support/topic/posts-page-getting-wrong-custom-template/#post-790189)
 * I solved the problem on my site by removing the home.php template. Doing so allowed
   the custom template to take hold on the posts page.
 * B.t.w. I have WP setup as a CMS so front page is a WP page – no posts.
 * piratepaul – this may be the way you have it to – so try removing home.php (or
   you can rename it to a different name e.g. homepage.php)
 *  Thread Starter [piratepaul](https://wordpress.org/support/users/piratepaul/)
 * (@piratepaul)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/posts-page-getting-wrong-custom-template/#post-790229)
 * Wow, conditional tags seriously rock. Thats all I have to say!
    Thanks Joni.
 *  [Malin](https://wordpress.org/support/users/neostoric/)
 * (@neostoric)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/posts-page-getting-wrong-custom-template/#post-790247)
 * Thank you acurran!
    I have two “identical” sites, but two different languages.
   Couldn’t figure out why the swedish one worked and not the english. Of course
   my template was called home.php on the english site. I used swedsih for “home”
   on the one that worked and therefore it didn’t conflict.
 * I was just about to reinstall the whole english wp, when I found this thread.
   
   Thanks a lot!!!
 *  [Tzaddi](https://wordpress.org/support/users/zodzilla/)
 * (@zodzilla)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/posts-page-getting-wrong-custom-template/#post-790264)
 * The home.php issue messed me up a while back and I couldn’t figure out why. Now
   I realize it’s because home.php is a reserved name.
 * I just found this list of reserved template names, FYI
    [http://codex.wordpress.org/Theme_Development#Theme_Template_Files_List](http://codex.wordpress.org/Theme_Development#Theme_Template_Files_List)

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Posts Page getting wrong custom template’ is closed to new replies.

## Tags

 * [templates](https://wordpress.org/support/topic-tag/templates/)
 * [Themes](https://wordpress.org/support/topic-tag/themes/)

 * 6 replies
 * 5 participants
 * Last reply from: [Tzaddi](https://wordpress.org/support/users/zodzilla/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/posts-page-getting-wrong-custom-template/#post-790264)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
