Created
July 13, 2013 23:21
-
-
Save theodorocaliari/5992570 to your computer and use it in GitHub Desktop.
Conditional for WordPress posts page
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_home('page_name_defined_in_settings_reading_wp_admin_menu') ) | |
{ | |
// code | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment