WordPress.org

Ready to get started?Download WordPress

Forums

finding what page you are on.. (2 posts)

  1. vasik
    Member
    Posted 7 years ago #

    OK... I wanted to have something show up in the sidebar if you were on the "about" page... I named the page "about".. tossed this code into the sidebar
    <?php if (is_page('about')){?>

    //THE STUFF THAT SHOWED UP

    <?php } ?>

    Now, I wanted to do the same thing, but with the homepage of my blog.. help! thanks!

    PS: using Tarski 1.1.1

  2. muelheim
    Member
    Posted 7 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags