Novo fundo
// Register Theme Features
function custom_theme_features() {
// Add theme support for Post Formats
add_theme_support( 'post-formats', array( 'status', 'gallery', 'image', 'video', 'audio', 'chat' ) );
// 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_action( 'after_setup_theme', 'custom_theme_features' );