How to Create a Table of Contents in WordPress

by | Oct 27, 2022 | Etcetera | 0 comments

A Desk of Contents in WordPress can also be an efficient addition in your website online pages or posts. They’re nice for enhancing person enjoy and for navigating long-form replica. Plus, they supply a slight merit in search engine optimization.

On this article, we’ll display you step by step tips on how to upload a desk of contents in your WordPress website simply with a plugin. And, we’ll display you the straightforward steps had to create one from scratch. So, for those who’re right here for a desk of contents for WordPress, this publish has what you wish to have.

Right here’s what we’ll quilt:

What’s a Desk of Contents in WordPress?

A WordPress desk of contents is principally an inventory of the primary headings or subjects coated during the content material of a web page or publish. They’re nice for giving customers an summary of what’s to come back. Most often, they’re positioned on the height of a web page, simply after the name or introductory paragraph.


In most cases, a desk of contents is composed of an inventory of anchor hyperlinks (or leap hyperlinks) to the corresponding headings at the web page. When clicked, anchor hyperlinks leap or scroll all the way down to the corresponding heading the place the content material will probably be discovered. This makes it clean for guests to navigate the web page.

The Advantages of Making a Desk of Contents in WordPress?

When you’re a trade proprietor or blogger the usage of WordPress, person enjoy and SEO(SEO) are at all times going to be essential. The use of a WordPress desk of contents to your website can assist with each.

Consumer Revel in

A desk of contents can also be extraordinarily really useful to user experience. It permits guests to briefly and simply orient themselves to the guidelines to be had within the content material.

Plus, as a result of they comprise anchor hyperlinks, guests can simply leap to the guidelines they’re searching for with out such a lot scrolling. It will save a large number of time when there may be a large number of content material. We even use them on our Chic Topics Weblog for lengthy guides corresponding to ultimate guide to Divi Speed Optimization.

search engine optimization Price

Having a desk of contents may give your web page a spice up on SERPs by means of providing you with an enriched seek consequence. It will come with further hyperlinks in your hottest web page sections featured at once to your seek consequence.

Google Search Result

Plus, they assist search engines like google and yahoo perceive the crawling context of your web page which can result in stepped forward indexing or featured snippets. By way of developing well-organized content material with a desk of contents, you give Google and different search engines like google and yahoo a transparent working out of your content material.

The way to Mechanically Upload a Desk of Contents in WordPress The use of a Plugin

Making a desk of contents in WordPress the usage of a plugin is by means of a long way one of the simplest ways to head. And there are not any scarcity of plugins within the WordPress repository that assist create an site-wide Desk of Contents in your posts and pages and generate anchor hyperlinks routinely.

Automatic TOC WordPress Plugins

For this publish, we’ll be the usage of Easy Table of Contents WordPress plugin to create a our desk of contents.

1. Set up and Turn on the Plugin

To get began, cross in your WordPress dashboard and navigate to Plugin > Upload New. Seek for the Simple Desk of Contents plugin and click on to put in and turn on it.

install easy table of contents plugin

2. Test a Put up to See It Operating

Whenever you set up and turn on the plugin, Simple Desk of Contents straight away creates a desk of contents phase to your posts. Once it’s activated to your website, you’ll navigate to the entrance finish and spot the desk it created to your posts.

See also  Picsart (AI): Review (Details, Pricing & Features)

Live Post Example

3. Customise Your Desk of Contents Website-Huge Settings

After seeing what the plugin does out of the field, you’ll talk over with the plugin’s settings and tailor them in your wishes. To visit the settings, navigate to Settings > Desk of Contents.

Site-wide settings

For the general public, enabling the desk of contents to turn up on posts is most certainly all you’ll want. Pages are a special tale. When you have touchdown pages which can be in particular designed as top-level pages, you will have to uncheck appearing a desk of contents to your pages (stay posts checked).

Easy Table of Contents Settings

Additional, you’ll see that Simple TOC acknowledges your entire customized publish varieties and more than a few templates which you’ll toggle on/off for.

There also are a number of alternative choices for you to take a look at out, however this is all dependent to your website online and wishes. Maximum web sites will best wish to use H2, H3, or H4 headings of their desk of contents. Too many pieces in a desk of contents will muddle up your content material and be much less useful than no longer having a desk of contents in any respect.

4. Override Website-Huge Settings for Particular person Posts

Except for the site-wide settings, Simple Desk of Contents will give you post-by-post keep watch over over the desk of contents. Alternatively, to permit Simple Desk of Contents person publish settings within the Block Editor, it’s important to permit Custom Fields within the block editor’s personal tastes phase.

