Support » Fixing WordPress » Relative Path to Image

  • How do I link to an image in a theme?

    example:

    <img src="path-to-theme/images/image.jpg">

    I don’t want to put the static or exact path – am looking for the php command to do this? I can’t seem to find any reference to this in the codex yet…

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Relative Path to Image’ is closed to new replies.