Categories
meta technology

Classic Posts

I have been wanting to implement a “greatest hits” section in my sidebar ever since I read the lessons for would-be bloggers. Yesterday I discovered the classic posts plugin from Chris vs Chris which displays posts which you have designated as “classic.” That sounded like the kind of thing I wanted, except that I was looking for a sidebar list. I added a function to their plugin which returns a list of posts rather than the posts themselves. I also discovered that their plugin does not successfully handle selecting and deselecting posts as being “classic” if you are on anything except the default list of posts – in other words it only works on the last 15 posts. (I went into the database so that I cold manually select some older posts)

I have no particular desire to own this plugin so if Chris and Chris want to adopt my modification into their official plugin they are welcome to it. If they do I will link to their version of the file, but until then here is my version: Classic Posts plugin with List Option.

UPDATE: I found the error on the plugin (I had to add two characters to the code) and I have the working version up now (same link as before).

UPDATE 2: Chris has added my modification and the bug fix so I will include a link to the official version.

By David

David is the father of 8 children. When he's not busy with that full time occupation he works as a technology professional. He enjoys discussing big issues with informed people, cooking, gardening, vexillology (flag design), and tinkering.