Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter krisleech

    (@krisleech)

    I think your question is different, i would start a new post.
    I wanted to insert an image as part of the template/theme, you want to insert an image in to a web log post right?

    Thread Starter krisleech

    (@krisleech)

    OK further to the above i found the image links in the Kubrick theme, which uses: bloginfo(‘stylesheet_directory’);
    Easy just pop this in before the URL like this: <img name="logoWithBear" src="<?php bloginfo('stylesheet_directory'); ?>/images/logoWithBear.jpg" width="172" height="115" border="0" alt="Elliesbears - Handmade with love">

    And you get dynamic paths for your static links, K.

    Thread Starter krisleech

    (@krisleech)

    The SRC for the image is: images/logoWithBear.jpg and file exists.
    Does it need to be a absolute link?
    Yes that has to be it, the image path is relative to the template file (index.php in themes) but when the actual page is generated that relativity is no longer valid?
    The same goes for any static links in a template – they will not work.
    Is there a way around this without typing out the full URL to an image or web page?

    Cheers K.

    Problem solved, using tables is fine. Just make sure you copy the right bits of php to the right places ie. the loop!

    I am having the same problem, when i open index.php (in themes/default) i get a load of placeholders for the php stuff but its not layed out in any way. I dont need a ‘live’ view, just the normal WYSIWYG view.

    I assume that the layout is done using css layers?

    Is it possible to use tables to layout the template and add the php bits in where they are required? I know about the loop.

    I tried looking in the css file, style.css, but found no php to delete as suggested by the previous post.

    Can anyone help? Is there any scope to laying out in tables.

    Cheers Kris.

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