WordPress.org

Ready to get started?Download WordPress

Forums

Will is_home() be fixed next version? (2 posts)

  1. freesoft
    Member
    Posted 7 years ago #

    Right now it returns true on the blog even if you homepage isn't your blog.

  2. mstegink
    Member
    Posted 7 years ago #

    The is_home function returns true for the ‘blog’ home page but, intentionally and correctly, not the ’static’ front page. I made a plugin that gives you the is_frontpage function which returns true if you’re at the frontpage you set, otherwise it returns false. http://www.bos89.nl/1197/

    For background info check this: http://trac.wordpress.org/ticket/3682

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags