store
notice

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.




5 Responses to “WordPress Inline Ajax Comment Plugin”

  1. Lawrence Says:

    Does anyone know the name of the wordpress plugin that creates a list of your posts in a category instead of just displaying them one after the other? I want it so that when someone clicks on a category they just get a list of posts from that category.

    I'm sure Ive seen one…and sifting through the WP site is a nightmare

  2. moonbuggy Says:

    I’m using Ultimate Tag Warrior to do the categories here. Is that the sort of thing you mean?

  3. Ricky Says:

    What I want to do on my blog, is every few hours take the oldest post and move it to the front of the queue, all automatically. Anyone know if there is a plugin that can do this or a simple way to set up another plugin to do this (use my own feed perhaps)? Thanks.

  4. moonbuggy Says:

    I don’t know of any plugins that will do that. You’d maybe have to modify the have_posts() while loop so it starts in a different place in the database, but I’m not really sure. Sorry. 🙁

  5. Closing Says:

    Thanks.

Leave a Reply