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:
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.
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 […]
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
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 […]
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/.
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? […]
Don’t mind the slow load time, it’s because of bad hosting 🙂
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 […]