Add body class to WordPress posts without featured image

You might need to apply different styling to posts without a featured image, this function will add a class to the body tag to all single posts without a featured image:

Read more »

What SEO actually is

SEO is not wizardry

Since I spend a lot of time helping people with web development in general and WordPress in particular, I’ve realised that many inexperienced users seems to have an almost mythical relationship with SEO. It’s almost as they view it as something magical. I’m sorry to break your bubble if you are one of these people, […]

Read more »

Could WordPress 4.9 be the end of the white screen of death?

Maybe not entirely, but it looks a bit more user friendly to show error messages instead of the dreaded white screen of death at least.

Read more »

How to find the best WordPress maintenance service

Realising the importance of keeping your WordPress site well maintained might not be clear to everyone yet, but if you are at the stage where you have decided that you want to let professionals handle the well-being of your site(s), then the good people over at the Under Construction Page just made it a bit […]

Read more »

Executing PHP code in a text widget

Sometimes you might have the need to execute PHP code in a text widget, for instance when linking to pages using bloginfo(‘url’); This function will enable the execution of PHP in text widgets: Code is courtesy of Emanuele Feronato

Read more »

Pingdom performance and page speed follow up

I’ve had a chance to work on this site a bit more and I’ve added a couple of third party script from Google, Analytics and Recaptcha. Since these are third party, I have no control over them and they will result in the the Pingdom tool complaining about them. Kinsta wrote a good article on […]

Read more »

Just updated to WordPress 4.8 Evans

The new widgets look really cool, going to play around with them for a bit. Read more about all the new features in WordPress 4.8 here: https://wordpress.org/news/2017/06/evans/.

Read more »

Custom Divi builder module

I had the pleasure of creating a custom Divi builder module recently for a client. I didn’t know much about Divi before but the builder and framework seems really powerful and easy to use. Are you looking to create a custom Divi module or extend functionality for a plugin to be used as a module? […]

Read more »

Finally managed to get a 100 performance rate on Pingdom website speed test

Don’t mind the slow load time, it’s because of bad hosting 🙂

Read more »

Set a “Vary: Accept-Encoding” header to woff2 files

I was running speed tests with Pingdom and got the recommendation to set a Vary:Accept-Encoding header on a woff2 file. After a lot of reading and trying different snippets in .htaccess, I finally managed to get it working using this: AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml x-font/otf x-font/ttf x-font/eot x-font/woff x-font/woff2 <IfModule mod_headers.c> Header set […]

Read more »