Analytics / AdSense posts

Preventing Analytics referral spam and fake visits

Stop Google analytics referral spam and fake visits in their tracks by following these quick steps.

stop analytics spam »

Removing emoji code added to the head in WordPress

Quickly remove the emoji code WordPress 4.2+ adds to the head element with a few lines of code in the functions.php file

Removing WordPress emoji code »

Adding a featured image column for posts & pages in WordPress

A run though of how to add the featured thumbnail image column to pages, posts and custom post types in WordPress admin view. Code and examples given.

Adding a featured image column to posts and pages »

Removing columns from pages & posts such as Type, Author & Comments

How to remove different columns in WordPress page, post and custom post type views. Examples include removing 'Type', 'Comments' and 'Author' columns

Removing columns WordPress posts and pages »

Creating a Twitter Search & Analytics tool

A brief overview into some of the technical aspects in creating a more complex Twitter tool and some of the decisions I faced when creating socialbearing.com

Building a Twitter search tool »

Preventing display of orphans in text using JavaScript

Looking at how we can prevent widows (or orphans) for regular flowing text on a website. Solution uses jQuery.

Preventing widows on websites »

Check if any checkboxes are selected in jQuery

A jQuery function that will check all checkboxes in a specific form on form submit and give an alert if no checkboxes are selected.

Check if any checkboxes are selected »

Changing WooCommerce ‘Cart’ text sitewide

Short tutorial with source code showing how the standard 'cart' text can be changed sitewide in WooCommerce. This includes 'add to cart', 'view cart', 'update cart' and other language translations.

Change 'cart' text in WooCommerce »

Parse XML with jQuery & AJAX for a select list

A tutorial with code explanations showing how an XML file can be parsed with jQuery and AJAX to generate a select list.

Parse XML with jQuery & AJAX »

19 ways to improve the speed of your WordPress website

Various tips and tricks to help increase your WordPress speed scores to over 95% as measured by Google PageSpeed Insights

Increase WordPress website speed »