-1

I have tried changing the template of the attached page and changing which page is attached as the home page, no effect for either. The front page remains the same. I am at my wits end with this one!!

2
  • what's a attached page? Jan 12, 2011 at 16:52
  • It is not a community term. I simply mean the page assigned to being the front page, as I explain later in the same sentence. I am unaware of another term.
    – Mild Fuzz
    Jan 12, 2011 at 17:07

2 Answers 2

1

What is your setup for front page in Settings > Reading ?

Do you have front-page.php template in your theme? It will pretty much override anything, no matter what you choose in settings.

2
  • you truly are a paragon of acuity and a credit to the community.
    – Mild Fuzz
    Jan 12, 2011 at 17:04
  • BTW, the front-page.php was the problem ;)
    – Mild Fuzz
    Jan 12, 2011 at 17:05
0

ok, the question is from 9 years ago but the answer is still valid:

function custom_template () {
     return locate_template ('page_custom.php', false);
}
add_filter ('frontpage_template', 'custom_template');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.