Linktree to a Website: Switching from Linktree to Your First Website

screenshot

Going from Linktree to a website may seem daunting. If you’re a freelancer, small business owner, entrepreneur, or solopreneur, then you may have built a solid social media presence, and you may still be using linktree as your pseudo-homepage. But if you want to take your business to the next level, then it may be time to start your own website.

Linktree to a Website: Why Bother?

When you own your own website, you have full control over what content you want distributed, and how you want people to see it. You can use social media. But you’re limited to the audience on your platform, and your competition is right up next to you. When you have your own website, your audience is the entire internet. And once people are on your website, they are looking at you, not your competitors.

Linktree to a Website: Take Your Time

Bookmark this page. You don’t have to build your website in a single sitting.

Linktree to a Website: Pick a Web Host

One of the simplest and cheapest ways to set up a website is to set up WordPress on a shared server through a web host that uses CPanel and Softaculous, then follow these instructions. Hostgator is one service provider that uses these services, but there are also others.

Linktree to a Website: Install the Big Chill Theme

Once you have WordPress set up, you can download the Big Chill theme directly through the admin center. Don’t worry about the default colors or the default fonts or even the default layout. You can change all of that. From your WordPress admin center just go to go to Appearance > Themes > “Add New”, then type “Big Chill” into the search bar, then select install, then select activate.

Set Up the Customizer Part 1

Before you add your content, you want to set up the basic layout of the Customizer. From the admin page left sidebar go to Appearance > Customize.

In Part 1 of setting up the customizer, we’re going to just get the layout correct. The first thing that you want to do is go to Homepage Settings. Then select “A static page”, then under the Homepage dropdown select “Sample Page”

Linktree to a Website screenshot
Result of Update

Then you’re going to want to go to back out of that section and into the “Homepage Header Image” section. Scroll to the bottom and under “Current header” click “Hide Image”. The sample content should move up the screen.

screenshot
Result of Update

Next, you won’t need the navbar. So go into the Additional CSS section of the customizer and add the following code:

#site-navigation {
	display: none;
}

Finally, go to the Layout section and move the first three “Space from Top” options all the way to the left.

Linktree to a Website screenshot

You should have a result similar to the following:

screenshot

Now you can push publish and close out of the customizer for now.

Linktree to a Website: Get Your Content Ready

Hopefully, you have at least one image that you can use for your site. Any image will do. If the site is for yourself, then a picture of yourself is fine. Before you add the picture to the block editor, you’ll want to make your image website friendly. You should reset the width of your image down to 600px.

Linktree to a Website: Set Up Blocks

Next, you’ll want to add your content in the block editor. From the main admin page, go to Pages > “All Pages”, then select “Sample Page”. Change the title from “Sample Page” to “Homepage”. Then delete all of the text in the body of the page.

Next, you should add a media & text block. The picture below shows you how to add it.

Linktree to a Website screenshot

You can add text by adding text to a block in the text section. You can add a block by clicking in the section. If you want your text to be a heading, then type “/he” in the block and select the heading option. You can use the same technique used to add social icons referenced in the picture below.

Type in something about yourself. Then add that image that you made website friendly referenced in the previous section of the this blog post.

Add Your Social Icons

Next, you should open a new block and type “/soc”. You can select to add a social icons block. See the picture below:

screenshot

Add the social icons block. Then select the entire social icons block (as opposed to an individual icon). You can click the icon to the left on the block bar above the block to select the outer block. Using the block bar that hovers above the block, you can change the size. I recommend the huge setting. And using the block tab on the right side of the screen, you can change the style to “Logos Only”. Then change the color to white. You can also change the size of the text above the social icon by clicking on the each respective text block and adjusting the size using the block tab on the right side of the screen.

If WordPress does not have all of your social media icons, then you can add a row of custom buttons in a new block below your social media block. You can get this started by using the technique featured in the picture above, but substitute the reference “/but”.

Add a Custom Class

