• Hello.

    This is my first encounter with wordpress and the wordpress template system. I’ve been doing quite a bit of reading in the codex area but am stumped on a few points..

    I’ve created a site dizkis.co.uk/test/ which has static pages but dynamic content. On the home page I’m trying to show an excerpt (or post text) from one post in each of the lower boxes and the main content area (i.e a different post in each div). Is there a way of doing this?

    Also, when referencing images, for example the twitter bird, do you always have to type the full path to the image in the theme folder? as a simple relative images/twitter.gif doesn’t seem to function correctly. If this is the case, when all the images are moved away from the test site, all the image links will require changing.

    I’m still learning , so trying to get my head around php and wordpress in general.

    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter toneyo

    (@toneyo)

    <?php
    query_posts('name=welcome'); //retrieves the welcome page only
    ?>

    Found out that the above works ok on the main page without any images in the div, but still trying to figure out the smaller content boxes.

Viewing 1 replies (of 1 total)
  • The topic ‘Custom theme questions – Showing a single post’ is closed to new replies.