• I am creating my first theme and to test it locally I am running it on WAMP. I’m using Dreamweaver for the coding(if any of this make a difference.)

    I hand coded in a few images in the sidebar to create links to my Facebook and Linked In accounts.

    When I view the pages in Dreamweaver in Live View, the images show up on the page. But when I run the pages through localhost on WAMP, nothing shows up.

    What gives?

    Anthony

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dreamweaver is looking for them locally, as far as I know… wordpress doesnt handle relative links as far as I’ve discovered.

    try putting <?php bloginfo(‘template_url’); ?>/ before your file so for example.

    <?php bloginfo(‘template_url’); ?>/path/to/your/image.jpg

    Thread Starter Anthony Laurence

    (@ant1881)

    Worked like a charm. Thanks Versipellis!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Please help with images!’ is closed to new replies.