Finally, you want to add a custom class that we’ll use later. Select the media and text block (not the contents inside). Then go to the block tab on the right side of the screen. Then go to advanced and add “bb-home-image” under the Additional CSS classes section. See the screenshot below:

Linktree to a Website screenshot

Make sure that you save your work before you leave.

Delete Unused Pages

Since this is a one page site, you’re going to want to go back out to the main admin page and delete the “hello world” blog post. You can do this by going to posts, then find the “hello world” post and click “trash” underneath it.

Linktree to a Website screenshot

Set Up the Customizer Part 2

Now that you have all of your content in place, you want to refine how your site looks even further. Go to Appearance > Customize.

Now is the time to change the way your colors look. You might think that it looks pretty dark. Go into the customizer section marked colors. Then update the colors to “212529” for “Navbar and Footer Foreground Color”, “Body and Sidebar Foreground Color”, and “Background Color”.

Linktree to a Website screenshot

You may also want to turn off the “Shadow Halo and Link Color Backlight”. And you may want to switch “Body Link Color” and “Body Link Hover Color” to white.

Custom CSS

Next you may want to remove the back to top button since your page is so small. Just go to the Additonal CSS section and copy and paste the following:

#bb-back-to-top {
	display: none !important;
}

Next we’re going to use the home image class we added. Add the following to Additional CSS:

.bb-home-image img {
	box-shadow: 10px 10px;
}

The result should look similar to the following:

Linktree to a Website screenshot

Now, you have a great foundation for your website. You’re ready to publish it and share it on social media. As you obtain more content that you wish to share, you can use the instructions below to add more stuff.

Advanced Options

How to Make a Full Screen Image Mobile Compatible

A full screen image is a great way to make a landing page look great. And there have never been more options to set one up. Unfortunately, full screen images are tricky. And there are a lot of ways that you can add one that causes your web page to screw up.

The Dilemma of Full Screen Images

Full screen images have to satisfy very large screens and very small screens. Further, mobile devices interpret how images are printed to the screen different than laptops and desktops. Mobile devices interpret code differently. This causes changes in performance. Mobile devices tend to load pages slower than laptops and desktops. This slow load can be made even slower depending on how you set your images.

A full screen image
An example of a full screen image

Full Screen Image File Size

Like any image, you need to set your full screen image file size properly. You should convert your image to webp, then use trial and error to reduce your image’s file size to as small as possible without distorting the image’s quality.

Full Screen Image Dimensions

You’ll want your full screen image dimensions to be large enough to support large desktop screens. If you set the width to 2560 px that ought to be a large enough width. You will also want a second smaller file size of 600 px width for mobile devices.

Mobile Compatibility with Static HTML or Bootstrap

Mobile compatibility with custom static HTML written pages require more responsibility than a CMS driven website like WordPress. However, they also offer more flexibility than a CMS driven website. Static HTML pages also don’t require the use of PHP which puts less stress on your server and allows faster output.

Although CMS sites deal with a lot of redundant page load problems using automation, CMS sites will almost always overlook certain conditions that can be more easily handled using a static HTML driven webpage.

Using Fixed Images on Mobile Devices

Fixed images are images that stay in the same place when the screen moves. These kinds of images have special considerations on mobile devices. You should not make the assumption that setting an image to fixed using CSS will have the same result on both desktops and mobile devices. In fact, it is nearly certain that there will be a difference.

What makes matters even worse is that different mobile devices will produce different results. On IOS the image will be switched from fixed to static then stretched to fit the screen, and on Android the image will be fixed, but it will make a choppy adjustment to the screen size as the address bar is added and removed.

One solution is to avoid using fixed images, then set multiple image sizes for multiple screen sizes. However, if you want to use fixed images on mobile, I’ll show you the best methods later in this article.

Running a Full Screen Image on Android

Although Android tends to be more flexible than IOS, it tends to load webpages slower if you push it too hard. Nevertheless, Android is the most used smartphone operating system. The consequence is that whenever you have a smartphone sized screen, it behooves you to assume that it is being run on an Android operating system and you should minimize or avoid using fixed images.

