Categories
Uncategorized WordPress Development

is_front_page() && is_home() WordPress Default, Static and Blog Page

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

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

} elseif ( is_home()){

//Blog page

} else {

//everything else

}