How to make an XML sitemap for WordPress

Sitemaps are important because they can notify search engines of all the webpages on your domain. The sitemap is a structured way to tell for example Google what pages it should add to their search index. If you use WordPress, there are a couple of ways to generate a sitemap for your website. What is Continue reading →

 

Secure WordPress login page with Cloudflare

Cloudflare is a great way to protect and speed up your WordPress website.  I use their services as well for many years now and I’m very satisfied with their offerings. Here is a small (but possibly very important!) tip to maximise the security of your WordPress login page if you use Cloudflare as your DNS Continue reading →

 

Hide all WordPress update notifications in dashboard

WordPress has a build-in upgrade system. This system automatically informs you when there is an upgrade available for WordPress, or one of the themes or plugins that are installed on your WordPress installation. To disable this update notification, there is no switch in the settings menu or anywhere else in the admin dashboard. To prevent Continue reading →

 

WordPress: If homepage or index.php

To display content in WordPress only on the homepage (example.com) or on the index page (index.php), use the following code snippet: WordPress: If homepage or index.php was last modified: December 25th, 2015 by Thomas

 

Enable AMP HTML on your website

AMP HTML is an initiative from Google to speed up page load times drastically. The idea is to only load the essential content of that page, while leaving the Javascript and other non-essential elements behind. AMP stands for Accelerated Mobile Pages. Google, on their official blog, themselves say the following about this project: We hope Continue reading →

 

Remove the favicon feature in WordPress

Via the customizer, recent versions of WordPress allow you to add a favicon to your site automatically. The feature generates a favicon in the right sizes and inserts them in the <head> of your HTML code. It’s an ideal way to have a valid image for your favicon and mobile devices. However, when I was Continue reading →

 

Fix Image Upload “HTTP Error” on WordPress

When uploading an image on my WordPress blog, I received a general error that said HTTP error. As a result, the image upload failed. Luckily, I quickly found a fix. I recently upgraded my PHP version because of the speed improvement and the security patches. So I first tried looking for a permission mismatch somewhere, Continue reading →

 

Visual Editor not showing up on WordPress

When creating or editing a WordPress post or page, a user has the option to choose the visual editor (using TinyMCE) or text (the source code). One of my websites, with a clean WordPress installation and no plugins, decided to not show the visual editor buttons. So, I could only use the text editor. There Continue reading →

 

Hide “Customize” menu option in WordPress

With the WordPress 4.3 release, the WordPress.org development team made some visual changes to this great CMS. One of them is the addition of a Customize option in the top admin bar, right next to your site’s name. Customize link added in the toolbar to swiftly make changes to your site. It’s great if you frequently make Continue reading →

 

Add language attribute per post in WordPress

There are numerous ways to create a multilingual WordPress website. However, there is not much information to be found if you just want to have WordPress website in one language, while only writing specific blog posts in another language. For example: your mother tongue is Dutch. To gain an international audience for your website, the Continue reading →

 

Remove Emoji javascript file in WordPress

WordPress supports emoji’s, these smiling faces, cats, dogs, planes, … and for your WordPress website to properly display them, a bit of extra code is added. If you wish to disable emoji support on your own WordPress blog, you want to remove this javascript file: /wp-includes/js/wp-emoji-release.min.js which dynamically loads these two files: /wp-includes/js/twemoji.js /wp-includes/js/wp-emoji.js Personally, Continue reading →

 

Fix a blank WordPress website

There was a friend of mine who got in touch with me about his WordPress website installation. He got a white screen when opening his website, on all of his pages, even the login page. There was no way to access the dashboard. To fix this issue, I first checked the root of the installation Continue reading →