Learn how you can add a table of contents to your WordPress website.
Learn how you can add a table of contents to your WordPress website.
Let’s say you have a website and a blog in it.
Now if your visitor wants to read any content on the page, they need to scroll down.
Now Instead of scrolling, you can add a list of all the topics on that page
so when someone clicks it, they can view the content in the same window.
You can add a table of contents easily by following our 2 simple steps.
𝗧𝗮𝗯𝗹𝗲 𝗼𝗳 𝗰𝗼𝗻𝘁𝗲𝗻𝘁𝘀 :
0:00 Intro
00:51 Install ‘Easy Table of Contents’ plugin
01:44 Choose where to add the table of contents
04:16 Automatically add the table of contents to all the posts
05:32 Remove the table of contents from a particular post
06:48 Remove particular heading
07:55 How to add the table of contents on the sidebar
10:20 Fix the table of contents on the sidebar
Step 1 : Install ‘Easy Table of Contents’ plugin.
To install the plugin,
Go to WordPress Dashboard ► Plugins ► Add New
Now search for ‘Easy Table of Contents’ and click ‘Install’ & ‘Activate’
Once you’ve installed the plugin, go to the next step.
Step 2 : Choose where to add the table of contents.
To add the table of contents
Go to WordPress Dashboard ► Settings ► Table of Contents
Now enable the section where you want to add the table of contents.
As you want to add it to posts, enable ‘Posts’ and click ‘Save Changes’
Once you’ve enabled, you need to add the table of contents.
So go to WordPress Dashboard ► Posts ► All Posts
Now select the post for which you want to add the table of contents.
Now scroll down and enable ‘Insert table of contents’
Next, you need to select the headings of your posts which you want to display on your table and click ‘Update’.
So now you’ve successfully added the table of contents on your blog post.
Now instead of adding the table of contents to each post, you can automatically add the table of contents to all the posts at same time.
So to do that, go to WordPress Dashboard ► Settings ► Table of Contents
Now go to ‘Auto Insert’ and enable ‘Posts’
Once you’ve enabled it, click ‘Save Changes’
So now you’ve successfully added the table of contents on all your blog posts.
Next let’s see how you can remove the table of contents from a particular post.
So to do that, go to WordPress Dashboard ► Settings ► Table of Contents
Now scroll down to see an option called ‘Limit Path’
Now just add the path link of the post for which you want to remove the table of contents then click ‘Save Changes’ and the table of contents will be removed from that particular post.
Now if you want to remove particular heading from the table of contents
Just copy the heading you want to remove.
Now go to ‘Edit Post’ and you will find an option called ‘Exclude Headings’
Now paste the heading you’ve copied and click ‘Update’
And now the heading will be removed from the table of contents.
=== Bonus Part : How to add the table of contents on the sidebar ===
So to add the table of contents on the sidebar
Go to WordPress Dashboard ► Appearance ► Widgets
Now just drag & drop the table of contents widget to the sidebar.
Now just give a title to it and click ‘Save’& ‘Done’
And now your table of contents will be added to the sidebar.
Now if you want to remove the table of contents on the posts
Just go to WordPress Dashboard ► Settings ► Table of Contents
Now disable the ‘Posts’.
Now if you want to fix the sidebar instead of scrolling up
You need to install the ‘Q2W3 Fixed Widgets’ plugin.
To install the plugin
Go to WordPress Dashboard ► Plugins ► Add New
Now search for ‘Q2W3 Fixed Widgets’ and click ‘Install’ & ‘Activate’.
Once you’ve installed the plugin
Go to WordPress Dashboard ► Appearance ► Widgets
Now click on the table of contents widget which you’ve added in the sidebar,
Then enable the ‘Fixed Widget’ option and click ‘Save’& ‘Done’.
And now your table of contents will be fixed on the sidebar.
So that’s it, guys
This is how you can add a table of contents on your wordpress website.
Whether you want to develop a blog or you want a feature-rich, interactive WordPress website? **[HourlyDeveloper.io](https://hourlydeveloper.io/ "HourlyDeveloper.io")** is a distinguished leader in the WordPress development market. **[Hire...
Hire Dedicated WordPress Developers for all your Web requirements from USA and India. We offer experienced and certified developers on Full-time, Part-time and Hourly basis.
Find the latest jobs available in The Middle East today.
Skenix Infotech is a top WordPress Website Development Company in India & USA with expert WordPress Developers. Get affordable WordPress Development Services.
Many sites are powered by a CMS (Content Management System) called WordPress. WordPress is an Open Source Software that offers free use of the product.