Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • 19
    Exactly. I differentiate as follows: is_front_page() returns true when viewing the Site Front Page (whether displaying the blog posts index or a static page), while is_home() returns true when viewing the Blog Posts Index (whether displayed on the front page or on a static page). Commented Oct 6, 2011 at 11:40
  • 1
    Perhaps time for an alias e.g. is_post_index or something? Another ridiculous example of WP's obsessive backwards compatibility actually hurting usability. Commented Jan 30, 2023 at 10:08