X

BLOG

Setting up PHP composer

This article walks through the simple steps for setting up composer. Initially at project level, then, optionally, at the global…

Mervyn Booth

How to fix ansible/vagrant ERROR! the role ‘swapfile’ was not found

This article provides a simple fix for the ansible error, "sorry, tersmitten.swapfile was not found", by updating 1 (maybe 2?)…

Mervyn Booth

How to fix macOS usr/local is not writable

This simple post should fix the "usr/local is not writable" issue with homebrew. Whilst on holiday I needed to use…

Mervyn Booth

How to prevent Yoast from setting noindex on pages

On a few occasions Yoast has inexplicably injected a noindex meta tag in the head of pages that I want…

Mervyn Booth

How to call wp_get_attachment_image() without srcset

Sometimes it's nice to have all the goodies wrapped up in a nice little function, such as wp_get_attachment_image(). This is…

Mervyn Booth

A simple filter to hide specific widgets on specific pages

It's not uncommon to only want to show specific sidebar widgets or footer widgets in certain views. In the case…

Mervyn Booth

How to disable directory views with a blank file or a single line of code

By default the directories (folders) of your website and other applications may be publicly viewable for all to browse. This…

Mervyn Booth

Demote Yoast’s meta box priority to ‘low’

The Yoast meta box sits just below the main editor. To demote it, aka, reduce its priority, just add this…

Mervyn Booth

Mobile-friendly websites are a must

If you value your website's search engine positioning then mobile-friendly websites are no longer a nice-to-have. On April 21st, 2015…

Mervyn Booth

We are securely encrypted. And you should be, too

This site is delivered over https, using modern encryption methods. We advise you to do the same and get encrypted.…

Mervyn Booth

This website uses cookies.