In the last tutorial, we saw how to give a user sudo privileges. One of the main benefits, is that we’re now free to disable root logins on Linux. So why is important? Most Linux installations come with the root user by default. Ubuntu is one notable exception where root is disabled. The problem with […]
How To Change The Homepage In WordPress
Today WordPress powers around 30% of all sites on the Internet. That’s a staggering number. And while today it’s suitable for just about any kind of site design, it still sticks to its original roots in the blogging world. As a result, the homepage displays a list of latest posts in reverse chronological order. While […]
How To Allow A Linux User To Run Sudo Commands With NameHero
Linux’s “secure by design” philosophy places many constraints on the default permissions granted to every new user. Some of these precautions include disabling the ability to run commands with “sudo”. Sudo is a special command that permits running admin level command without actually being root. Sometimes however, you need to let people run these commands […]
How To Add Google Fonts To WordPress Without A Plugin
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 […]
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 […]