• Resolved bellemode

    (@bellemode)


    Created my single.php file and for some reason a string is placed in front of my image paths.

    example: the path to the logo should be “images/melanie-lora-logo.png”

    but it’s: “/2012/08/images/melanie-lora-logo.png”

    I even went back to my index.php file that I originally created for my homepage before I customized it and put that in and I get the same issue.

    Homepage

    This is where the error happens Single Blog Post

    I’ve looked at the codex at functions and I’m still not sure why it’s happening.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bellemode

    (@bellemode)

    I put php in the header and footer to get my images instead of paths and that fixed it.

    <img src=”<?php echo bloginfo(‘template_url’); ?>/images/your-image.png” alt=”” />

    Thread Starter bellemode

    (@bellemode)

    fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘A string is being added to my image files for single.php’ is closed to new replies.