Easiest Way To Add A Table Of Contents To WordPress Blog Posts

In my post, I show you how to add a table of contents to your WordPress blog posts with one click.

You do not need to know any code or have to apply any settings before starting.

I take you step by step. I show you how to add the block needed to generate a table of contents for you and how it works.

Let’s get started.

Step One – Install The Kadence Block Plugin

First, you need to install a plugin. Hover your mouse over ‘Plugins’ on the left and select ‘Add New’ from the menu.

New plugin

Next, type ‘Kadence Blocks’ into the search box.

Search Kadence blocks

After a short wait, the Gutenberg Blocks by Kadence Blocks plugin appears on the top-left. Click to install this plugin.

Install now

Once installed, click to activate.

Activate plugin

Once activated, you can use this plugin to create a table of contents for your blog post without any setup.

Step Two – Create A New Block On Your Blog Post

Add A Table Of Contents To A Published Post

To add a table of contents to a published post, open your blog post in the Gutenberg editor.

Create a new block on your post where you want a table of contents and type a forward slash (/).

As an example, I am going to replace my old table of content. I clicked on the paragraph block above my current table and pressed enter to generate a new one.

New block

The easiest way to select a new block is to type a forward slash (/).

Forward slash

A popup appears with your most-used blocks. To create a table of contents block, type ‘table’ and select the blue ‘Table Of Contents’ block.

Table of contents

With only one click, you have a new table of contents for your blog post. No need to add any anchor links, this plugin links to all your content sub-headings.

Table of contents

If you have two tables of contents for your post, make sure you delete the old one.

Click on the table and select the three dots from the toolbar. Select ‘Remove Block’ from the menu.

Remove block

Add A Table Of Contents To A New Post

To add a table of contents to a new post, press ‘Enter’ to start a new block.

Table of contents

Type a forward slash (/) and start typing ‘Table of contents’.

Table of contents

From the menu, select ‘Table Of Contents’.

Table of contents

Now you have a table of contents set for your blog post. Each time you create a heading in your post. This block generates a link for you automatically.

Table of contents

You do not have to do anything in the table of contents block. Start writing your content to create the table.

Table of contents

How To Add A Table Of Contents To WordPress Posts Video Tutorial

Conclusion

The Kadence blocks plugin makes adding a table of contents to your blog posts easy. You do not have to worry about settings or adding code.

Install and activate the Kadence blocks plugin. Each time you want to add a table of contents to your content. Start a new block and select ‘Table Of Contents’ from the menu.

Once selected, the block detects all headers on your posts and generates links to them automatically.

On a new post, the table of contents block adds your post content headers to the table of contents as you type.

I used to add my jump links manually, but the Kadence block plugin makes this task simple.

Want to find out how to add a table of content to your blog post without a plugin?. Check out my ‘How To Add A Table Of Contents To Blog Posts Without A Plugin‘ post.

Let me know in the comments how you create a table of contents for your blog posts. If you have any questions about my article, let me know below.

Similar Posts

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.