[resolved] Widgets not showing on front page (3 posts)

  1. JulianRichards
    Posted 2 years ago #

    I'm wondering why no widgets are showing up on the front page of http://julian-richards.co.uk/almostnot/. They appear on individual post pages. This blog doesn't have any pages, but the theme (a customised version of Twenty Twelve) does have a widget-free front page template (used in sibling site http://julian-richards.co.uk/).

    Any suggestions as to how I can fix this?

  2. JulianRichards
    Posted 2 years ago #

    I should add that widgets show up fine on the front page of another blog of mine (http://julian-richards.co.uk/old-work/) that uses the same child theme of Twenty Twelve. This blog, though, is part of a site with several pages. Somehow this seems to make a difference.

  3. JulianRichards
    Posted 2 years ago #

    Problem solved! My second post above was wrong - it was my child theme's front page template that was causing the problem. It turns out that if your theme has a front page template in it and your site is a simple blog, and therefore has no pages, it will automatically use the front page template on the front page. I just had to rename the child theme front page template template file (I put my initials at the front) and then the front page I was trying to fix simply used the standard Twenty Twelve layout (which includes widgets).

    On the site where I did want to use my custom layout, clever WordPress continued to recognise the template I wanted to use, despite the changed file name.

Topic Closed

This topic has been closed to new replies.

About this Topic