My Reading List Short Code for WordPress is Available on GitHub

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!

Published by Jamie Todd Rubin

Jamie Todd Rubin writes fiction and nonfiction for a variety of publications including Analog, Clarkesworld, The Daily Beast, 99U, Daily Science Fiction, Lightspeed, InterGalactic Medicine Show, and several anthologies. He was featured in Lifehacker’s How I Work series. He has been blogging since 2005. By day, he manages software projects and occasionally writes code. He lives in Falls Church, Virginia with his wife and three children. Find him on Twitter at @jamietr.

2 replies on “My Reading List Short Code for WordPress is Available on GitHub”

  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!

Comments are closed.