ThemeShaper Forums » Thematic


img element in footer.php

(2 posts)
  • Started 11 years ago by markarse
  • Latest reply from Chris
  • This topic is resolved


  1. markarse

    Hi Themies,
    Great framework!
    My question is how do I add a link to an image from within my footer.php.
    I think I have an issue with it being a *relative* link.

    Because this works when viewing the front page:
    <img src="wp-content/themes/thematic_child_theme/images/logo.png" />

    But when viewing any other page, it's broken.


    Changing the code to this:
    <img src="../wp-content/themes/thematic_child_theme/images/logo.png" />
    will work for any page except the front page

    Posted 11 years ago #
  2. Hi,

    use the full path. The relative thing will only work in a style.css.


    Posted 11 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.