WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] I want something to show in sidebar only if it is not on the homepage.. (3 posts)

  1. splosh
    Member
    Posted 8 years ago #

    Hi I hope this makes sense.. I want something to show in the sidebar only if it is not on the homepage. I can make it show no problem(by include it.php) .I expect I need to use an if/else command but what code do I type in so that it decides whether or not it is the homepage?..
    And sorry what is a codex and where can i find it?

  2. moshu
    Member
    Posted 8 years ago #

    Most likely you'll find an answer here Conditional_Tags

  3. splosh
    Member
    Posted 8 years ago #

    You are wonderful! 2 birds with 1 brief stone..thankyou!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.