Posts tagged as: wordpress

contact
address

Wednesday, June 28, 2006

 

8 Invaluable WordPress Plugins!

`[..] whilst WordPress in its default, out-of-the-box form can provide a good platform for your website, with a little tinkering you can increase the functionality of your site massively. And what’s the easiest way of tinkering? Plugins! Special files that you simply slot-in to your WordPress installation to get new features.’


Saturday, April 29, 2006

 

WordPress Inline Ajax Comment Plugin

I’ve been fiddling around with various WordPress features and plugins whilst migrating my blog over from Blogger. I installed Peter Kashou’s Inline Ajax Comments plugin which uses some funky AJAX code to allow expansion and contraction of comments on the main pages of the blog. However, I was a bit annoyed that I couldn’t customize the text of the link that did the expansion/contraction.

It would have been a simple task just to go into the source code and modify the strings directly, but I didn’t like the idea of having to do that every time I decided to change the text in the future. So, I decided to modify the code so that it allows configuration of these strings in the plugins options menu on the WordPress administration page.

The plugin functions exactly as Peter’s plugin did, except for the added configuration options, and by default it will use the same strings for expansion/contraction as the original plugin. The plugin is also called via the functions ajax_comments_link() and ajax_comments_div(), just like in the original.

I figured I’d post it here incase anyone else might want to make use of it. You can download it here.