Created
September 9, 2015 06:13
-
-
Save SirDarcanos/1adf9e6abac4b0513fa0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ( is_front_page() && is_home() ) { | |
// Default homepage | |
} elseif ( is_front_page() ) { | |
// static homepage | |
} elseif ( is_home() ) { | |
// blog page | |
} else { | |
//everything else | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment