How to Add a Table of Contents in WordPress Posts And Pages?
Many of us have wanted to add a Table of Content on our WordPress Posts and Pages, Right? Well, I will show you exactly How to Create a Table of Content for your Website in a few steps with this Step-by-Step guide.
Many of us have wanted to add a Table of Content in WordPress Posts and Pages, Right? Well, I will show you exactly How to Create a Table of Content for your Website in a few steps with this Step-by-Step guide.
It is really very easy to create a Table of Content (ToC) for your posts. You can do it in just a few clicks and it won’t take more than 2 minutes.
You can also use CSS and HTML to create a Table of Content which would require a lot of coding and I think most of us including me don’t know how to code.
If you are a coder you can do it with CSS and HTML or add a Table of Content without using any plugin but I guess if you are a coder you wouldn’t be here reading this article.
I will show you How to Create a Table of Content for your WordPress Blog with a Plugin in few clicks.
For eg, This is what a Table of Content looks like.
What is a Table of Content ?
A table of Content is a table or list of headings, subheadings, or topics covered in your articles.
Here is what a table of content on Wikipedia looks like. It is really simple looking, yet it helps a lot of readers jump to sections they want to read.
For eg, if you only want to know how to add a Table of Content without knowing about its SEO benefits and other importance, then you can click on my table of content that you saw above and go to that particular section.
Why do you need a Table of Content ?
There are many reasons you should be using a Table of Content on your website. Here are a few of them.
- SEO Benefits
Yes, Table of Content can boost your SEO Score.
It makes your users stay longer on your posts as they can jump to a particular section from the start of the article.
It also saves them a lot of time and makes the user experience a lot better.
If your website is filled with a lot of crappy content before the actual question and does not have a table of contents, then it can result in a high bounce rate of your website.
- Google Ranking
It also helps to improve your Google Rankings.
Starting a blog is not difficult, but ranking your blog is.
I get most of my traffic from Pinterest but a website must be SEO perfect and this plugin can help a bit.
Yes, you saw that right. Many of you won’t believe it but it can help you with your SEO ranking.
Even Neil Patel feels the same, see this article by Neil Patel about Table of Contents.
It provides Google with snippets of little sections of your website in which users can directly go for a particular query.
As you can see here, I wrote a keyword, and Google showed me different sections inside the article where I can go directly to read that particular field.
Google also includes “jump to” sections in their snippets, which is also good if your articles are great.
For eg, See this image below, it shows the “jump to” section where you can directly go to the question in that article to which you need an answer.
It shows Google that you have created a great user experience for your visitor and you have very sort-out content and that helps you with your article ranking on Google.
- Helpful to Users
Apart from SEO and Ranking, the most important thing is to make your users happy by providing them with exactly what they need in just a single click along with additional information that they can check out.
This section which you are reading now and the one before this can be considered additional data for the main query.
Google wants every website owner to make their users happy by giving them a good answer to their query. Now, let’s move to the main question you are here for: How to Add a Table of Content to your WordPress Website?
How to Add a ‘Table of Contents ‘ to WordPress Blog Posts And Pages?
The processes for utilizing a plugin to add a Table of Content are as follows:
There are three ways to add a Table of Content to your WordPress Posts and Pages. The one I am going to talk about is adding a ToC using a plugin which is the easiest way.
There are two more, one is creating it within WordPress without needing any plugin and coding but it is quite a difficult process.
Many of you have asked me how to add a ToC without using any type of plugin, so I made a post on how to do it check it below:
How to Create a Table of Content without Using any Plugin?
If you want to create a ToC using HTML then click here to read this post that shows exactly how to do it.
Now, let’s see how to do it using a plugin Easy Table of Contents.
Use Easy Table of Contents
Easy Table of Content is a fantastic WordPress plugin for building a Table of Contents section in your WordPress posts and pages.
There is a slew of additional plugins to do the same job, however, they are either outdated or extremely buggy, in my opinion. Of course, you can also look into other necessary plugins and crucial tools.
As you can see, it has over 200,000+ installs at the time of writing this article, which is incredible, and it has also been updated recently.
Install Easy Table of Contents
The first step is to download and install the plugin.
Go to your WordPress dashboard, go to the plugin area, and select Add New from the drop-down menu.
Then, search for the “Easy table of Content” plugin.
Now choose the first one that appears and install it. The plugin has to be activated next. Now that you’ve almost finished, let’s look at how to set up the plugin for your posts and pages.
Customize Easy Table of Contents
You can now pick where or which pages or posts you want the table of contents to appear in settings, as shown below. When you initially click on Settings, you’ll see the “General section,” which looks like this:
You can choose your preferences; I chose posts, but it’s up to you because the table isn’t actually inserted in posts and pages until the following stage.
After you’ve completed your general settings, you’ll notice the auto-insertion option, which looks like this:
I recommend only doing it for posts.
You can select where the ToC should be inserted and have it auto-insert on pages/posts (before first heading, after first heading, top, bottom ).
After that, there are more options, as you can see in the image below.
You can choose a look based on the color of your theme.
After that, you’ll see some advanced options, but I wouldn’t recommend doing anything other than selecting the headings you want.
You can also disable it if a page or post has fewer than the set amount of headers. Also, you can choose certain headings or pages you don’t want to appear on.
As you can see, the plugin itself has a lot of customization options.
The header label can be customized (whether you want to call it Table of Contents or something else ).
Inside the plugin, you can adjust a lot more things as per your choice.
As you can see, inserting a Table of Content in your WordPress pages and posts is much easier and more efficient when you use a plugin.
Here are a few more plugins to do similar jobs:
Fixed TOC Table of Contents Plus Heroic Table of Contents LuckyWP Table of Contents Ultimate Blocks
Finally, we’ve come to the end of this post.
Let me know if you found this article helpful and useful. And, if you did, please share it using the social icons you’ll find below.
It really helps me a lot. Originally Published at: https://digitalmillions.org/add-a-table-of-contents-in-wordpress/