Full Screen Image Sizing for Tablets

IPads tend to load fast, but you have to keep in mind that they run on an IOS operating system which has special considerations when delivering images. Having said that, IPads tend to outperform Androids if you know how to load the image properly. The main thing that you have to consider is fixed images. Fortunately you can use the Big Themes to solve that problem for you. I’ll cover that solution later in this article.

Managing Full Screen Image Sizes with Bootstrap

Bootstrap is a mobile first design, so it behooves you to use your smallest images as your default images. That means when you are writing your CSS, you should load the mobile size image first, then tell the browser that if the screen is sufficiently large, then it should load a larger image. For example, you could use something like:

header.masthead {
  background: url("../img/SmallImage.webp");
}
@media (min-width: 600px ) {
  header.masthead {
    background: url("../img/LargeImage.webp");
  }
}

This above code is a good primer for a full screen image that moves with scrolling.

Using WordPress and the Big Themes to Manage Fixed Images

The Big Themes all come with built in scripts that will adjust your images so that they are compatible with your mobile devices. There’s a lot that goes into trying to write a browser side script that is platform independent. So you can save yourself a lot of time and effort if you run a WordPress theme that does this for you. The Big Themes can help you with this.

How Many Image Sizes Do You Need?

You can always make an argument to make another image size. But if your goal is to simply have a good mobile page speed score than usually two different page sizes are sufficient. Your primary consideration needs to be a large screen phone with an Android operating system.

Using the Big Themes

The Big Themes have multiple options for setting full screen images. To learn about setting up the Big Themes, you can head over to the instructions page.

Once you have set up your theme, you can make your full screen images more mobile compatible using the customizer. Then you can use the Additional CSS section of the customizer to make your image more mobile friendly. For example, you could try adding the following:

@media screen and (min-width: 600px) {
	.home .wp-custom-header img {
           content: url("LargeImage.webp");
        }
}
@media screen and (max-width: 599px) {
	.home .wp-custom-header img {
          display: none;
	}
	.home .wp-custom-header {
	   background-image: url('smallImage.webp') !important; 
           background-position: center center;
           background-size: cover;
        }
}

Need Help Writing the Code?

Some people are better at writing CSS than others. Hiring a professional can be a great way to make sure that you are doing things correctly.

Creating a Maximum Page Width for Your Web Pages

Computer screens keep getting larger. This can create awkward and convoluted compromises if you’re trying to create a mobile first web design. Add to that problem the need to push out new content fast, and you may come to realize that adding a maximum page width to your web pages is the solution to solid design with efficient productivity.

Can’t Somebody Else Deal With This?

If you don’t have the time or patience to dive down the DIY rabbit hole, and you would rather have somebody solve this problem fot you, then feel free to contact me about my professional services.

The Fundamental Dilemma of Modern Web Page Dynamics

Picture the screen of your smart phone. Now picture one of those great big curved gaming screens that take up the top of a whole desk. Next try to picture the web page that looks good on both of those screens. Finally picture adding lots of new content to those sites over a short period of time. Can you see how if you don’t manage this properly, it can become difficult to deal with?

Understanding Mobile First Design

Purist mobile first designers will tell you that you should literally design the mobile layout first, then figure everything else out after. Sometimes that works. But often that isn’t the most realistic or exciting way to design a website. So an alternative design method is warranted. Another way to view mobile first design is to recognize that in every instance of page design, you must prioritize a way to get your web page looking good on the smallest mobile application that it may be featured on.

Mobile First Design and Maximum Page Width

Now that we have a standard for mobile first design, we have to consider how a site will feature a page on the largest screen imaginable. Keep in mind that a layout that loads well on a mobile screen can leave too much negative space on a large screen, and an layout on a large screen can run out of room if it is not repositioned on a small screen. So what do you do?

Using a WordPress Theme to Manage Page Width

