Created
June 6, 2014 14:53
-
-
Save eslucky/65bff6a344d34e9b702f to your computer and use it in GitHub Desktop.
Pull Featured Image on Pages Only with Genesis Simple Hooks
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_page() ) { | |
genesis_image( | |
array( | |
'format' => 'html', | |
'size' => 'full', | |
'num' => 0, | |
'attr' => array( 'class' => 'feature' ) | |
) | |
); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment