Support » Theme: Leaf » Sidebar for front page not showing

  • Resolved wigglebutt


    Hi Brad,

    I’m trying to have a different sidebar on the front page as on the other pages. I have populated the ‘homepage sidebar’ with a subset of widgets that is on the main sidebar, however my main sidebar keeps showing up on the front page.

    my skeleton site:

    I have downloaded a plugin that allows me to remove plugins from the sidebar depending on what page I’m on, so I know I can do that… it would just be cleaner (I think) for me to just use the homepage sidebar if I can.

    Do I need to do anything to activate that bar somehow?

    Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Theme Author bradthomas127


    Hi Julia, I need to fix that in the sidebar description, The Home Page sidebar only works on the default Home Page with the slider. You would need to use a plugin.

    Ok. No problem. I think I’m just too literal.

    Thank you, Brad.

    I was confused by that too, even though it says “default” now. I found that it only works when you have “Your latest Posts” set as the home page in your reading settings, not when you have a static page set as your home page. Other than that I like this theme a lot so far.

    Hacked it. In my child theme, in page.php I replaced
    <?php get_sidebar(); ?>


    <?php // conditional home page sidebar
    if (is_front_page() && is_active_sidebar( 'sidebar-home' ) ) :
    			get_sidebar( 'home' );

    …because I think it will be more confusing to other users besides me to use a plugin for a separate non-default home page sidebar. I’d rather fix it this way than explain it to everybody.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar for front page not showing’ is closed to new replies.