In this article, I am going to show you how to use one of the Big Themes to manage width. The particular theme that I am going to use is the Big Chill theme. It is free through the wordpress.org repo.

Foreground Page Width Limits

A simple way to set a page width limit is to create a foreground that holds all of your content, then set a maximum width for that foreground.

Hypothetically, a foreground page width limit can be any value. However, I would consider two values in particular. The 1200px width limit is a conservative limit that is great if you want to be able to add content quickly without spending a lot of time making adjustments for edge cases, while still leaving yourself a lot of room for page design. The 1800px width limit is also a good limit that requires more management than the 1200px limit. But it is a good choice if you think that you will spend a lot of time serving your website to large screens. You can move beyond this limit. But ultimately you will want some kind of absolute limit because on a large enough screen almost any section of content will start to look awkward no matter how it is sized.

How to Set the Limits with the Big Chill Theme

You can download the Big Chill theme directly from wordpress.org, or you can go to your main admin page then go to Appearance > Themes > “Add New”, then type “Big Chill” into the search bar, then select install, then select activate.

To access the customizer from the main admin page. Go to Appearance > Customize. Page limits can easily be updated using the Big Chill Customizer. Find the Layout section, then scroll down to the control titled “Big Pages”.

1200px width limit

Once you are in the customizer, you can set the “Big Pages” control to on or off. The default setting is off. When the default setting is off, the page limit will not exceed 1200px, and margins will always be present surrounding the foreground. If the “Big Pages” control is turned on, then the foreground page width will only show margins when the page width exceeds 1800px.

1800px width limit

You’ll also want to set the top of your foreground body based on how you set your navbar. You should note that if “Big Pages” is off, you’ll use the top space controls above the “Big Pages” control. If “Big Pages” is on, then you will use the controls below, except on your blogging pages (posts). You will always use the top controls to define the blog pages. This allows you to create different page width standards based on the kind of content that you are publishing for a given page type.

Managing Negative Space in the Background

You can use a background image or even just a quality background color to fill in the remaining negative space on a large screen. The 1200px limit is the ideal limit for a background image.

1200px foreground width limit on a 2000px wide screen

Managing a Background Image

If you are going to use a background image, then you need to consider page load speed with particular attention being paid to your page’s load time in a mobile environment. Converting your images to webp is a great way to start to improve page load speed.

Managing Page Width With Columns

If you have a lot of content, and you need to serve a lot of links, a sidebar is a great way to solve both of those problems with one layout decision. Adding a sidebar using the Big Chill theme will set your total content maximum width to 1800px. This total content width includes the sidebar. So your main content width will never get too large. This works great for blogging environments.

Managing Page Width at the Section or Block Level

Theme developers will often design content to spread from one screen to the other by using a percentage value for content items. However, this can introduce a lot of problems. If you are considering future proofing your web page, you need to consider that a page screen has limits as to how small it can be before it becomes unusable, so you know that screen sizes are unlikely to get smaller than they are. However, there is hypothetically no limit to how large screens might become. Think of the side of a wall. A prudent web page ought to serve a layout that is ready to handle a visitor using a screen that is excessively large.

If you don’t use page width limits, then you will need to create custom section width limits using class names. And if you create custom content, then you may need to do this even if you are using page width limits.

Page Width Limits Allow Reduced Content Width Limits

It behooves you to always set some kind of width limit for every piece of content. This increases load speed, especially on mobile. Dealing with a background image is a good example of how to manage this problem. You should set your image background width to about 2560px. And it is also probably a good idea to not display the background image on mobile devices since it will be barely seen anyway, so it only serves to slow down the page load. You can make this update using Additional CSS.

For example, you could try the following with the Big Chill theme:

@media screen and (max-width: 600px) {
	#bb-back-image img,
	#bb-preloader {
		display: none;
	}
}
#bb-preloader{
	z-index: -999;
}
#bb-preloader:before {
	content: none;
}

