Writing a simple Wordpress plugin

Customized RSS feed for WordPress

A couple of months ago, I used IFTTT to auto-tweet my posts to a Twitter account. It’s been working well, but I wanted to add the subtitles and tags to the tweets. By default, WordPress’ RSS feeds do not contain those.

This meant I had to write my own. How hard it can it be? It wasn’t. While looking around on how to accomplish that, I came past the post “Creating customer RSS feeds – the right way”. I agree with the author that most tutorials on customizing RSS feeds for WordPress are really terrible and lead to code duplication and maintenance issues in the future. The right way is to do it with a plugin which uses the existing RSS feed code of WordPress to accomplish the customizations you need.

I also never wrote a WordPress plugin and this looked a fun way to learn the basics.

It took me less than an hour from start to finish. I put the code in a Github repository. It is really straightforward.

Less options than you would think

Auto-tweet new posts from WordPress

I wanted to auto-tweet my new posts on a faux-pas Twitter account. I wanted to try it out as an alte…

Out with the old, in with the new

Hello 2019!

To celebrate the new year, I’ve updated the look of my website. I hope you approve. The goal was to…

Less flat, slightly elevated

Site update 1.1

One of the fun things you can do when you run your own blog is that you update your theme. I’m a bi…

100,000 words

6-month streak

It’s interesting how sometimes things just coincide. I wasn’t really planning on writing this post, …