if ( is_front_page() && is_home() ) {
 // Default homepage

} elseif ( is_front_page()){
 //Static homepage

} elseif ( is_home()){

//Blog page

} else {

//everything else

}

LEAVE A REPLY

Please enter your comment!
Please enter your name here