Do you want to create a table of content box in your WordPress post or page? You will see many websites that use Table of Content in their long article so that visitors jump to the section they want to read. In this tutorial, I’m going to share how to add a table of content in WordPress post or page.
You can see Wikipedia site which uses Table of Content so that reader can easily browse long their article, You can see the example in the screenshot.
How to add Table of Contents to WordPress site?
First, Install and activate the Table of Content WordPress Plugin.
After activation, it automatically creates Table of Contents in your post or page. But your content must have H1, H2, H3, H4, H5, H6 tags. The plugin adds a table of content to your WordPress using the heading tag
For configuration click on Settings >> TOC+. Here you will need to do some configuration,
Position – Here you can choose the position for your Table of Contents. Its default setting is “Before First Heading”. If you want, you can change it.
Show when – You can show Table of Content in your article on the number of heading tags. It depends on you. So choose the number of heading tags to show the table.
Auto insert for the following content types – Where you want to display a table of contents in your site. Choose according to your needs.
If you want to use this plugin in a specific post or page then use the shortcode in that page or post.
Show hierarchy – Enable this option if you want to give hierarchy look to your add a table of contents in WordPress post or page.
Smooth Scrolling Effect – After enabling, your table content will scroll smooth.
Appearance Settings – You can also make some visual customizations and choose the designs for your table of contents.
However, its default settings work perfect, but if you want to make more customizations, It has an Advanced setting option.
After completing all the settings, click on Update option Button. By following these guidelines, you can easily add Table of Contents to your WordPress site
Find this article helpful? Don’t forget to share!