A background image requires an inherently large file size that causes loading slow down on smaller screens. Now imagine having to deal with that problem for every image that you load.

When you use maximum page widths you know your image widths will not exceed certain sizes. You can then set image width at that size, and if the image size is mobile friendly, then there is nothing else to worry about.

The other major benefit of content width limits is it allows you to avoid creating too much negative space or rely on inappropriate font sizes.

Further Fine Tuning With Additional CSS

Everything above will give you what you need to know to get your page publication ready. But you can also explore page width management even further using Additional CSS with the Big Themes.

Questions?

If you have any questions, then please feel free to post them in the comments area. If you would prefer to have somebody build this kind of site for you, then feel free to contact me about my professional services.

Build Your Own Local Fonts WordPress Plugin

Building a WordPress plugin may seem daunting. But building your own local fonts plugin is actually pretty easy. The great thing about having your own plugin is your fonts will stay with you if you ever decide to change your WordPress theme. There are lots of different plugins that will allow you to set your fonts locally. But most of them feature a lot more overhead than is necessary. Most of what makes loading fonts locally complicated is understanding the font file path and assigning the font families.

This tutorial will be using the Big Themes as an example, but you should be able to use your new plugin with almost any theme that allows you to add custom CSS.

Assumptions

This is an advanced tutorial. You should understand the distinctions between hosting fonts with a third party CDN, hosting fonts locally, and using web safe fonts. You should also understand the basics of setting up a website.

Why Would You Bother Adding Your Fonts Locally?

Hosting fonts locally has become popular among many circles. But I generally don’t advocate for hosting fonts locally if it is unnecessary. Hosting fonts locally introduces a number of new problems that can be avoided when calling fonts from a third party CDN or using web safe fonts. But if it is done properly, then hosting fonts locally can be competitive with a third party CDN, but it probably will not outperform it with any consistency or significance.

In many cases, hosting fonts locally isn’t worth the time and effort. However, there are some reasons that you may want to do it. This tutorial assumes that you understand why you want to host your fonts locally and you have considered your other options such as using the Google CDN or using web safe fonts. It also assumes that you are using your own CDN to host your fonts. If you don’t have your own CDN, then hosting fonts locally will almost certainly slow down your site’s page load speed.

GitHub Template

I have created a plugin template called add-local-fonts that you can download and add to your WordPress plugins folder. It isn’t mandatory that you use this template because I will explain how to build your plugin one file at a time. But using this plugin may be helpful because you can use it to get something loaded and working fast, then you can modify it to serve your purposes.

Using CPanel

This demo will show you how to add a new plugin using CPanel. Most major webhosts use CPanel, so there is a good chance that you have access to this feature. If your webhost doesn’t use CPanel, then you will have to access your files using some other resource. If your webhost doesn’t have any kind of file access software, then you will need to set up a file transfer service like FileZilla.

Even if you have CPanel, I recommend using FileZilla to transfer the plugin template. Setting up FileZilla goes beyond the scope of this tutorial. But if you have it set up, then all you have to do is download my plugin, then unzip it, then transfer the file inside of it labeled “add-local-fonts” to your plugins directory.

Building the Plugin Using CPanel

Go to CPanel, then go to File Manager, then find your plugins directory by clicking through the file path “The name of your home WordPress folder” > wp-content > plugins.

Next, click on the button “+ folder”, then create the folder add-local-fonts.

local fonts
Adding a new plugins folder with CPanel.

Adding the Local Fonts Main Plugin File

Next, double click your new “add-local-fonts” folder, then click on “+ file” button, then add a blank file named “add-local-fonts.php”.

Then right click the new file and choose edit, then add the following code and save it.

<?php
/**
 * Plugin Name:       Add Local Fonts
 * Plugin URI:        https://bigbobnetwork.com/
 * Description:       Loads fonts locally.
 * Version:           0.1
 * Requires at least: 5.9
 * Requires PHP:      7.4
 * Author:            Bob Wilson
 * Author URI:        https://bigbobnetwork.com/
 * License:           GPL v2 or later
 * License URI:       https://www.gnu.org/licenses/gpl-2.0.html
 */

