Determine if you are on the Static Posts page in WordPress

When using the Static Home Page option (and thus Static Home Page ) in WordPress, there are ways to check whether you are on the home static page, or the designated posts page.

Static Front Page

// If the current page is the blog posts index,
// but is NOT the site front page
if ( is_home() && is_front_page() ) {
    // do something
}

Continue reading Determine if you are on the Static Posts page in WordPress