Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Tema – Oralduo

// Register Theme Features
function custom_theme_features()  {
	global $wp_version;

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

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

	// Add theme support for Semantic Markup
	$markup = array( 'gallery', 'caption', );
	add_theme_support( 'html5', $markup );	
}

// Hook into the 'after_setup_theme' action
add_action( 'after_setup_theme', 'custom_theme_features' );