Search results for "templates" : 2 matching posts found.

There's no place like is_home : WordPress conditional tags

August 11, 2009

Conditional tags are used in WordPress to change content according to what sort of page is being displayed. is_home() will test if the page is your blog's home page; is_single() tests if it's a single post page. Why do this when the WordPress template hierarchy tests for these things anyway? Most obviously, conditional tags help to cut down the number of theme files you need: if there are... Read more

How to edit a WordPress theme

May 21, 2009

Sooner or later, how much you love the WordPress theme you've chosen, you're going to want to change something about it. Maybe you'll want your post titles to be a little larger, or to change fonts or link colours, or to make your sidebar wider. If you already know HTML, CSS and PHP, then head on over to the Theme Editor and start playing. But for everyone else, this post will be a brief... Read more