Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Theme Support

if ( ! function_exists('srisys_theme_support') ) {

// Register Theme Features
function srisys_theme_support()  {

	// Add theme support for Featured Images
	add_theme_support( 'post-thumbnails' );

	 // Set custom thumbnail dimensions
	set_post_thumbnail_size( 0, 0, true );

	// Add theme support for Custom Background
	$background_args = array(
		'default-color'          => '',
		'default-image'          => '',
		'default-repeat'         => '',
		'default-position-x'     => '',
		'wp-head-callback'       => '',
		'admin-head-callback'    => '',
		'admin-preview-callback' => '',
	);
	add_theme_support( 'custom-background', $background_args );

	// Add theme support for document Title tag
	add_theme_support( 'title-tag' );

	// Add theme support for custom CSS in the TinyMCE visual editor
	add_editor_style();

	// Add theme support for Translation
	load_theme_textdomain( 'text_domain', get_template_directory() . '/language' );
}
add_action( 'after_setup_theme', 'srisys_theme_support' );

}