Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
WordPress Gallery Post Format
function ramoonus_gallery_post_format() {
add_theme_support( 'post-formats', array( 'gallery' ) );
}
add_action( 'after_setup_theme', 'ramoonus_gallery_post_format' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment