JM Tumblr
if ( ! function_exists('custom_theme_features') ) {
// Register Theme Features
function custom_theme_features() {
// Add theme support for Featured Images
add_theme_support( 'post-thumbnails' );
// Set custom thumbnail dimensions
set_post_thumbnail_size( 1280, 720, true );
// Add theme support for Custom Background
$background_args = array(
'default-color' => '',
'default-image' => 'C:\Users\JM Belen\Pictures\Theme Picture\pexels-lex-photography-1109541s.jpg',
'default-repeat' => 'C:\Users\JM Belen\Pictures\Theme Picture\pexels-lex-photography-1109541s.jpg',
'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' );
}