Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress How to Make a Website with WordPress WordPress Widgets and Custom Menus How to Create Widgetized Areas in WordPress

Martina Carrington
Martina Carrington
15,754 Points

header.php

i don't see the new header on Manage in Customizer

2 Answers

if your refering to wordpress settings api coarse, check your index.php on project download.3.7 as all coding preference to apply to your theme is set there.

all the way to closing </div> just before <div class="main-content">

header code as exampled vis index.php

<!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <title><?php wp_title(); ?></title> <?php wp_head(); ?> </head>

<body <?php body_class(); ?>>

<div class="container">

    <div id="header">

        <?php if( get_theme_mod( 'wpt_logo') != "" ): ?>
        <img id="logo" src="<?php echo get_theme_mod( 'wpt_logo' ); ?>">
        <?php endif; ?>

        <p class="site-title">
            <a href="<?php bloginfo( 'url' ); ?>"><?php bloginfo( 'title' ); ?></a>
        </p>

        <p class="site-description">
            <?php bloginfo( 'description' ); ?>
        </p>   

        <?php if( get_header_image() != "" ): ?>
        <div id="banner">                
            <img src="<?php header_image(); ?>" alt="Header graphic" />                
        </div>
        <?php endif ?>

        <?php 

          $defaults = array(
            'theme_location'  => 'main-menu',
          );
          wp_nav_menu( $defaults );

        ?>               

    </div>

also don't forget functions in fuction.php as they are needed or customization won't work