WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] PHP Question (5 posts)

  1. davidbabylon
    Member
    Posted 8 years ago #

    I have very little experience with PHP. While tweaking my sidebar I noticed that certain sidebar items contained a php code that made them viewable on on a certain page.

    My question is what do I include in my siderbar item to have to show up on one specific page? Either the Blog/Main page or the About Me page, etc.

    Thanks.

  2. Beel
    Member
    Posted 8 years ago #

    Look up is_page() in the codex along with the rest of the conditional tags.

  3. davidbabylon
    Member
    Posted 8 years ago #

    I will Beel. Thanks.

  4. Beel
    Member
    Posted 8 years ago #

    I wasn't busy, so I looked for the link...
    http://codex.wordpress.org/Conditional_Tags

  5. davidbabylon
    Member
    Posted 8 years ago #

    Thanks again Beel!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags