Add Genesis Theme Functions

Add New Image Size Support for Thumbnails

1
2
3
//* Add new image sizes
add_image_size( 'home-bottom', 380, 150, TRUE );
add_image_size( 'home-middle', 380, 380, TRUE );

Add Post Format Support

1
2
//* adding post format support
add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status', 'video', 'audio' ));

Add Custom Background

1
2
//* Add support for custom background
add_theme_support( 'custom-background' );

Add Footer Widget

1
2
//* Add support for 3-column footer widgets
add_theme_support( 'genesis-footer-widgets', 3 );
1
//add_filter( 'genesis_pre_get_option_site_layout', '__genesis_return_full_width_content' ); // Force Full-Width Layout
1
//remove_action( 'genesis_after_entry', 'genesis_do_author_box_single' ); //Remove the author box on single posts
1
//remove_action( 'genesis_after_entry', 'genesis_get_comments_template' ); //Remove the comments template