News & Blog

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...

Shopify – Get a Page’s Title, Content and More With The Handle

March 4th, 2014 - Posted by Steve Marks to Software, Web Development.
Following on from a recent e-commerce project in Shopify, I came across a scenario whereby I needed to get details about a particular page from somewhere on the site. For examples sake, let’s imagine that I needed to get the content of an ‘About Us‘ page and display it on...
Shopify Theme Missing Required Fieles

‘missing template “layout/theme.liquid”‘ Error When Uploading Custom Shopify Theme

February 20th, 2014 - Posted by Steve Marks to Software, Web Development.
I’ve been working on my first e-commerce project with Shopify over the past week. As a result I’ve have had the joy of learning their ‘liquid’ templating language whilst creating a new bespoke Shopify theme. In order to upload a theme, you first need to get the fold...
Debugging Ajax Requests

Debugging Why Your AJAX Requests Aren’t Working

February 18th, 2014 - Posted by Steve Marks to Javascript / jQuery, Software, Web Development.
AJAX is a great way to improve usability for a site or application and, with the up-rise of libraries such as jQuery, MooTools and Prototype, it’s never been easier to implement AJAX functionality. When it’s working it can make tasks quicker to complete, and also means that the...
acf-street-view

Advanced Custom Fields Street View in Google Map

February 5th, 2014 - Posted by Steve Marks to Javascript / jQuery, PHP, Software, Web Development.
One of the field types available with the Advanced Custom Fields plugin for WordPress is ‘Google Map‘. This allows a user to enter a location or address, then have a Google Map be output on the frontend. I worked on a site this morning that required a Google map adding, the dif...
Responsive Filemanager

Responsive Filemanager Showing Blank Screen or Errors

February 4th, 2014 - Posted by Steve Marks to Javascript / jQuery, PHP, Server Management, Software, Web Development.
I recently upgraded to version 4 of TinyMCE and needed a file manager that worked with this new version so that the user could upload and insert files into the WYSIWYG. Fortunately I came across an excellent file manager called ‘Responsive filemanager‘ which was relatively easy...

The Cause Of My “‘/.git/index.lock’: File Exists” Error

December 18th, 2013 - Posted by Steve Marks to Software, Web Development.
When working with a new site in git earlier today I kept getting an error popup every few minutes when trying to do such actions as add files to a commit, or perform a rebase. The error read as follows: fatal: Unable to create '/path/to/site/.git/index.lock': File exists. If no other proce...