A nifty little WordPress plugin…

The idea for this little plugin has been rattling around in my head for a little while now.  It clocks in at less than 60 lines of code, including comments, and makes it easy to create a “series” for posts.

As I’ve been blogging about my (mis)adventures in building a DrawBot, I’ve been updating each post to contain a link back to all of the prior posts in the series.  However, if someone were to find one of the first posts – they wouldn’t see a link to a later post.  That is, unless I update all the posts.  That’s not really much of an option, since I’ve racked up 23 posts in less than 19 days. 12

This plugin is actually super simple.  Here’s what it does:

  1. Add a “post meta” tag for the current post with the same key as whatever you want to name the post series
  2. Query the database for all posts with the same post meta key as the one for the current post
  3. Output an ordered chronological list of all posts in with the same post meta key as the one for the current post

The simplicity of this plugin are actually some of it’s strongest features.  Unlike a lot of other series plugins out there, it doesn’t create any unnecessary tables in your WordPress database.  There are no settings to mess with, no CSS to fiddle with, no ugly standard formatting to overcome.

The only downside I can perceive is that if you delete the shortcode from a plugin, it will still leave the post-meta attached to the post and the post will still appear in the series.  If you leave the shortcode in and don’t specify a series title, it will delete the post-meta.  I suppose I could include a little button in the interface to delete the post from the series, but really, it’s just not going to be used that often.

Anyhow, this is something that I’ve wanted to have for a long time – I just hadn’t gotten around to building it yet.

  1. Wanna make a DrawBot?
  2. DrawBot Resources and Links
  3. DrawBot, the Adventure Begins
  4. DrawBots for the slow learner
  5. DrawBot - Parts Ordered!!!
  6. DrawBot - The Breakdown
  7. DrawBot - Parts Shipped!!!
  8. DrawBot - What would you draw?
  9. DrawBot - The Plan!
  10. DrawBot - The Hacks
  11. DrawBot - Giant Unicorn?
  12. DrawBot - The Delivery?
  13. DrawBot - The Delivery, Part II
  14. DrawBot – The Delivery, Part III
  15. DrawBot – The Assembly, Part I
  16. DrawBot – The Software, Part I (and an existential conversation)
  17. DrawBot – The Delivery, Part IV
  18. DrawBot – The Assembly, Part II
  19. DrawBot – The Assembly, Part III
  20. DrawBot – The Assembly, Part IV
  21. A nifty little WordPress plugin...
  22. DrawBot – The Delivery, Part V
  23. i find i want to add more posts in some random series, just so i can use my new plugin
  24. Simple Series WordPress Plugin
  25. Now Simple Series will also add the series list to RSS feeds too!
  26. ZOMG! Simple Series is going viral!
  27. Simple Series with SEO! after just one day
  28. DrawBot – The Delivery, Part VI
  29. Anti-Virals
  30. Simple Series - Half-Life; Market Research
  31. DrawBot – The Assembly, Part VII
  32. DrawBot – The Operation, Part I
  33. DrawBot – The Assembly, Part VIII
  34. DrawBot – The Breakdown, Part II
  35. DrawBot – Printing!
  36. DrawBot – Calibration
  37. DrawBot – Pen Selection
  38. DrawBot – Onwards and Upwards!
  39. WordPress Plugin: Easy CC License
  40. WordPress plugin - OCD Plugin Stats
  41. TSP FTW!
  42. Two new DrawBot links! And an update!
  43. Another Drawing Robot!!!
  44. DrawBot Practice Tip: A Watched Pot
  45. Every Body Needs a Skull
  46. I think I know what I want to draw next...
  47. Overengineered Spools
  48. Overengineered Stepper Motor Mounts, Filament Guides
  49. Overengineered Bolt Endcaps, Case Holder
  50. DrawBot - A Preview
  51. Building an Arduino Drawing Robot - On The Cheap
  52. DrawBot - Printed Parts Tour
  53. Unidentified Foam Object
  54. Arduino Powered Drawing Robot - Take 2 (Or 3)
  55. DrawBot, now ACTUALLY wall mounted!
  56. Simple Series WordPress Plugin Update
  57. OCD Plugin Stats and the WordPress.org Statistics API
  58. How to add a custom button to the WordPress Visual TinyMCE Editor
  59. A Study of Drawing Robot Pen Holders and Design Considerations
  60. Drawing Robot Pen Holders, Calligraphy Pens, and Thought Experiments
  61. Ideal Qualities in a Drawing Robot Pen Holder
  62. PlotterBot.com - a new site dedicated to drawing robots

  1. I’ve got a lot to say. []
  2. And, actually, that’s just 23 posts on this one topic.  I’ve probably blogged an equal amount over on the MakerBot blog, with a few totally random additional posts here. []

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>