Did you ever wish to feature a Wikipedia like a table of the content box on a number of your long articles? A table of content makes it easier for users to leap to the section they require to browse. in this article, we are going to show you the way to make a table of content in WordPress posts and pages while not writing any hypertext markup language 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 leap to the section they need to browse in long articles.
It additionally helps along with your WordPress SEO as a result of Google mechanically adds a jump to section link next to your website in the search results.
You can manually produce a table of contents in WordPress by writing hypertext mark-up language code. but that’s tough for beginners as a result of you have got to manually produce inventory, add links, and add ID attribute through-out the article.
But there’s a simple approach. Let’s take a glance on a way to simply reduce a table of contents in WordPress posts and pages.
The first thing you need to do is to install and activate the Easy Table of Contents plugin.
Upon activation, you need to visit the 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 additionally alter or disable auto-insertion of the table of content for every post kind. If enabled, then the plugin can mechanically add a table of contents for an article that has over four headings. you’ll modification that to the other variables that you simply like.
Typically, we have a tendency to don’t advocate adding a table of content on each article unless all of your articles extremely long.
Next, you’ll scroll all the way down to modification the looks of the table of contents box. From here you’ll choose the subject, regulate breath and height, set the font size, or produce a custom colour scheme for your table of contents box.
After that, you would like to travel to the Advanced settings section. The default choices would work for many websites, however, you’ll review these choices to envision if you’d prefer to alter something.
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 got disabled the auto-insertion, the plugin currently mechanically begins adding a table of contents to posts supported settings you selected earlier. you’ll additionally manage the settings on a post by post basis.
On the post edit screen, you may notice a replacement section to feature 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