WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom header image in twentyten child theme not working! (2 posts)

  1. luge3000
    Member
    Posted 3 years ago #

    I created a twentyten child theme and put header.php and style.css in its directory, however, can't get my custom logo (which is in my child themes' images directory) to appear above the header image with this code (which worked before the recent WP update):

    <a href="<?php bloginfo('home');?>" title="<?php bloginfo('name');?>" rel="home">
    						<img src"<?php echo bloginfo('template_directory');?>/images/logobanner.jpg" alt="<?php bloginfo('name');?>"/>
    						</a>

    From the searching i've done, i'm assuming this is the part of my header.php file that is wrong. I've tried using ('stylesheet_directory') instead of template_directory, as well as using get_bloginfo() instead of bloginfo() but can't get the image to appear there
    Can anyone please help?

  2. luge3000
    Member
    Posted 3 years ago #

    nevermind..got it.

Topic Closed

This topic has been closed to new replies.

About this Topic