Words and code from my journey thorugh the web

Move W3 Total Cache JS & CSS to the footer

Code snippets and description showing how to move minified JavaScript and CSS to the footer that have been created by W3 Total Cache plugin for WordPress.

Move JS and CSS to footer »

Warning: Trying to access array offset on value of type bool in /var/www/vhosts/ on line 273

Fixing qTranslate problems in WordPress 3.9 & 4.0

How to fix a number of qTranslate problems with WordPress 3.9 including error messages, issues with TinyMCE visual editor and overwriting of content from ACF fields.

Fixing qTranslate issues »

Dynamically change Video JS poster in jQuery

How to dynamically target the video poster in Video JS using jQuery. Solution tested across all major browsers including Internet Explorer 8 and above.

Change Video JS poster image »

Adding font icons to WordPress custom post types

How to easily enable icon fonts (dashicons) for your custom post type menu items in WordPress 3.8.

Creating icon fonts for custom post types »

Google blandify the web by removing profiles from search

Google remove authorship profile pics from search results so I moan about it in words that will appear in bland and uniform links on the web.

Removal of G+ profile pics from search »

Automatically optimise WordPress images for maximum compression

How to easily and automatically optimise all images on a WordPress site using the EWWW Image Optimizer for better compression and so they pass web performance measurement tools such as Google's Page Speed Insights.

Optimise WordPress Images »

Intermittent white screen problem in WordPress

How to locate and fix intermittent 'white screen of death' problems with WordPress. Blank screens are often down to fatal PHP errors created by exceeded memory limits.

Fixing a WordPress white screen »

14 mobile UX factors that could impact SEO

Mobile user experience is increasingly playing a part in search engine rankings and will almost certainly continue to do so. In this post I explore current and future mobile UX ranking factors.

Mobile UX ranking factors »

Execute function before Contact Form 7 submit

In this post I look at the code required to execute a PHP function before a Contact Form 7 form is submitted using wpcf7_before_send_mail

Contact Form 7 submit function »

26 AdSense tips to maximise revenue

A breakdown of AdSense tips and more generic advice that can help increase AdSense revenue for your website or blog

AdSense Tips »