Wordpress theme update #1

Left Hand Red, Web Stuff Add comments

Progress is slow to non-existant because I’m suffering from creative block (AKA lazyness). So far I’ve done a little styling on a plain theme that I’ve applied to the ghost-blog of my chum, Dan Stevens.

screenshot of Wordpress theme

So far, setting up the theme has been almost as easy as setting up a stylesheet. In addition to your stylesheet, though, you have to create at least one template file, which forms the markup. This is essentially setting up an XHTML file with added custom PHP tags to insert the blog posts and information. e.g.

the_title()

This template I’ve split in to three files — header.php, footer.php and index.php. This will allow me to re-use the header and footer, whilst providing customised versions of the main content to suit the front page, individual posts and archives, for example.

The most useful concept to get to grips with is the WordpressLoop‘. This is the portion of code responsible for looping through posts, and repeatedly inserting the desired markup.

Leave a Reply

WP Theme & Icons by N.Design Studio
Entries RSS Comments RSS Log in