Sometimes you visit a site and immediately see something you like. A sidebar, a theme, or a font and think to yourself “How do I get that on my site?”. In this tutorial, I show you how to add Google fonts to WordPress with or without a plugin. Let’s get started! Step 1: Find the […]
Category: WordPress
How To Access Data Key/Value Pairs In WordPress
One of the strengths of WordPress is that it can be used to create just about any kind of site. It handles regular static sites just as well as dynamic data-driven ones. Normally, dynamic sites are created using certain themes and plugins like WooCommerce. This allows you to easily create pages that display new prices, […]
Where To Put Custom Code In WordPress (Hint: Use a Plugin)
You’ll often find code to insert while researching some WordPress problem. Most people who come across this for the first time, have no idea where to place it. The usual response is your theme’s “functions.php”. But this is a bad idea. Why not Use Functions.php for WordPress Code? Using functions.php to insert code in WordPress […]
How to Create A Child Theme In WordPress (Even Without FTP)
If you’re serious about maintaining a WordPress blog, then it’s essential that you know how to create a child theme and use one yourself. A child theme is merely an extension of an existing theme that you can modify safely. Why not modify the parent directly? Because theme developers release updates of their software regularly, […]
How To Get The WordPress Theme Folder Without FTP Access
Sometimes you might find yourself working for a client that doesn’t know about FTP. They may have installed WordPress via their cPanel installation script, and don’t know how to create FTP users. Now it’s difficult (but not impossible), to develop and maintain WordPress without FTP. Let’s say you want to create a child theme, but […]
How to Upload Your Website in cPanel – Part II: The Database
In Part I of this series, I showed you how to transfer your files and folders from your older cPanel account to NameHero. But modern Content Management Systems (CMSs) are far more than mere files. The “meat” of your site is in the database. To upload your website in cPanel, we need to move the […]
How to Upload Your Website in cPanel – Part I: Files and Folders
You’ve just purchased a hosting package from NameHero. Now what? In this tutorial, I’ll show you how to upload your website in cPanel after downloading it from your old host. Here, I’m going to focus only on the files and folders of your website, not the database. For database migration, read the other tutorials on […]
How To Redirect A Page In WordPress Without A Plugin
Updated: 12/11/2023 Let’s say you’re checking out your Google search console statistics and you find that some users have clicked through to a non-existent page on your site like this: Oh no! A bad user experience means an immediate bounce back to the search results, and a possible signal to Google that your site isn’t […]
Reliably Display Shortcodes In WordPress Without Executing Them
Shortcodes are an integral part of WordPress – they’re just so useful! However, displaying them “as is” in posts without executing them is a bit of a problem. Let’s say you’re writing a post about shortcodes and want to include a few examples. If you just type them into the WordPress editor, they’ll execute! In […]
How WP Rollback Saved The NameHero Blog
If you’ve followed our blog here for any length of time you know how militant I am about keeping your WordPress installation including your themes and plugins updated. This is the number one cause of websites getting exploited and injected with Malware. Imagine leaving a bag full of cash in your car with the doors […]