Title: Header Image &#8211; Codex Placement Help
Last modified: August 19, 2016

---

# Header Image – Codex Placement Help

 *  [cstina](https://wordpress.org/support/users/cstina/)
 * (@cstina)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/header-image-codex-placement-help/)
 * I just read the header image codex (a few times over) and I’m having a difficult
   time.
 * Where exactly should I place the path to my header image in this code?
 * Here’s what’s throwing me off……….
 * My header code is a little different, because it _doesn’t have the usual bloginfo(‘
   stylesheet\_directory’);_ …. which is where I’d normally place the image to the
   header (following that string of markup).
 * I just need to know where to put the path to header image. Help?
 *     ```
       <a href="<?php echo get_option('home'); ?>/"
       title="<?php _e('Return to the home page','hm'); ?>">
       <?php bloginfo('name'); ?></a></h1>
       <dfn><?php bloginfo('description'); ?>
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Justin Tadlock](https://wordpress.org/support/users/greenshady/)
 * (@greenshady)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/header-image-codex-placement-help/#post-731891)
 * Forget the Codex tutorial on this. Some of those examples are invalid XHTML. 
   Try out my tutorial instead: 😉
 * [ valid XHTML clickable header images](http://justintadlock.com/archives/2007/10/22/valid-xhtml-clickable-header-images).
 * This is assuming that you want the header image to be clickable.
 *  Thread Starter [cstina](https://wordpress.org/support/users/cstina/)
 * (@cstina)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/header-image-codex-placement-help/#post-731908)
 * I have a built in xhtml validator/link on my blog. After I changed the markup
   for header.php (and css) I had 22 errors (none on css). Before the changes, I
   had none. I’m not sure how/why, maybe I did something wrong, but the steps didn’t
   work for me.
 * This is my header: [http://pastebin.ca/973740](http://pastebin.ca/973740)
 *  [Kathi](https://wordpress.org/support/users/kathi/)
 * (@kathi)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/header-image-codex-placement-help/#post-731996)
 * Is it possible to edit the code so that each page calls up a different header
   IMAGE?
 * K

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Header Image – Codex Placement Help’ is closed to new replies.

 * 3 replies
 * 3 participants
 * Last reply from: [Kathi](https://wordpress.org/support/users/kathi/)
 * Last activity: [18 years, 2 months ago](https://wordpress.org/support/topic/header-image-codex-placement-help/#post-731996)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
