• I thought I was quite successfully integrating my wordpress blog into my main site template.

    I got the main index.php sorted, and moved onto the single.php article page.

    For index.php, I used paths like the following:

    wp-content/themes/default/images/logo.gif

    and

    <link rel=”stylesheet” href=”wp-content/themes/default/style.css” media=”screen” type=”text/css” />

    Which works for the index page, but not for the other templates, like single.php. The paths get lost, and [category name] and [article name] get added to the path before the “wp-content/……..etc”

    How are we meant to specify paths when editing all these templates? Absolute, including the https:// ???

    Thanks

Viewing 1 replies (of 1 total)
  • i’ve 2 questions in the similar realm as dan’s that is perhaps easier to solve.

    1) i want to add an img src code in my posts that are linked to an images in my folder. in my case, that’s …/blog/images/ (i.e. i created an image folder to throw images in. however, what’s the preceeding adjunct to the path.

    2) i want to post a banner for my template, which is on a TROPICAL BREEZE theme – the banner is blank and i HAVE TO FILL IT UP. but i don’t know where to start finding where to place the image.

    thank you in advance for helping too.

Viewing 1 replies (of 1 total)
  • The topic ‘Paths to images and CSS file is killing me!’ is closed to new replies.