Phil
-
Regularly when we launch a new site we also put up a static scrape of the old site so that users can access content that has been removed from the…
-
Advanced Custom Fields (ACF) is a great WordPress plugin for adding custom meta fields. It has a very useful relationship field that can be used to denote a connection from…
-
A typical PHP snippet to create a Zip file looks something like this: $zip = new ZipArchive(); $zipname = ‘package_name.zip’; if ( true === $zip->open( $zipname, ZipArchive::CREATE ) ) {…
-
One gap in the abilities of WP CLI at the moment is the ability to modify an already existing wp-config.php file. v1.2 introduced the –force flag to overwrite an existing…
-
VPNs and proxies are great – but almost always limited to funnelling all traffic through them. But what if you want to access only a single site/domain without affecting the…
-
Updated 02 – 05 – 18: plugins object is now returned as an array. On a whim this May bank holiday, tucked up on the sofa watching movies, I decided…
-
Just to be clear – there are no affiliate links, sponsored content or anything similar in this post. Recently I started taking the JavaScript for WordPress course and would highly…
-
Fancy sending your WordPress site back (or forward) in time for a day? Thanks to the multitude of filters it only takes a few lines of code. In this example…
-
Jump to the bottom if you want to go straight to the script I recently set up a new VPS on DigitalOcean and chose to manage the web stack and…
-
WordPress has a handy get_terms() function that retrives a list of all the terms for a taxonomy – this is great if you are, for example, building a <select> box…