Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

theme features

// Register Theme Features
function custom_theme_features()  {

	// Add theme support for Featured Images
	add_theme_support( 'post-thumbnails', array( 'post', 'page', 'hp_clanek' ) );

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

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