Created
July 13, 2012 20:19
-
-
Save adapicom/3107180 to your computer and use it in GitHub Desktop.
Simple Wordpress PHP If Else for Posts and Pages by ID
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 (is_single('11')) { ?> | |
<!-- put code here --> | |
<?php } else { ?> | |
<!-- put code here --> | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment