Support » How-To and Troubleshooting » Replacing Blog Title with Image in Mini Theme

Replacing Blog Title with Image in Mini Theme

  • Hi, I am trying to replace my blog title with an image, but my header doesn’t look like some of the other posts I’ve read.

    Here is my site: http://aarondavis.net/knifelike/

    Here is my header:

    <meta http-equiv=”Content-Type” content=”<?php bloginfo(‘html_type’); ?>; charset=<?php bloginfo(‘charset’); ?>” />

    <link rel=”stylesheet” href=”<?php bloginfo(‘stylesheet_url’); ?>” type=”text/css” media=”screen” />
    <link rel=”alternate” type=”application/rss+xml” title=”<?php bloginfo(‘name’); ?> RSS Feed” href=”<?php bloginfo(‘rss2_url’); ?>” />
    <link rel=”pingback” href=”<?php bloginfo(‘pingback_url’); ?>” />

    <title><?php bloginfo(‘name’); ?> <?php if ( is_single() ) { ?> » Blog Archive <?php } ?> <?php wp_title(); ?></title>

    <?php wp_head(); ?>

    What do I have to change to get this image to replace my blog title?

    Thanks in advance,


Viewing 5 replies - 1 through 5 (of 5 total)
  • esmi


    Forum Moderator

    Well, you can get rid of <img src="http://aarondavis.net/knifelike/wp-content/themes/mini/img/headerimg.png"> at the top if header.php for a start. The <head></head> section has nothing to do with your site’s header.

    Then try changing:

    <a class="logo" href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a>


    <a class="logo" href="<?php bloginfo('url');?>"><img src="<?php bloginfo('url');?>wp-content/themes/mini/img/headerimg.png" width="287" height="61" alt="<?php bloginfo('name');?>" /></a>

    in header.php

    Awesome. where do I paste it in relation to the rest of the header code?



    Forum Moderator

    It’s a change to header.php – not an addition. Please read my suggestion again.

    Ok, thank you, but I do not see:

    <a class="logo" href="<?php bloginfo('url');?>"><?php bloginfo('name');?></a>

    in the header below.

    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
        <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
        <link rel="alternate" type="application/rss+xml" title="<?php bloginfo('name'); ?> RSS Feed" href="<?php bloginfo('rss2_url'); ?>" />
        <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
     <title><?php bloginfo('name'); ?> <?php if ( is_single() ) { ?> &raquo; Blog Archive <?php } ?> <?php wp_title(); ?></title>
        <?php wp_head(); ?>


    Forum Moderator

    It’s well below that part of header.php

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Replacing Blog Title with Image in Mini Theme’ is closed to new replies.