function big_bob_add_font_scripts() {
    wp_enqueue_style( 'bb-add-fonts', plugin_dir_url( __FILE__ ) . '/bb-add-fonts.css?v=0.1', array() );
}
add_action( 'wp_enqueue_scripts', 'big_bob_add_font_scripts' );

All the main plugin file does is add another file, so now we’ll add that file.

Adding the Local Fonts CSS file

Using the same process, you want to add a file named “bb-add-fonts.css”, then add the following code to the file.

@font-face {
	font-family: Abel-Regular;
	src: url(Abel/Abel-Regular.ttf);
}

@font-face {
	font-family: RobotoCondensed-Bold;
	src: url(Roboto_Condensed/RobotoCondensed-Bold.ttf);
}

@font-face {
	font-family: RobotoCondensed-Regular;
	src: url(Roboto_Condensed/RobotoCondensed-Regular.ttf);
}

@font-face {
	font-family: SpecialElite-Regular;
	src: url(Special_Elite/SpecialElite-Regular.ttf);
}

This is just a template. You want to pay special attention to each file and how it is named and called and formatted relative to the directory path. You will use the same syntax and formatting when you add your fonts. The directory path (the part labeled src) will make more sense once you have added the font files to the plugin.

Choosing Your Local Fonts

This tutorial will show you how to add fonts from fonts.google.com. You can look up the fonts being used in this demonstration on their site and download them from there, or you can take them out of the plugin file in my GitHub repository. However, if you are using Google fonts, you can also let Google host them for you.

But you don’t have to download fonts from the Google fonts website. You can use any fonts that you have a license for. Not having a third party CDN to host your fonts is probably the best reason that I can think of to host your fonts locally.

Add Your Local Fonts Files

When you add files via CPanel, you can’t transfer folders, you will have to create the folder using the instructions above. This is one reason that file transfer software like FileZilla is preferable. All of the folders will have to match the paths defined in the above CSS file. This will be discussed in more detail below.

You can upload files by clicking the upload button. Then you can drag and drop each file into the appropriate folder. Or you can double click the folder you want to add it to and add it directly. You can restructure your folders as you see fit. Or you can put all of the font files in the main folder. However, you decide to structure it, you need to make sure that the paths in the CSS file are consistent with the location of your font files in the plugin.

For example, you could restructure your files like this:

local fonts
The various file path possibilities for font files

Then update your CSS file to this:

@font-face {
	font-family: Abel-Regular;
	src: url(Abel/Abel-Regular.ttf);
}

@font-face {
	font-family: RobotoCondensed-Bold;
	src: url(fonts/Roboto_Condensed/RobotoCondensed-Bold.ttf);
}

@font-face {
	font-family: RobotoCondensed-Regular;
	src: url(fonts/Roboto_Condensed/RobotoCondensed-Regular.ttf);
}

@font-face {
	font-family: SpecialElite-Regular;
	src: url(SpecialElite-Regular.ttf);
}

Add Additional CSS to the customizer

At this point, if you’re logged into to your WordPress admin center, then your file paths may not be saved and/or cached properly to your WordPress admin center. Before you go any further, you probably want to either completely close down your browser, or open your wp-admin in a new incognito (in private) browser, or use a different browser.

It can also be helpful to update the version number in your PHP file. This means you can change the demo from:

bb-add-fonts.css?v=0.1

to:

bb-add-fonts.css?v=0.2

Once you are in your WordPress admin center go to Appearance > Customize > Additonal CSS.

If you are using any of the Big Themes, and you are still using the demo fonts, then you should be able to add the following code to the Additional CSS section and notice an immediate change in your fonts. But if you don’t see a change, then try an incognito window or a different browser. You can also try changing the version number in the PHP file using the method referenced earlier.

