Last active
December 18, 2015 01:49
-
-
Save studiopress/5706829 to your computer and use it in GitHub Desktop.
Genesis post formats.
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Add support for post format images | |
add_theme_support( 'genesis-post-format-images' ); |
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 | |
//* Do NOT include the opening php tag shown above. Copy the code shown below. | |
//* Add support for post formats | |
add_theme_support( 'post-formats', array( | |
'aside', | |
'audio', | |
'chat', | |
'gallery', | |
'image', | |
'link', | |
'quote', | |
'status', | |
'video' | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment