WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] inserting image into footer (2 posts)

  1. 25KGBOX
    Member
    Posted 7 years ago #

    i seem to be having trouble inserting an image into my footer.php

    the image is just not showing up. Here is a copy of my footer.php along with the different types of tags i have tried to use to insert the image:

    <p class="creditr">
    
    <img src="/images/tux.png" />
    <img src="images/tux.png" />
    <a href="http://wordpress.org/"><img src="images/tux.png" alt="WordPress" /></a>
    <?php bloginfo('template_directory') ?>/images/tux.png
    </p>
    
    		<?php do_action('wp_footer'); ?>
    
    </body>
    
    </html>

    i have also tried all those tags without the /> at the end

  2. 25KGBOX
    Member
    Posted 7 years ago #

    i seemed to have figured it out. for anyone who is having the same troubles. i used:

    <img src="<?php bloginfo('template_directory') ?>/images/tux.png">

Topic Closed

This topic has been closed to new replies.

About this Topic