WordPress.org

Ready to get started?Download WordPress

Forums

Hyperlinked logo instead of title (3 posts)

  1. jpalancio
    Member
    Posted 4 years ago #

    Hi,
    I believe I've got the image url in my php header where it should be but it is still not showing up. I'd like it to replace the title type but keep the 'home' hyperlink over the logo image. Is this possible? I've read many related posts which have definitely helped but still no success... can anyone help?

    The site url is pakafoundation.org and here's my header.php code:

    <h1>/"><img src="images/pakalogo_smallest.jpg" alt="<?php bloginfo('name'); ?>" /></h1>

    <?php } else { ?>
    /"><img src="images/pakalogo_smallest.jpg" alt="<?php bloginfo('name'); ?>" />

    Thanks so much!
    Jack

  2. Arnold Goodway
    Member
    Posted 4 years ago #

    This post could help.

  3. alchymyth
    The Sweeper & Moderator
    Posted 4 years ago #

    usually, you need to add the path to the images folder - for instance:
    <img src="<?php bloginfo('template_url'); ?>/images/pakalogo_smallest.jpg" alt="<?php bloginfo('name'); ?>" /></div>

Topic Closed

This topic has been closed to new replies.

About this Topic