Add a front-page.php.
Closed this issue · 5 comments
Is Wonderflux location aware for "front-page" instead of just "-home"? I am wanting to make a template that shows on the home page whether it is a post page or a static page.
Yes, Wonderflux adheres to WordPress theme standards in almost all aspects.
OK, loop-content-front-page.php
did not seem to be working, maybe I need to try again. I was just wondering if it was because there is no front-page.php
in Wonderflux.
Ah - you'll need to name the file loop-content-home.php
, rather than loop-content-front-page.php
;)
Also, you can duplicate page.php
from the Wonderflux directory into your child theme and re-name it home.php
or front-page.php
if you really need to advanced stuff - but in almost ALL instances you'd be best to use loop-content-home.php
OK. I can probably do that. The reason I was wanting a loop-content-front-page.php
is because in my understanding, home.php
is used on the posts page and not on a static home page, while front-page.php
is always used on the home page, whether it is static or not.