If you are wondering how to create a table of contents in WordPress, it is super easy. Anyone can easily add one to their website without coding.
There are two ways you can add a table of contents in WordPress: through WordPress’s default Table of Contents block and using a plugin.
But before that, we must learn what is a Table of Contents and what’s the use of it below.
What is a Table of Contents?
A table of contents (ToC) is a section that holds the organized list of all of the headings and subheadings of a post at the begining of any blog post.
It is extremly helpful to navigate the post’s main topic without scrolling as it takes you to the select topic quickly when clicked.
Benefits of Using a ToC in a Blog Post
Adding a table of contents (ToC) to a blog post brings multiple benefits that enhance both the reader’s experience and the blog’s overall performance. Here’s why it’s worthwhile:
- Improved Readability: A ToC allows readers easliy to get the post’s structure and locate sections they’re most interested in. It’s especially helpful in longer articles, making them less overwhelming.
- Enhanced Navigation: With clickable links, readers can jump directly to specific sections, reducing the need for endless scrolling. This keeps them engaged, as they can access relevant content immediately.
- SEO Boost: A table of contents can positively impact SEO by improving user experience (a key SEO factor) and increasing “dwell time” on the page. Additionally, it creates clear HTML headings, helping search engines understand the content structure better.
Now that you’ve known some of the advantages of adding a ToC in a blog post, we will head to our tutorial. Make sure you follow us through to the end.
How to Create A Table of Contents in WordPress Using A Plugin
As there is no Table Content block in the WordPress core blocks, we will use the Ultimate Blocks.
The Ultimate Blocks is the Gutenberg Addons plugin that enhances the efficiency of the Gutenberg Block Editor.
Besides, Ultimate Blocks has 22+ blocks to create amazing content for Gutenberg, and most blocks are free.
Now, let’s head to our tutorial below.
Step 1: Install the Ultimate Blocks
To install Ultimate Blocks, go to your WordPress dashboard and select Plugins (1) > Add New Plugin (2). Type Ultimate Blocks (3) in the search box, and the plugin will appear. After that, install and activate the plugin (4).
Step 2: Insert the Table of Contents Block
The Table of Contents block will work if you have finished writing your post, including the titles.
To insert the Table of contents block, click “+” (Add Block icon) (1). Type “Table of Contents” in the search box (2). Select the Table of Contents block (3), which will be inserted in the editor.
Step 3: Customize Your Table of Contents
When the Table of Contents is inserted in the editor, you can adjust the column, bullet & numbering, alignment, etc.
You can easily access more cusomization by clicking the Settings (1) > Blocks (2) at the top right side.
Take a glance at the customization options of the table of contents block by the Ultimate Blocks.
Take a look at out table of contents at the top of the post. So, that’s how you add a ToC in your blog posts easily.
Conclusion
I hope, by the time, you have understood how you can easily add a Table of Contents in WordPress with a plugin.
If you’ve faced any difficulties following our guideline, please let me know in the comment section below. I would love to assist you.
Also, don’t forget to share this awesome post with your friends using your social media.