·

My Reading List Short Code for WordPress is Available on GitHub

No. 5,412

[A] while back, I posted about how I use a simple text file to track my reading list, and then use that as my authoritative source for tracking my reading. I showed, for instance, how I use a short code in WordPress to neatly format that text file so that I never have to update WordPress  when I add a new book to my list. It updates automatically.

A few people asked if I would share my code, and now that I’ve had a chance to write up some simple instructions, I’ve made the code available on GitHub.

As always, this code is use-at-your-own-risk. It has worked without a problem since I started using it last month. While you can use this code right in your main theme, I recommend using it as part of a child-theme, as it is much easier to maintain.

Feel free to use it, and modify it as you like!

Get new posts by email.

Or follow the RSS feed.

2 responses

  1. I’ve been waiting patiently for this ever since you said you might make it available. I can think of numerous reasons to pull content from plain text files — especially on “static” WordPress pages!

  2. Thanks very much! Greatly appreciated. 🙂

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.