News & Blog

Google Chrome Developer Tools Crashing on Particular Site

November 19th, 2014 - Posted by Steve Marks to (X)HTML / CSS, Software, Web Development.
TL;DR – The crashing was caused by invalid CSS. Run the CSS through a validator and fix any invalid CSS. Longer Answer – The ‘Inspect Element‘ feature within Google Chrome is constantly in use in our office. It’s difficult to imagine working on a site without ...

Limit WooCommerce Product Quantity to One

October 23rd, 2014 - Posted by Steve Marks to PHP, Software, Web Development.
Sometimes you might want to restrict customers of a WooCommerce site from purchasing more than one of any product. Fortunately this is made simple through use of the options already available in WooCommerce. Simply edit the product in question, navigate to the ‘Inventory’ tab a...

Why a Custom Taxonomy Might Not Be Returned in WordPress

July 14th, 2014 - Posted by Steve Marks to PHP, Software, Web Development.
When creating a plugin or theme in WordPress there might come a time when you need to use custom taxonomies. As well as creating the taxonomies in the first place, you might need to work with them in some other way too; be this outputting them in a list, or programmatically assign a post t...

Find Large Emails in Thunderbird Clogging up your Mailbox

June 16th, 2014 - Posted by Steve Marks to Miscellaneous, Software.
Today saw my mailbox bursting at the seams with the size reaching a whopping 95%. In the back of my mind I knew that I had previously received some huge emails from clients with massive attachments. I just had to find these large emails and delete them. We use Mozilla’s Thunderbird a...

How to Load jQuery in the Footer of a WordPress Website

June 6th, 2014 - Posted by Steve Marks to Javascript / jQuery, PHP, Software, Web Development.
If you’re familiar with building WordPress sites that use jQuery you may have seen it included using the following method in the header of a website: wp_enqueue_script('jquery'); wp_head(); You enqueue the script and then when wp_head() is called, the jQuery library will be loaded fo...

How To Bulk Delete Product Variations in WooCommerce

June 3rd, 2014 - Posted by Steve Marks to MySQL, PHP, Software, Web Development.
When building any kind of E-Commerce site in WordPress I always have, and will for the foreseeable future, use the fantastic WooCommerce plugin. I’ve blogged about WooCommerce a few times in the past as I’ve come across various special requirements. Today is no different as I d...

Automatically Resize Huge Original Images Uploaded into WordPress

May 9th, 2014 - Posted by Steve Marks to Software, Web Development.
If you’ve built sites using WordPress and allow your clients to upload images to their pages and posts, you might quickly find that your site is getting filled up with huge images. And when I say huge, I mean HUGE! Over time this builds up and you end with a site clogged up with mass...

Updating WordPress and Plugins over SFTP

April 22nd, 2014 - Posted by Steve Marks to Software, Web Development.
A quick guide on how to update WordPress core and plugins over an SFTP connection using the addition of a plugin....

Taking Your WordPress Development To The Next Level

April 16th, 2014 - Posted by Steve Marks to Miscellaneous, MySQL, PHP, Software, Web Development.
Having been an avid web developer for over 10 years now I’ve seen a lot of change during this time. One of which is the explosion in the use of WordPress Content Management System. About 90% of sites we design and build today are based on WordPress, and I’d probably be right in...

Resolving the Random Zero at the End of AJAX Requests in WordPress

March 18th, 2014 - Posted by Steve Marks to Javascript / jQuery, PHP, Software, Web Development.
If you’ve ever integrated AJAX functionality into a WordPress plugin or theme, you have probably / should have used the in-built WordPress functionality that already exists. An article in the WordPress Codex explains how to do this, and demonstrates how easy it can be. I needed to do...