Did you ever want to add a Wikipedia like table of content box on some of your long articles? A table of content makes it easier for users to jump to the section they want to read. In this article, we will show you how to create a table of content in WordPress posts and pages without writing any HTML or CSS.
Why Add Table of Contents in WordPress Posts?
You may have seen the table of contents on websites like Wikipedia. A table of contents makes it easier for users to jump to the section they want to read in long articles.
It also helps with your WordPress SEO because Google automatically adds a jump to section link next to your site in search results.
You can manually create a table of contents in WordPress by writing HTML code. However that is difficult for beginners because you have to manually create a list, add links, and add ID attribute through-out the article.
But there’s an easy way. Let’s take a look on how to easily create a table of contents in WordPress posts and pages.
Subscribe to WPBeginner
If you don’t want to watch the video tutorial, then you can continue reading the text version below:
Creating a Table of Contents in WordPress
First thing you need to do is to install and activate the Easy Table of Contents plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit Settings » Table of Contents page. From here, you can manage general settings for the table of contents like selecting position, choosing a label for the container, etc.
You can also enable or disable auto-insertion of the table of content for each post type. If enabled, then the plugin will automatically add a table of contents for any article that has more than 4 headings. You can change that to any other number that you like.
Typically, we don’t recommend adding a table of content on every article unless all of your articles are really long.
Next, you can scroll down to change the appearance of the table of contents box. From here you can select a theme, adjust width and height, set the font size, or create a custom color scheme for your table of contents box.
After that, you need to go to the Advanced settings section. The default options would work for most websites, but you can review these options to see if you would like to adjust anything.
Don’t forget to click on the Save Changes button to store these settings.
Adding a Table of Contents to WordPress Posts or Pages
Unless you have disabled the auto-insertion, the plugin will now automatically start adding a table of contents to posts based on settings you chose earlier. You can also manage the settings on a post by post basis.
On the post edit screen, you will notice a new section to add and manage the table of contents for your post.
In this section, you can disable auto-insert option for the table of contents on this post specifically. You can also define which heading level to use for the table items.
Note: If you change any setting in this box, then it will override the global settings for this specific post / page.
Once you have written the article with multiple headings, you can simply preview it to see the Table of Contents in action.
The table of contents will appear just above the first heading in your article. Your readers can click on links and jump to the section they want to read.
We hope this article helped you learn how to create a table of contents in WordPress posts and pages. You may also want to see our guide on how to appear in Google answer boxes with your WordPress site to get more search traffic.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.
Want to know the difference between domain name and web hosting? For beginners, domain name and web hosting can be daunting terms. However, you’ll need to own both a domain name and web hosting in order to create a website.
In this article, we’ll explain everything you need to know about domain names and web hosting.
What Is a Domain Name?
A domain name is the address of your website on the internet, like Google.com or IsItWP.com. It’s what your visitors type into their browsers to access your website.
To be able to create a website, the first thing you need to do is purchase a domain name along with web hosting. Once you register a domain name, you get the right to use that name for your website for a year. You are required to renew your domain registration as long as you want to keep the name for your site. And, if you ever lose interest on a domain name, then you can let it expire so that someone else can purchase it.
A domain name typically costs around $14.99 per year.
What Is Web Hosting?
Web hosting is where people store the content and files of their websites.
When a visitor tries to access your website by typing in your web address (domain name), then they’ll be directed to the website files stored on your web hosting server.
Oftentimes, the term web hosting refers to the company that rents out their computer/servers to host your website and provides internet connectivity to ensure your website is available online around the clock.
A web hosting account typically costs around $7.99 per month.
Domain Name vs. Web Hosting; How are They Related?
A good way to understand the difference between the two is to think of them this way: if the domain name’s the address of your house, then web hosting is the actual house that the address points to.
In fact, a domain name is like an address forwarding service. As people type in the address of the website they want to visit, it points to the IP address that contains your website. An IP address is a series of numbers, such as 22.214.171.124. This IP address then points to the location on the server that contains your website files.
The reason we use domain names instead of IP addresses is that names are easier to remember than a long string of numbers.
In a nutshell, your domain name points to your IP address, which, in turn, points to your website. That way, users around the world can easily access your website by simply typing in your domain name into their web browser.
There are different types of web hosting to choose from such as shared hosting, VPS hosting, WordPress hosting, eCommerce hosting, dedicated server, blog hosting, and reseller hosting. When you’re starting out, we recommend you choose shared hosting or WordPress hosting because they are ideal choices for most website owners and bloggers in terms of affordability and needs.
You can read more about different types of web hosting.
If you specifically want to build a WordPress site, then we recommend you to choose a WordPress hosting service. In most cases, both shared and WordPress hosting cost pretty much the same. The only major difference is that WordPress hosting comes preinstalled with WordPress on your hosting account. This offers great convenience so you don’t have to manually install WordPress on your web hosting account.
We’ll show you how to purchase a domain name and web hosting, step by step.
How to Purchase a Domain Name and Web Hosting
One of the first things you’ll need to do to create a website or blog is purchase a domain name and web hosting.
When you want to start a new website, the combined cost of domain and hosting can seem like quite a lot.
That’s why we’ve worked out a deal with Bluehost to offer our users a free domain name, free SSL, and over 60% off on WordPress hosting. It’s an amazing offer to get started.
Click here to Claim this Exclusive Bluehost Offer »
Bluehost is one of the largest web hosting providers in the world. They have been involved in the WordPress community since 2005, and they are an officially recommended hosting provider by WordPress.org.
Let’s take a look at a step-by-step guide on how to purchase web hosting along with a domain name.
To start your WordPress blog, head over to Bluehost website and click the Get Started Now button.
On the next page, you’ll be asked to choose a plan. As you’re just getting started, you can choose the basic plan that also includes a free domain and free SSL. You can always upgrade your account as your site grows.
In this step, register a domain name for free. Bluehost will cover the cost of your domain name registration.
You’ll now be prompted to enter your account information. For easy registration, you can sign in with Google with just a couple of clicks.
After entering your details, scroll down the page until you find the package information box. You can select the basic plan for 12 months, 24 months, or 36 months. You can also see that a few addons are preselected which increases the total price. You can uncheck these addons because you won’t be needing them right away. You can always add them later, if needed.
Note: Choosing the 36 months plan will get you the best value for your money!
Once you have configured your plan, scroll down the page further to enter your payment details. You will need to Agree to their Terms of Service and then, click Submit.
You’ve successfully subscribed to a hosting plan. You will be asked to create a password for your account. After that, you’ll receive an email with details on how to log into your web hosting control panel (cPanel) where you can manage everything from hosting files to emails and support.
For a more detailed step-by-step guide on creating a web presence, you can follow our articles below:
Waive Off the Domain Registration Fee With BlueHost Alternatives
When you purchase a domain name and web hosting with Bluehost, you can waive off the domain registration fee for the first year. Another benefit is that you don’t have to keep two different accounts for managing both the domain name and web hosting.
If you’re looking for Bluehost alternatives that give you a free domain while purchasing a web hosting account, then here are a few web hosting providers to consider.
How to Register a Domain Name Separately
You don’t necessarily need to buy both the domain name and web hosting together. Instead of buying them together, you can get a domain name from a domain registrar first. And after purchasing your web hosting account, you can point your domain name to your web hosting by editing its DNS settings.
Conversely, when you purchase both a domain and hosting from the same company, then you’re not required to change the DNS settings. Plus, it also provides you with a high level of convenience because you can manage and renew both services under the same account.
If you’d rather purchase a domain name separately, below are some popular domain name registrars to consider:
How to Transfer Your Domain Name
No matter where you registered a domain name from, you’re free to transfer it to another registrar whenever you want.
Users usually transfer their domain name if they’re not satisfied with the service offered by their current domain name registrar.
Whatever your reason for transferring is, to initiate the transfer, we always recommend you to wait at least 45 days after the registration or renewal. ICANN, the international organization that oversees domain names, requires one year renewal whenever a transfer is initiated. By transferring your domain name before that period you could lose that year’s renewal fee.
How to Switch Your Web Hosting
In some cases, switching your web hosting is easier than transferring your domain name to another registrar. It’s because most hosting providers offer free website transfer. If you’re planning to transfer a website to another web hosting provider, the first thing you should do is ask your new hosting provider whether they offer a free website transfer.
If yes, you can hand over the required login credentials to the customer service for the free website transfer. Usually, web hosting providers only offer free cPanel to cPanel transfers. If your existing web host doesn’t use a cPanel, then you might want to transfer it on your own.
For example, if you’re running a free WordPress site on WordPress.com and then you decided to switch over to a self-hosted WordPress platform, then chances are your hosting provider doesn’t offer you a free transfer.
In that case, you can follow our step-by-step guide on how to move your website from WordPress.com to WordPress.org.
We hope this guide helped you understand the difference between domain name and web hosting. If you enjoyed this article, you might also want to read our guide on how to start a website.
Are you looking for a file download manger for WordPress? While you can simply upload a file and add a download link in your post, it’s not scalable. A WordPress file download manager can help you easily manage, track, and control permissions on file downloads. You can even use it to sell file downloads. In this article, we will show you two easy ways to to manage, track, and control file downloads in WordPress.
Method 1. Managing File Downloads in WordPress Using WooCommerce
This method is easier and uses the most popular eCommerce plugin for WordPress, WooCommerce. It is perfect for users who want to sell file downloads or users who want to make an online store.
WooCommerce can be used to sell both digital downloads and physical goods. You can also use it as your WordPress download manager to offer free downloads. WooCommerce allows you to easily track users, manage downloads, and view stats.
Let’s get started.
The first thing you need to do is install and activate the WooCommerce plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to click on the run setup wizard button to configure WooCommerce.
Follow the on-screen instructions to finish the wizard.
Once you are done, you can go to Products » Add New page to add your first file download as a product.
First, you need to provide a title for your product and its description. After that, scroll down to the ‘Product data’ section.
From here you need to check the ‘Virtual’ and ‘Downloadable’ checkboxes to indicate that the product is a digital download.
Next, you need to enter the price. If you want to add a free download, then you can set the price to 0. Otherwise, you can set a price for the download file.
After that, click on the Add File button to upload your download file.
You can review other options on the page. For example, you can add product images, add a short description, select product category, and more.
Once you are satisfied, click on the publish button to make your product available.
Your users can now go to the product page and add the product to their cart. If it is a free product, then they will be able to checkout without adding payment information. Otherwise, they will check out by making a payment.
After the checkout, the file will be downloaded to the users’ browser.
To view how each of your file download is doing, you can go to WooCommerce » Reports page. From here you can see your sales by date, by products, and categories.
You can also view customer downloads report which will show you a log of file downloads by customers.
Method 2. Managing File Downloads Using WordPress Download Manager
This method is recommended for users who want a dedicated download manager for their website. WordPress Download Manager allows you to manage both free and paid file downloads.
It lacks some functionality and extensibility of WooCommerce, but it makes up for that by offering more specific features you’d want to see in a file download manager for your website.
First thing you need to do is install and activate the WordPress Download Manager plugin. For more details, see our step by step guide on how to install a WordPress plugin.
Upon activation, you need to visit Downloads » Add New page to add a new file download.
First, you need to provide a name and description for this download. Next, you need to click on the add files button on the right column to select or upload download files.
After that, you need to scroll down to the ‘Package settings’ section. From here you can set different settings for the file download.
Next, you can switch to the Lock Options tab where you can set different rules to restrict file downloads. By default, the plugin allows you to restrict downloads to users agreeing to terms, a password lock, or a recaptcha lock.
Once you have configured the Lock Options, you can click on the icons tab to select an icon to display next to the download.
After you’re done, go ahead publish your file download.
Adding File Download to a WordPress Post or Page
WordPress Download Manager makes it easy to add file downloads anywhere on your website.
Simply go to Downloads » All Files page and copy the shortcode next to the file you added earlier.
You can now paste the shortcode in any WordPress post or page content where you want to show the file download button.
Once done, click on the save or publish button for your post/page and visit your website to see the file download in action.
Adding Paid File Downloads in WordPress Download Manager
WordPress Download Manager also allows you to add paid file downloads to your WordPress site.
To add paid downloads, you will need to visit Downloads » Add-Ons page. Under the free addons tab, you need to locate ‘Premium Package – WordPress Digital Store Solution’ add-on and then install and activate it.
Upon activation, you need to visit Downloads » Settings page and then click on the ‘Premium Packages’ tab.
From here, you can configure payment settings for your paid file downloads. By default, the plugin allows you to accept payments using PayPal. You need to click on the ‘Payment’ tab to add your PayPal email address.
Don’t forget to click on the ‘Save Settings’ button to store your changes.
You can now go to Downloads » Add New page to add your file download. Under the ‘Package Settings’ section, you will now see a new tab to setup pricing options.
After adding your file download and setting up pricing, you can publish the download.
Next, you need to visit Downloads » All Files page to copy the shortcode. After that, you can add the shortcode to a post or page to display the file download.
Tracking File Downloads in WordPress Download Manager
WordPress Download Manager also allows you to easily view your download counts and history.
Simply go to Downloads » All Files page, and you can view download counts next to each item.
You can also view a log of all download activities on your website by visiting Downloads » History page. You will see recent download activity with usernames and IP addresses.
We hope this article helped you learn how to manage, track, and control file downloads in WordPress. You may also want to see our step by step guide on how to create a membership site in WordPress.
If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.