WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Widget Logic conditional tags (3 posts)

  1. haussamen
    Member
    Posted 4 years ago #

    Hi,

    I'm looking to put some widgets on every page on my site except the home page. Is there a way to use conditional tags to that effect? Like, is there some code for "everything except is_home()"?

    I realize I can just use every other conditional tag on the widgets I want to appear everywhere but the home page, but that seems cumbersome.

  2. Justin Tadlock
    Member
    Posted 4 years ago #

    Use:

    !is_home()
  3. haussamen
    Member
    Posted 4 years ago #

    Awesome. Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic