Get a List of Child Pages without Altering Templates

If you have a list of child pages, you may want to show them whenever someone visits the parent page. Several solutions on the net involve modifying your theme template or creating a new template page, and some even recommend installing a plugin. But none of these solutions appeal to me. I … [Read more...]

How to Set the Default Facebook Image in WordPress

This article will show you how to set a default Facebook image for your WordPress post. When you share it on your own, you might be able to choose the image from the options, or upload a new one. But you have no control over how it might when someone else shares your content. Luckily for us, … [Read more...]

Convert WordPress to HTTPS with SSL for Free

Converting your WordPress site to use HTTPS is easy with Cloudflare. There are two ways of doing it. Generate a Cloudflare Origin certificate for 15-years Flexible SSL The first method is more thorough. The second one as shown below, is called "Flexible SSL", and only encrypts data … [Read more...]

Track JavaScript Disabled Visits with Google Analytics in WordPress

Update: With the latest GA4 replacing Universal Analytics, this code doesn't work anymore. However, Google will still continue to collect data from Universal Analytics, though we don't know when they'll stop. As of this writing, they haven't retired it yet - I'm continuing to use it myself. As … [Read more...]

Here’s How Hackers Can Find your WordPress Username

So you've taken pains to hide your WordPress login and admin screens from hackers. You've changed your default usernames and removed all mention of them from your theme. You're safe right? There's no way that hackers can find your login pages, let alone your usernames. Wrong! Unless you take … [Read more...]

Remove Author Information from Twenty Sixteen Theme

Even though the default WordPress theme is highly customizable, there are many things that you cannot change directly. For example, every post will show the author's name and gravatar next to it on the left-hand side, as shown here: Author Name Next to Every Blog Post Solutions on the net for … [Read more...]

WordPress Code Snippets Tutorial

Often when you try and solve a problem with WordPress, you'll come across sites giving you snippets of code to insert into your website. But if you're new to the platform, you'll have no idea where to paste this code. This quick WordPress code snippets tutorial will show you the right … [Read more...]

WordPress Child Theme Tutorial – With Pictures

If you're going to make changes to your theme, the accepted practice is to create a child theme. The reason is that when the designer releases a newer version of the theme, all the files in the directory are replaced - including those you've customized. So your changes are lost, … [Read more...]

Why you Should Create a WordPress Custom Plugin for Code

You'll often find custom code snippets on various websites, asking you to paste them into your theme's functions.php. While this is useful, it's risky because WordPress will overwrite your code with the next theme update. The standard advice is to create a child theme, and you can read my tutorial … [Read more...]

Why Use Custom Post Types in WordPress?

The use case scenarios for custom post types are not always obvious. WordPress already has the "category" functionality, and you can also have child categories. So what's the problem? Why would you want to create an entirely new custom post type instead of just calling it a category? It all comes … [Read more...]

WP-Tweaks