WordPress.org

Support

Support » How-To and Troubleshooting » Change Header.php to Include Picture

Change Header.php to Include Picture

  • huyunoadmin
    Member

    @huyunoadmin

    <div id="head">
    	<h1><a>/"><strong><?php bloginfo('name'); ?></strong></a></h1>
    	<p><?php bloginfo('description'); ?></p>
    </div>

    …I’d like to change the automated name from the options page to include an image on my server. I tried using img (images/image name.jpg) but it didn’t work.

    Any suggestions? Thanks 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • Edit header.php.

    Replace

    <h1><a href="<?php echo get_settings('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
    	<p><?php bloginfo('description'); ?></p>

    with

    <img src="path/to/your/image/header.jpg" width="" height="" alt=""/>

    katislurps
    Member

    @katislurps

    I just wanted to say , that I had spent hours trying to figure out how to get a gif image into my header in just the right spot, and I tried this, and wala! It worked, I was so happy, thank you : )

    Thanks, this helped me too!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change Header.php to Include Picture’ is closed to new replies.