Safe SVG for WordPress

After a lot of testing of svg-sanitizer I’ve finally decided to make a WordPress plugin for it. This is more of a PoC to show that it can be done. Once installed, the plugin will hook into the uploads and automatically sanitize any SVGs that you upload. I’ll update this post when it’s on the … [Read more…]

SVG Sanitization

A couple of days ago I was browsing through the WordPress core Trac looking for something to get involved in and stumbled upon the following issue: https://core.trac.wordpress.org/ticket/24251 The lack of ability to upload SVGs into WordPress has always been a slight annoyance to me so I decided to see what I could do about it. After reading … [Read more…]

So I’ve just updated my…

So I’ve just updated my blog to use the new p2-breathe theme and the O2 plugin by Automattic and I must say, I like it. I’m hoping it’ll encourage me to blog some more, but I’m sure we’ll see! Edit: It’s very nice when you post!

WordPress InnoDB Issues

I’ve been working with a lot of WordPress plugins recently and have come across a bug that had me stumped for a while, therefore, I thought it’d be worth sharing it here. After installing and activating a plugin that created new database tables, I realised that the tables had not been installed. I contacted the … [Read more…]

PSR-4 Autoloading in WordPress

Recently I’ve been tasked with integrating a few API’s into WordPress sites. Whilst this doesn’t seem too hard, I found it hard to find solid documentation on the best practices in this scenario. In this post I will explain how I decided to go about these integrations, focussing mainly on my class loading inside WordPress. … [Read more…]

Pure CSS Image Slider

Recently I’ve became more and more interested in CSS3 use on the web. This interest stems from the fact that more and more people are moving from using JavaScript to manipulate items on the the DOM to using CSS3 Keyframe animations and Transforms. Up until now, I have only used CSS3 for nth-child selectors and other … [Read more…]

WordPress Plugin Development

A few weeks ago I was commissioned to create a WordPress plugin for a client. This plugin needed to take a feed on news from my clients website and display it on their clients dashboards. After a few searches of the WordPress directory, I couldn’t find anything suitable, to either use as as a complete … [Read more…]

Jumping into open source – Gulp-Email-Creator

Until now, I’ve only ever dipped my toe into the open source community, adding issues there, commenting here, maybe making the odd pull request. Today, I decided to jump in and whether anything will come of it, I don’t have a clue. I was sat around tonight thinking about making up some HTML emails, whilst thinking … [Read more…]