Front Page and Content Pages
Permalink
Sorry if this has been asked to death, but I couldn't find this exact question with my searches.
The gist is this, my front page has it's own look and all the content pages have their own look. Of course the front page is just one page and the content pages are many, so I went ahead and made my default.php theme my content look.
How do I go about creating a separate 'theme' or whatever for my frontpage? I saw the "Single Pages" area in the Dashboard, but that doesn't look intended for front pages from what I can see.
Also, if I apply a new theme or changes to my current theme, how do I prevent it from overwriting my frontpage theme but still write to all of my content pages? It seems there is only an "apply this theme to ever page on your site" option, but I would want that to be the case for every page but my front page.
Hope this makes sense!
The gist is this, my front page has it's own look and all the content pages have their own look. Of course the front page is just one page and the content pages are many, so I went ahead and made my default.php theme my content look.
How do I go about creating a separate 'theme' or whatever for my frontpage? I saw the "Single Pages" area in the Dashboard, but that doesn't look intended for front pages from what I can see.
Also, if I apply a new theme or changes to my current theme, how do I prevent it from overwriting my frontpage theme but still write to all of my content pages? It seems there is only an "apply this theme to ever page on your site" option, but I would want that to be the case for every page but my front page.
Hope this makes sense!
You can make a copy of the default page and name it front-page.php.
Make the design changes in the file that differs from the content pages.
Then go to Page Types in the dashboard. And add that page type.
Make sure that the "Handle" is the same name as the file you created. "front-page" in this case.
Then when in edit mode. Just choose that new page type in the "design" option.
For the second question.
In dashboard Page types. Look for the "Defaults" button for the page type.
Edit that page and add the blocks you want to be in all the pages.
When the block is there. Look at the "Set up on child pages" option to apply the changes to already created pages with that page type.
I hope I understood your questions.
Regards
olle