Created
May 30, 2015 04:25
-
-
Save digisavvy/2a265d1b07e4743e4c92 to your computer and use it in GitHub Desktop.
This file contains 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 ( 'movie' == get_post_type() ) { | |
/* Custom code for 'movie' post type. */ | |
} elseif ( 'book' == get_post_type() ) { | |
/* Custom code for the 'book' post type. */ | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment