header image
This commit is contained in:
@@ -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') {
|
||||
|
Reference in New Issue
Block a user