Step by Step Guide: How to add a Table of Content in WordPress Posts and Pages
Are you looking for a way to add a table of contents to your WordPress articles?
Well! keep reading this article and I’ll walk you through how you can create or add a table of contents in WordPress without writing any code. You just need to install and activate a plugin named as “Easy Table of Contents” and that’s it.
To get started, let’s login to the WordPress website. Then go to Plugins and click Add New.
In the search box we’re going to look for an easy table of contents plugin and once it pulls up the results, You will find the “Easy Table of Contents” plugin which we are looking for.
So let’s go ahead and click install now. Once it’s finished installing make sure you also activate the plugin.
Once it’s activated you can go to the settings area for it by going to Settings, Table of Contents.
You can choose to auto insert into posts and when you do that it’ll automatically insert it if the article has more than four headings so you can do that and here you can choose the position.
We’ll leave it before the first heading from here you can change the heading number and below you can also change the header label.
Also, whether or not you want to allow the user to toggle the visibility. Below under Appearance. Let’s keep it auto and that will automatically grow or shrink depending on the size of the screen.
Once you’ve set up all of these settings let’s click “Save Changes” and you can go take a look at a post to see it in action.
Now you see the table of contents here that is pulling in the headings of this post. You can also choose to overwrite these in any post that you want. For instance if you don’t want the table of contents to be on this particular post you can scroll down and you can either say disable the insertion or you can change up the headings that it’ll pull in here.
Once you make those changes on this particular post make sure you click update and that’s a real quick and easy way to get a table content setup for your website.
This is a free plugin to help us do this and it has a really great type of content that looks just like this it’s got lots of options around it you can change the look and feel of it, you can have it closed or you can have it open or you can allow your visitors to open and close it and it’s a really nice looking table of contents.
Why do you need a table of contents?
Now you might be thinking why on earth do I need a table of contents on my posts and my pages? Well there are a couple of good reasons to do this. The first is that it helps your visitors navigate your content more easily, especially if you’ve got some of those really long articles on your website and as we would have jumped to the section they’re looking for really quickly take a reason and maybe the most important reason is that it can be good for search engines it helps Google and other search engines kind of navigate and crawl and index your content more easily gives them a good idea of the structure.
Sometimes those table of contents links can appear in the search results they might be thinking but I’ve got like a hundred posts on my WordPress website.
Also, this plugin allows you to easily auto insert the table of contents into your posts so you can mass update loads of posts really easily and really quickly.
I hope you found it useful or leave a comment or question below. I do read all of the comments I get and I try to reply to as many as I possibly can.