if ( is_front_page() && is_home() ){ // Default homepage } elseif ( is_front_page()){ //Static homepage } elseif ( is_home()){ //Blog page } else { //everything else }

Hello world!

Welcome to WordPress. This is your first post. Edit or delete it, then start blogging!