I had a quandry today. I needed some functionality not provided in a plugin. The question: Do I edit the “Now Reading Reloaded” WordPress plugin, or do I build a plugin that extends it? I chose the latter, and this is why:
Normally when i want to customize an existing plugin, I will edit the plugin file(s) and that will be that. But tonight I decided, in the name of good old-fashioned curiosity, that I would extend the “Now Reading Reloaded” plugin with one of my own.
By default, the aforementioned plugin displays unread, currently reading, and finished books in the sidebar. I only wanted to display the unread books. So, all my new plugin does is create a hard-coded display of unread books. It uses hooks provided by the plugin author to do so. My plugin is not flexible at all, but it gets the job done nicely. Plus, I created my first WordPress widget – YAHOOO!!!
More posts from themightymo.com
My WordPress Maintenance Process
A few quick things: My WordPress Maintenance Process Demo, Part 1 Transcript: You’ll see immediately after logging in, you see the 11 updates needed as well as some messages. I’m just gonna quickly read. It looks like this. I don’t need to worry about. Are you enjoying Monster Insights? Not really <laugh>. What’s to enjoy…
How to style FacetWP checkbox hierarchy results using jQuery
I recently invested many hours trying to target and style a FacetWP taxonomy facet that uses hierarchy for display. It should be noted that you can use straight up CSS for some styling (and should use css wherever possible), but sometimes you need javascript to target parent elements and such. I thought I’d document the…
How to fix SpinupWP ballooning disk space issue
A site we host on Digital Ocean recently went down. It took me a lot of troubleshooting and digging before realizing that the issue was that our disk space was maxed out on Digital Ocean. The site in question needs ~20gb of space, so our 50gb server should be plenty. But alas, there it was…