To do that click on at the Equipment Icon within the height proper to peer Web page Settings. Of the ones settings, click on on “Personal tastes”.

This may open up a modal within the heart of your display. Click on at the “Panels” tab. Then, Toggle at the “Customized Fields” choice. This may permit any plugin or theme environment that provides customized fields in your pages/posts to show the ones settings beneath the block editor.

enable custom fields

You’ll disable the desk of contents from appearing up at the posts web page and regulate different settings that best impact that one web page. That is best for particular use circumstances that vary out of your site-wide settings.

To disable the Desk of Contents phase from a selected publish/web page, scroll all the way down to the plugin settings (after you’ve enabled customized fields).

Checkmark the field for “Disable the automated insertion of the desk of contents.”

This gets rid of the desk of contents that might routinely be inserted by means of plugin settings.

Disable TOC on Page or Post

That’s it!

Different Desk of Contents Plugins for WordPress

Except for Simple Desk of Contents, there are many different Desk of Contents plugins that might serve you effectively. There are some nice loose plugins like LuckyWP Table of Contents that paintings nice with WordPress blocks and web page developers like Divi. And there are top rate plugins like Fixed TOC that experience all of the complicated options one would want. Do your analysis and check a couple of out to get the most efficient options that suit your wishes.

Basically, search for those which can be clean to make use of out of the field, have integrated enhance for schema markup, and feature respectable styling choices. Listed below are the most efficient Table of Contents plugins for WordPress that we suggest.

The way to Create a Desk of Contents in WordPress Manually

Making a desk of contents from scratch using the WordPress Editor can also be helpful for customers who best want one for a couple of posts or pages and don’t want the site-wide capability of a plugin. And developing one is relatively easy (and kinda amusing) as soon as you realize the concept that.

A desk of contents is principally an inventory of anchor hyperlinks that leap to specified sections or headings of a web page. So, for those who’ve created an anchor hyperlink on a web page or in a navigation menu ahead of, you might be already acquainted with the fundamentals of constructing a desk of contents. In case your no longer acquainted with anchor hyperlinks (or leap hyperlinks), now we have an entire information on how to create anchor links in WordPress.

See also  Download a FREE Header & Footer for Divi’s Home Baker Layout Pack

Right here’s tips on how to create a desk of contents from scratch on a WordPress publish:

1. Create Your Listing of Headings for Your Desk of Contents

On the height of your web page or publish, create an inventory of all of the headings in your desk of contents the usage of a paragraph block (or checklist block). To do that, create a brand new paragraph block (or checklist block) and upload the heading textual content that corresponds to the headings to your web page content material under. Ensure that there’s a line ruin after every heading textual content.

Create Table of Contents - Block Editor - Create Paragraph Block

As soon as carried out, be sure you test that the heading textual content within the desk of contents suits the heading textual content within the content material for a greater person enjoy.

2. Upload a Distinctive HTML Anchor ID to Every Heading on Your Web page or Put up

Subsequent, cross during the content material to your web page (heading by means of heading) and assign every heading a novel HTML anchor ID.

To do that, cross to a heading block and click on on its settings.

Create Table of Contents - Block Editor - Steps 2-4

After that, within the heading block settings (within the “Complex” tab of the heading block), upload an HTML Anchor ID to the sphere. For this situation, the anchor HTML anchor is “heading-one”. This anchor ID will probably be used because the anchor hyperlink goal.

Create Table of Contents - Block Editor - Steps 5-6

3. Convert Every Heading in Your Desk of Contents Into an Anchor Hyperlink

As soon as the ID for the heading part is ready, we will be able to return as much as our paragraph or checklist block that incorporates our desk of contents. One at a time, spotlight every line and click on the “Hyperlink” icon so as to add a hyperlink.

Create Table of Contents - Block Editor - Steps 7-8

