Add Select2 as an InspectorControl in WordPress Gutenberg

For a project I was working on I wanted to use Select2 as a Gutenberg InpectorControl to allow me apply settings to a block. This tutorial will also give you the foundation you need for getting any third party React Component into the WordPress Gutenberg Editor. Select2 is a super handy replacement for select boxes on…

Turning a Broken Windows Laptop Into a Working Chromebook

My wife owned a broken old Acer Ultrabook running Windows 10 (originally running Windows 7). It was a lovely little thing when it was new with some great specs, but as the years went by it became unusable. So I took it upon myself to ‘fix it’. And by ‘fix it’ I mean turn it…

Dynamic Variable Names in PHP

A question I sometimes get asked is can you dynamically set the name of a variable in PHP. For example someone may have a loop, and they want the variables in that loop to have unique names. The answer is, yes this can be done! I’ll tell you how, but I’ll also tell you that…

Hackathon – Hack the DMC – March 2018

Hackathons (or Hack Days) are a great way to engage with technical people in your community (not to mention one or two business folks and entrepreneurs), they are also a huge amount of fun! Over the 9th and 10th of March I attended the 24 hour hackathon Hack the DMC at Barnsley Digital Media Centre, with an…

Improving Productivity and Focus by Removing Distractions

The article could easily be titled: How I Stopped Worrying and Learned to Curb my Notification Anxiety, or, How to Effectively Work Remotely. I wrote an article about managing anxiety and removing digital distractions over on my Wholesome Code site. You can read my guide on how removed distractions and improved my focus and productivity here.

How to Write a Personal Social Media Strategy

There are lots and lots of social media channels out there, and people use each of them in different ways. If you tried to post to all the social networks without automating everything, you wouldn’t have time left in the day to do much else. Social media automation is bad. I’ve been guilty of it…

Custom TinyMCE Editor Formatting in WordPress

Sometimes when writing a block of text using the WordPress editor, you need it to look a certain way, we usually do this by adding styles to pieces of text, but we don’t always want our clients to have to open up the text editor and do this manually. In this example we will create…

How to make Responsive Web Design (RWD) Background Images

I work with Dave Green on a daily basis at our WordPress focused web development agency Make Do. Responsive Web Design (RWD) is a service that comes as standard with all of our products.

WordCamp Edinburgh July 2017

Over the weekend of July 21st/23rd the Makedoers traveled North to Edinburgh for a weekend of WordPress-based leaning, networking and some fun and games at the third WordCamp Edinburgh.

Changing your WordPress site language (locale) dynamically

There are some fantastic multilingual plugins for WordPress, however for one client project I needed something far more flexible, as this particular client needed to cater for several countries that each spoke several languages. In short the client needed to be able to have a multisite instance that had a country and language set as…