header image

This commit is contained in:
2018-07-19 21:03:42 -05:00
parent 21062ca0a8
commit 7e9e6854b4
3 changed files with 15 additions and 8 deletions

View File

@@ -1,7 +1,7 @@
<?php
if (function_exists('add_theme_support')) {
// add_theme_support('menus');
add_theme_support('automatic-feed-links');
add_theme_support('post-thumbnails');
@@ -10,7 +10,16 @@ if (function_exists('add_theme_support')) {
// add_image_size('small', 120, '', true);
// add_image_size('custom-size', 700, 200, true); // call using the_post_thumbnail('custom-size');
add_theme_support('automatic-feed-links');
$customHeaderArgs = array(
'default-image' => get_template_directory_uri() . '/images/default-header.png',
'width' => 1800,
'height' => 260,
'flex-height' => true,
'flex-width' => true,
'uploads' => true,
'header-text' => true,
);
add_theme_support( 'custom-header', $customHeaderArgs );
}
function ildi_nav($location='header-menu') {