As a substitute of a internet deal with, upload a pound signal or hashtag (#) plus our anchor ID. Press input and the hyperlink will follow to that textual content.

Create Table of Contents - Block Editor - Step 9

For our instance, we added “#heading-one” for our anchor hyperlink. Your anchor link text will have to be descriptive however concise. Nevertheless it will have to additionally correctly summarize the content material this is inside of that phase so search engines like google and yahoo can learn it.

Most significantly, your anchor hyperlink must be distinctive and no longer used in other places at the web page. It is because the usage of the similar HTML Anchor ID will confuse the browser and no longer paintings as supposed.

As soon as you might be carried out, save your adjustments and preview your web page. Check your new Desk of Contents by means of clicking the anchor links to verify they’re all leaping to the fitting puts. If the ones hyperlinks aren’t running, you’ll have overlooked or out of place the “#” or your Anchor IDs and Anchor Hyperlink URLs aren’t an actual fit.

Making a Desk of Contents in Divi

Divi Theme Builder is among the maximum tough and easy-to-use gear for WordPress web sites. It permits website online creators, trade house owners, and entrepreneurs to create surprising web sites which can be characteristic wealthy.

The use of the default WordPress editor to create a desk of contents is lovely restricting, particularly on the subject of design. Divi makes it such a lot more uncomplicated to create distinctive desk of contents designs and upload easy scrolling anchor hyperlinks to any part at the web page or publish with no need to understand HTML or CSS.

Create a Table of Contents in Divi Theme Builder

We have now a complete write-up for how to build out a Table of Contents section in your weblog. Now not best are you able to in finding the how-to steps, however there could also be a loose format obtain for you. The format is for you for those who’re searching for a quicker resolution with the Divi Theme.

The Best possible Divi Desk of Contents Plugin

In case you are searching for a strategy to create a desk of contents in Divi, test the Divi Table of Contents Maker plugin.

See also  9 VR Advertising Examples to Encourage You in 2022

divi table of contents maker plugin

This plugin features a distinctive Desk of Contents Module for Divi that routinely generates your lists, anchor hyperlinks, and all of the capability you wish to have in a couple of clicks. You’ll use the module on a theme builder template so as to add desk of contents routinely for your entire weblog posts! Plus the module has loads of customization settings and magnificence choices.

Be informed extra about Divi Table of Contents Maker.

Different Desk of Contents Answers to Imagine

If you have an interest in different answers for including a desk of contents in WordPress, listed below are some others you can no longer take note of which can be price taking into consideration.

Stay up for a Constructed-In Desk of Contents Block in WordPress Core

When you have time to look ahead to a desk of Contents resolution, it kind of feels a Desk of Contents WordPress block is within the works. And, there may be a large number of contemporary traction at the challenge that you’ll view at the Github Pull and in an issues dialogue. It seems like a promising block that may convey desk of contents natively into WordPress’ block editor.

Alternatively, there are bumps within the roadmap so this can be a toss-up whether or not or no longer it’ll make WordPress 6.1 or be in a later liberate.

Test for a Desk of Contents Characteristic in Plugins You Might Already Use

With all of the tough plugins in the market. Who is aware of? There’s a respectable likelihood that perhaps you’re the usage of a plugin lately that has a desk of contents characteristic hidden in the main points. Listed below are a few fashionable plugins it’s possible you’ll already use that supply the power to create a desk of contents in WordPress.

search engine optimization Yoast Top rate

When you’re the usage of the Yoast search engine optimization plugin for WordPress, you can be questioning what the Table of Contents block is and the way it mean you can. The Desk of Contents block is a premium feature that lets you dynamically create a desk of contents in your publish or web page. The most productive section is that for those who already use Yoast search engine optimization Top rate, you’ve a very easy TOC resolution.


Any other plugin many of us use is Spectra. Spectra has been becoming more popular as an enhancement of the integrated block editor for WordPress.

Probably the most blocks incorporated in Spectra is a simple to make use of Table of Contents block. The block has complete design customizability and is deployable with out a further coding. As you’ll see, upload the block in your publish and regulate the settings. You’ll have a desk of contents in a couple of seconds. Spectra does are available a loose and top rate model.


In conclusion, making a desk of contents in WordPress is simple and can also be carried out in a couple of steps. By way of the usage of a plugin, you’ll routinely generate a desk of contents in your pages and publish. Or, you’ll manually create a desk of contents within the default WordPress editor or in a web page builder like Divi for extra design settings. Both approach, you’ve the facility to customise your website online to have enough money your website guests a greater person enjoy and be observed higher in seek effects.

Do you employ a desk of contents to your WordPress website? Do you’ve a favourite plugin you employ? Tell us within the feedback!

Featured Symbol by means of IconArt /

[id] {scroll-margin-top: 80px;} video.with-border {border-radius: 8px;box-shadow: 0 8px 60px 0 rgba(103,151,255,.11), 0 12px 90px 0 rgba(103,151,255,.11);}

The publish How to Create a Table of Contents in WordPress gave the impression first on Elegant Themes Blog.

WordPress Maintenance Plans | WordPress Hosting

read more


Submit a Comment

Your email address will not be published. Required fields are marked *