Hx
// Set content width value based on the theme's design
if ( ! isset( $content_width ) )
$content_width = 900;
// Register Theme Features
function Helix() {
// Add theme support for Post Formats
add_theme_support( 'post-formats', array( 'gallery', 'image', 'video' ) );
// Add theme support for Featured Images
add_theme_support( 'post-thumbnails' );
// Set custom thumbnail dimensions
set_post_thumbnail_size( 300, 200, true );
// 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( 'editor-style.css' );
// Add theme support for Translation
load_theme_textdomain( 'hr', get_template_directory() . '/language' );
}
add_action( 'after_setup_theme', 'Helix' );