Archive for the ‘Snippets’ Category

WordPress Shortcodes: what? why? how?

Wednesday, April 9th, 2008 - Read the rest »

WordPress 2.5 implemented a new way of inserting content into posts: shortcodes. If you haven’t had the need to use the new gallery shortcode you might not have come across the details. So, what are they?
Plugin authors have used all sorts of methods of adding codes to posts to specify where the content of their [...]

Authors in Comments

Thursday, March 27th, 2008 - Read the rest »

Earlier today Miriam at WordPress Garage posted a quick challenge: how to display a list of authors who had posted in a particular category. I had an idea at the time but I wasn’t in a position to test the idea, so now I am home I have written a quick function to do just [...]

Controlling Archives

Sunday, March 23rd, 2008 - Read the rest »

If you want to display a list of archive links in WordPress the way you do it is with the template tag: wp_get_archives. But what if you want a little more control?
Unlike bookmarks and categories there doesn’t seem to be a quick and easy way to retrieve an array of archive links as an array [...]

Testing on Mulitple Versions

Saturday, February 9th, 2008 - Read the rest »

I’ve had a dilemma for a little while. I’m developing a theme that I wanted to test on multiple local versions of WordPress, but copying it between directories seemed to be a bit painful, as does stopping and starting Apache each time I want to re-test. I have finally found a pretty workable solution: Use [...]

 

Feed Icon - Get fed with RSS