Created
May 23, 2017 21:27
-
-
Save jpgninja/92e3c25a70e0b5cfc27ce412dd10f301 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
/** | |
* Is blog page | |
* | |
*/ | |
function is_blog() { | |
return ( (is_archive()) || (is_author()) || (is_category()) || (is_home()) || (is_single()) || (is_tag()) ) ? true : false ; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment