WordPress.org

Ready to get started?Download WordPress

Forums

Header.php is not working! (5 posts)

  1. xxkingcxx
    Member
    Posted 3 years ago #

    I have post my header to work.. just when it goes to single post, or any other part of the blog HEADER does not appear...supper lost.. trying to get help fix this issue link is here legendarystatusco.com/blog and here is example where header dont work! HERE

  2. alchymyth
    Forum Moderator
    Posted 3 years ago #

    try to use absolute file paths to the header images

  3. xxkingcxx
    Member
    Posted 3 years ago #

    how do i go by doing that have example?

  4. alchymyth
    Forum Moderator
    Posted 3 years ago #

    example:
    for instance this line from your header code:

    <tr>
    <td colspan="6"><img src="images/blogheader_01.gif" height="119" width="750" /></td>
    </tr>

    try and change it to:

    <tr>
    <td colspan="6"><img src="<?php bloginfo('template_url'); ?>/images/blogheader_01.gif" height="119" width="750" /></td>
    </tr>

    this part <?php bloginfo('template_url'); ?>/ should automatically add the absolute path to your images folder.
    http://codex.wordpress.org/Function_Reference/bloginfo

    do the same for all other images in your header.

  5. xxkingcxx
    Member
    Posted 3 years ago #

    Thank you so much! you help out alot !!!

Topic Closed

This topic has been closed to new replies.

About this Topic