There was me thinking that a blog was a “real” website, just that it is easier to maintain and grow one using a blog platform than it is making static pages.
But if you started with a blog and want to have the front page of your site static, Angela Booth points to the instructions to make a static home page in a WordPress blog.
However, if you’re using Blogger - with the old classic template or your own design based on that system rather than the new Layouts - doing this is also simple, using conditional tags. Note that you’ll need to have post pages enabled in order to make this feature work.
In this case, you would merely need to type your HTML formatted static content for the front page, into the position where you want it to appear, between these tags:
<MainPage> </MainPage>
The dynamic code for the blog posts would then need to be included in the template twice (different versions in each case, if you wish), between the conditional tags for:
<ItemPage> </ItemPage>
and
<ArchivePage> </ArchivePage>
(Note: this wouldn’t work with the new Blogger layouts system, because, although there is a conditional function, it is limited to “Item” (equivalent of ItemPage) or “else”, which is therefore equivalent of the old conditional tag for <MainOrArchivePage> </MainOrArchivePage> - meaning that your static content would also show up on archive pages, meaning you wouldn’t have archives, which is not great. To understand the logic of this, compare it to the instructions given for post summaries.)


If you found something you like here, why not subscribe?










