Moj readme
Moj readme
// Register Theme Features
function hafizovic() {
// Add theme support for Automatic Feed Links
add_theme_support( 'automatic-feed-links' );
// Add theme support for Featured Images
add_theme_support( 'post-thumbnails', array( '' ) );
// Add theme support for Custom Background
$background_args = array(
'default-color' => 'cccccc',
'default-image' => '',
'default-repeat' => 'repeat',
'default-position-x' => 'center',
'wp-head-callback' => '',
'admin-head-callback' => '',
'admin-preview-callback' => '',
);
add_theme_support( 'custom-background', $background_args );
// Add theme support for custom CSS in the TinyMCE visual editor
add_editor_style( 'editor.css' );
// Add theme support for Translation
load_theme_textdomain( 'hafizovic', get_template_directory() . '/lang' );
}
// Hook into the 'after_setup_theme' action
add_action( 'after_setup_theme', 'hafizovic' );