Created
June 8, 2012 16:18
-
-
Save DrewAPicture/2896578 to your computer and use it in GitHub Desktop.
Display unfiltered events content on single
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
if ( is_single() && in_category( 'recent-events' ) ) { | |
$content = get_the_content(); | |
echo $content; | |
} else { | |
// Main loop content goes here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment