Reputation: 1785
I have a page template set up as the front page but it's not loading for some reason. I've done this plenty of times in the past just fine.
I should be getting a body class of "portfolio-page-template" but rather I just get the regular "page-template".
I've tried resetting the permalinks, deleting/recreating the Portfolio page, changing back to the default theme and changing back, and still no dice.
Anybody know of a fix?
Upvotes: 1
Views: 2324
Reputation: 3519
Had a similar problem, and while it’s not an eloquent solution but when my working home page template started defaulting to my taxonomy.php
template without reason, I tried all of the things you mention and then:
.htacces
and refreshed the permalinkspage-template-home.php
againvery strange.
If this is not your issue, I can give you a few pointers on what to check for when setting up a custom page template, and what to check for if it fails.
Upvotes: 0
Reputation: 782
Need more info. Did you save it as home.php did you override it in the settings? http://img.lajlev.dk/5a842c1e3dc470468c322af0fe79c004.png
Upvotes: 0