WordPress.org

Support

Support » How-To and Troubleshooting » finding what page you are on..

finding what page you are on..

  • 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

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘finding what page you are on..’ is closed to new replies.