Write Your Own Related Posts Plugin
My previous post on writing a simple related posts plugin was a popular one, and one reader wanted to take it further for a website he was working on. Well it was painfully obvious that my example was inadequate for doing any sort of fun stuff so I started adding bits and pieces to create a more robust widget. If you haven’t already, you might want to read the first post to get caught up.
This isn’t a true “plugin” in the sense you can activate it in Wordpress, but more of a widget you can plug into your theme. This widget is going to grab posts based on tags and return specific info from the matching posts. This will be a good chance to see some of the guts of Wordpress being used and how you might use them for your own projects.
Continue Reading

