public
Last active

Genesis post formats.

  • Download Gist
functions.php
PHP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<?php
//* Do NOT include the opening php tag
 
//* Add support for post format images
add_theme_support( 'genesis-post-format-images' );
 
//* Add support for post formats
add_theme_support( 'post-formats', array(
'aside',
'audio',
'chat',
'gallery',
'image',
'link',
'quote',
'status',
'video'
) );

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.