WordPress posts

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 »

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 »

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/tomelliott.com/httpdocs/wp-content/themes/tomelliott/archive.php on line 14

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 »

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 »

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 »

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 »