WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sidebar on HomePage + Sticky (2 posts)

  1. dustinarmstrong
    Member
    Posted 4 years ago #

    posthuman.dustinarmstrong.com

    Byy default the sidebar doesn't show on the home page. The problem is that when I add a sticky to appear on the home page (as an updating news section for the site), it forces the sidebar to appear again, disregarding the command to hide it.

    Any ideas on how to make it go away?

  2. dustinarmstrong
    Member
    Posted 4 years ago #

    is_front_page was failing to function after blog content was being pulled onto the home.

    is_home worked fine for leaving it elsewhere on the site.

    Makes no sense though, because it requires the inverse of what it should.

    <?php if (is_home()) {
    get_sidebar();
    } ?>

    It is now also making my about page show up like my blog page.

Topic Closed

This topic has been closed to new replies.

About this Topic