WordPress.org

Ready to get started?Download WordPress

Forums

is_home() doesn't act like (i think) it should (1 post)

  1. yorokobi
    Member
    Posted 7 years ago #

    Seems that if you use is_home() in a conditional statement, and your "homepage" is set under options to a static page, it returns 'false'.

    Not a big deal, as you can use is_page('title of homepage') as a substitute, but I thought it odd and that perhaps it was over looked when the "static homepage" option was added a couple of revs ago.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.