/*Title Fonts*/
.site-title, .bb-site-title-top,
.bb-forest-cover h1,
.bb-forest-cover h2,
.bb-forest-cover h3 {
	font-family: RobotoCondensed-Bold  !important;
}

/*Heading Fonts*/
h1, h2, h3, h4, h5, h6, .site-description, .bb-site-description-top {
	font-family: RobotoCondensed-Regular !important;
}

/*Paragraph Fonts*/
body,
p, pre, textarea, .comment-author, .entry-content li, .wp-block-latest-posts,
.entry-meta,
.entry-footer,
.nav-links,
.comment-metadata,
.reply,
input,
select,
optgroup,
.bb-sideStick li,
#bb-sideSlide li {
	font-family: Abel-Regular!important;
}

/*Menu fonts*/
#primary-menu li,
#bb-sidebar-menu li {
	font-family: SpecialElite-Regular !important;
}

If you aren’t using the Big Themes, then you’ll need to determine your font classes by inspecting them in your browser.

Remove All Calls to the Google CDN

You should remove any calls you have to the Google CDN since you are no longer using those fonts.

It’s easy to remove calls to the Google CDN if you are using the Big Themes. Just go to the Typography section of the Customizer and delete everything from the input boxes including white space.

If you aren’t using one of the Big Themes, then you will have to consult your theme’s documentation to determine what to do.

Confirm that the Google CDN Calls Have Been Removed

You can confirm that your site is no longer making calls to the Google CDN by opening up your browser’s developer tools. Once you have done this, look into the HTML section and try to find any reference to “fonts.google”. If you can’t find any references, then you know that the Google CDN calls have been removed.

Make Sure That Your Site is Redirecting to Your SSL Page

If you are using an SSL certificate, then it is always a good idea to make sure that visitors are always being redirected to it, but it’s significance can be more apparent when hosting fonts locally.

If a site visitor doesn’t go onto to your https version of your site, then the wrong fonts will probably be delivered if you are hosting locally. When you add your fonts locally, you are defining their location through a relative path. This is something that you don’t have to worry about if you are using web safe fonts or the Google CDN.

What should you do if your site isn’t redirecting properly?

If your WordPress site is your homepage, then usually all you have to do is go to Settings > General then make sure that WordPress Address and Site Address both start with https.

If your homepage isn’t part of WordPress, then you can update your .htaccess file using CPanel by adding the following to the top of the file.

RewriteEngine On   
RewriteCond %{HTTPS} !=on   
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]  

RewriteOptions inherit   
RewriteEngine on   
Header set content-Security-Policy: upgrade-insecure-requests   

Questions About Adding Local Fonts?

If you have any questions, then feel free to post them in the comments section.

Understanding WordPress Widget and Menu Areas

Widget areas and menu areas in WordPress are features that have been around for a long time. And in the age of blocks, you might have the impression that they are no longer relevant. But that isn’t true. If you don’t understand WordPress widget and menu areas, then you are missing out on features that have a huge impact on your site.

Assumptions Before Reading About WordPress Widget and Menu Areas

You should understand the basics about setting up a website and using WordPress before reading this post.

The Basics of WordPress Widget and Menu Areas

WordPress widget and menu areas are theme driven. They are areas within the layout of your site designated by your theme where you can add content. If the area being designated is a menu area, then you can add a menu. And if the area being designated is a widget area, you can add what used to be known as widgets. Although today, it is more preferable to add blocks.

The Difference between Widgets, Menus, and the Block Editor

The block editor is used to add content to the body of individual pages and posts. Widgets and menus are added to areas of your pages that are global or semi-global. Menus and Widgets solve the problem of setting content onto every page or certain types of pages.

The Basics of Adding Content to WordPress Widget and Menu Areas

There are two basic ways that you can add content to a widget area or a menu area. You can use the designated admin sections on the admin page of your site, or you can use the customizer. Once you are used to adding to these areas, you may find that it is easier to just use the customizer because the customizer shows you your updates immediately. However, the customizer doesn’t offer as much working space, and it provides less information, so learning how the admin areas work can be a simpler way to understand all of the widget and menu features.

