• cstina

    (@cstina)


    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)
  • Forget the Codex tutorial on this. Some of those examples are invalid XHTML. Try out my tutorial instead: 😉

    valid XHTML clickable header images.

    This is assuming that you want the header image to be clickable.

    Thread Starter cstina

    (@cstina)

    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

    Kathi

    (@kathi)

    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.