Posts tagged: programming

WordPress – Display Random Posts

So you want to display a random list of posts, maybe in a sidebar widget… One way to do it is to use the query_posts() function, but this isn’t always the best…

WordPress Custom Category Archives

Note, we’re talking here about different category archive pages – not having a post page customised according to the category that post is in….
There’s 2 ways of doing this – first, the simple way, for more minor changes to the overall theme template, you can use the is_category function:

WordPress Multi-user Themes

Sorry, but we don’t guarantee that our themes, free or premium, will work 100% if used in a WordPress multi-user environment.
Why not? Simply because there’s too great a variation in paths, subdomains and subfolders etc. and it just doesn’t seem to be possible to cover all eventualities – at present, anyway. This isn’t particularly [...]

WordPress Theme Functions

1. Conditional functions
To begin at the beginning, we’re talking about is_home(), is_search() etc. The whole collection of functions is here – and the majority are handled in a very similar way.
This family of conditional functions is related to the template file hierarchy – and since their use can save a lot of time and [...]