An Example of WordPress Widget and Menu Areas

Lots of WordPress themes use WordPress widget and menu areas. However, some use a lot of areas, some use a moderate amount, and some don’t use any. So today, we are going to use the free Big Themes to perform a demonstration of WordPress widget and menu areas. In particular, we are going to be using the free Big Chill theme.

Examples of Widget Areas

There are two major areas that tend be used for widget areas:

  1. Sidebars: These appear next to the body of your page. They may be featured on every page of your site, or they may be segregated to certain sections of your site.
  2. Footers: The same footer is usually shown at the bottom of every page. Although some sites may use different footers based on the section of the site that you are using.

Widgets could be used in other areas as well. For example, widgets may be available in your navbar, or there may be designated widget areas that are unique to a given theme.

Viewing the Widget Admin Page

The best way to get a summary of how your theme’s widgets work is to look at your theme’s widget admin page. I’ll use the Big Chill theme to demonstrate how this works.

You can find the Big Chill theme in the admin center by going to Appearance > Themes > Add New > then type “Big Chill” into the search bar. Once you install and activate the theme, you can go to Appearance > Widgets. When you click on one of the widget areas you will see a description of how the widget areas work on the right side of the screen.

Clicking on a widget area in the admin center

How to Read Widget Sections

The best way to understand how your widgets work is to read each widget section description. You should click on each section and read what it says while paying attention to how it is distinct from the other widget areas. It may be helpful to open up a second tab in your browser and look at the customizer. This will be discussed in greater detail below.

Inactive Widgets

The primary reason that you have inactive widgets is that you created widgets in another theme and your new theme no longer supports those widget areas. You can use the inactive widget section to copy and paste your widgets or blocks into your new widget areas.

Viewing Widgets in the Customizer

Once you become familiar with how your widgets are placed into the different sections of your site, you may find that you no longer need the widget admin area, and you can rely exclusively on the customizer for managing content in your widget areas.

You can find the Widgets section of the customizer from the admin center in the Big Chill theme by going to Appearance > Customize > Sidebar and Footer Blocks.

Screenshot of adding social media blocks to the widget footer area.

In the customizer you will find that there isn’t as much working space, and you will only see widget options that are actively available. I have written about how to add sidebars and how to add footers by using the customizer in other posts, including how to add an advertisement.

Examples of Menu Areas

There are three areas where menus tend to be displayed.

  1. Navbar
  2. Sidebars
  3. Footer

The great thing about using menu areas is when you add a menu using a menu area (as opposed to using a block), the theme takes care of all of the styling for you based on where you set the menu.

Viewing the Menu Admin Page

Using the menu admin page is a great way to get an overview of how your theme sets up its menus.

Main menu admin page

The controls are pretty intuitive, but it is important to pay attention to which menu is going where. So it can be helpful to look at the manage locations tab.

Managing the menu locations.

The important takeaway is that each menu location utilizes a unique menu. If you set the same menu in two different locations, then the same menu will appear in two different places. For example when using the Big Chill theme, you can add one menu to your navbar, then add another menu to your Main Sidebar and Page Sidebar areas. This would create and an extended sticky navbar. And it would collapse into the slide panel on mobile.

Full screen extended sticky menu
Extended menu on a tablet with the slide panel open
Extended menu on a phone in the slide panel

Viewing Menus Through the Customizer

Once you have become familiar with how your menus are added by viewing the menu admin page, you can probably rely on the customizer menu section to manage your menus. The menu options in the customizer are a lot more extensive than the widget options.

Screenshot of Menu options in the customizer

The Relationship Between Widget and Menu Areas

You should pay attention to how your menus and widgets are juxtaposed against each other. The existence of one can impact the position of the other. Assess all of your options before you start adding most of your content.

Questions About WordPress Widget and Menu Areas?

If you have any questions, then please post them in the comments area.