crazyyy
4/28/2014 - 10:03 AM

WordPress: if home else if page else

WordPress: if home else if page else

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