removing custom image header for logo - closes #223
This commit is contained in:
@@ -47,21 +47,6 @@ function roots_setup() {
|
||||
// http://codex.wordpress.org/Post_Formats
|
||||
// add_theme_support('post-formats', array('aside', 'gallery', 'link', 'image', 'quote', 'status', 'video', 'audio', 'chat'));
|
||||
|
||||
// http://codex.wordpress.org/Function_Reference/add_custom_image_header
|
||||
if (!defined('HEADER_TEXTCOLOR')) { define('HEADER_TEXTCOLOR', ''); }
|
||||
if (!defined('NO_HEADER_TEXT')) { define('NO_HEADER_TEXT', true); }
|
||||
if (!defined('HEADER_IMAGE')) { define('HEADER_IMAGE', get_template_directory_uri() . '/img/logo.png'); }
|
||||
if (!defined('HEADER_IMAGE_WIDTH')) { define('HEADER_IMAGE_WIDTH', 300); }
|
||||
if (!defined('HEADER_IMAGE_HEIGHT')) { define('HEADER_IMAGE_HEIGHT', 75); }
|
||||
|
||||
function roots_custom_image_header_site() { }
|
||||
function roots_custom_image_header_admin() { ?>
|
||||
<style type="text/css">
|
||||
.appearance_page_custom-header #headimg { min-height: 0; }
|
||||
</style>
|
||||
<?php }
|
||||
add_custom_image_header('roots_custom_image_header_site', 'roots_custom_image_header_admin');
|
||||
|
||||
// http://codex.wordpress.org/Function_Reference/register_nav_menus
|
||||
register_nav_menus(array(
|
||||
'primary_navigation' => __('Primary Navigation', 'roots'),
|
||||
|
||||
Reference in New Issue
Block a user