sage icon indicating copy to clipboard operation
sage copied to clipboard

Full width page, when set to "Front page" uses front page template

Open fredrick opened this issue 14 years ago • 3 comments

Is this a feature or a bug? (Broken) as of latest main branch.

fredrick avatar May 25 '12 19:05 fredrick

that's the wordpress template hierarchy

http://codex.wordpress.org/Template_Hierarchy

front-page.php will always be used no matter what if it exists and the site is set to use a static front page

retlehs avatar May 25 '12 19:05 retlehs

Thanks, I should have thought of that

fredrick avatar May 25 '12 19:05 fredrick

Ben, just touching on this a little further... well not exactly the same issue but i didn't want to create another "Issue" when it's not really an issue..

I am wondering, what edits would i need to make to remove the "Static" / "Front-page" option all together ? ive played around with the inc/activation.php i can only manage to make the "theme activation" page display the "Create Front Page" <--- set to selected as "No" but the value does not seem to stick.. is this due to the file front-page.php being in the template directory ? can i rename or delete this from the outset ? and or place a simple message in the "theme activation" page to advise people of the option to use a static page ?

Sorry not in font of my main PC atm.. will be able to test shortly.

Thanks again Ben for your great support.

Regards, Darren

expertpixels avatar May 29 '12 09:05 expertpixels