My post shows you how to create a table of contents in WordPress without using plugins.
A table of contents helps your visitor find the information they need quickly.
The links in the table of contents jump to the part of your post your visitor wants to read.
Here is an example of a table of contents.

Let us begin.
Step One – Complete Your Blog Post
I recommend you finish your blog post before adding your table of contents.
I will put my table of contents for this post above the first sub-heading.

Step Two – Create A Heading Block
Create a header block in your blog post. I use the / shortcut.
Type / followed by the letters of the block you need.
Click Heading.

Type Table Of Contents.
Decide what heading size you want for the heading.
You can’t use H1 because that is the title of your blog post.

Step Three – Create A List Block
Next, create a list block.
Type / and type List.
Click List.

Now you can create a table of contents.

Step Four – Type Your First Sub-Heading
Type your sub-headings into your list block.
The first heading for this post is When is Chateau De Loei open?

Step Five – Create A Destination Anchor
The table of contents links to the sub-headings in the blog post.
Click on the sub-heading and open the advanced tab.

Step Six – Add Text To The HTML Anchor Data Field
Write one or two words in the HTML Anchor data field.
Ensure you use a – between words with no spaces.
In this example, I added chateau-open.

Step Seven – Add Links To Your Table Of Contents
Copy the text in the HTML anchor data field and return to the table of contents.
Highlight the sub-heading in your list block and select the link icon.

In the link box, type # followed by the text in the HTML anchor data field.
Type # first, or your link won’t work.
In my example, I typed #chateau-open.

Select the submit icon.
WordPress recognizes this is an internal link because of the # symbol.

The text in the table of contents changes color to show it is now a clickable link.

Step Eight – Complete the WordPress Table Of Contents
Complete your table of contents by adding your sub-headings to the List block.

Add text to the HTML anchor field.

Then copy the text from the HTML anchor data field.
Highlight the heading in your table of contents.

Click the link icon, and type # followed by the text you copied from the HTML anchor field.

Select submit to create a clickable link.

The heading text changes color to show it is now a clickable link.

Continue this process until you have your sub-headings in your table of contents.
Step Nine – Publish And Test
I recommend testing your table of contents links to ensure they work.
You could make mistakes when creating a table of contents without a plugin.
You don’t want your visitors to have a poor user experience with broken links.

Add A Table Of Contents In WordPress Without A Plugin Video Tutorial
Frequently Asked Questions
How Do I Use A Plugin To Add A Table Of Contents In WordPress?
To manually add a table of contents in WordPress with a plugin, you can follow these steps:
Install a table of contents plugin
There are a variety of plugins available that can help you create a table of contents in WordPress.
Create a new page or post
Open the WordPress editor for a new page or post, and enter the content you want to include in your table of contents.
Add the table of contents
Use the table of contents plugin to add a table of contents to your page or post. A plugin will typically involve inserting a shortcode or using a button in the WordPress editor to generate the table of contents.
Configure the table of contents
After adding the table of contents, customize its appearance.
Publish your page or post
Once satisfied with your table of contents, publish your page or post to make it available on your WordPress website.
Adding a table of contents in WordPress is a simple process using a table of contents plugin.
These plugins make it simple to create and customize a table of contents for your WordPress pages and posts.
How Do I Add A Table Of Contents In The WordPress Classic Editor?
To add a table of contents in the WordPress Classic editor, you can follow these steps:
Install a table of contents plugin
To add a table of contents to your WordPress page or post, you will need to install a plugin that can generate the table of contents for you.
There are a variety of table of contents plugins available for WordPress, so choose the one you like and install it on your WordPress website.
Open the WordPress Classic editor
Open the WordPress Classic editor for the page or post where you want to add a table of contents.
Add headings to your content
For the table of contents plugin to generate a table of contents, you need headings in your content.
Use the formatting options in the WordPress Classic editor to add them to your content, using the appropriate heading level for each section ( H2 for main sections and H3 for sub-sections, etc.).
Insert the table of contents
Use the table of contents plugin to insert a table of contents into your page or post.
Using plugins will typically involve inserting a shortcode or using a button in the WordPress Classic editor to generate the table of contents.
Configure the table of contents
After adding the table of contents, you can use the plugin’s settings to customize its appearance and behavior.
Publish your page or post
Once satisfied with your table of contents, publish your page or post to make it available on your WordPress website.
Adding a table of contents in the WordPress Classic editor is a simple process using a table of contents plugin.
These plugins make it simple to create and customize a table of contents for your WordPress pages and posts.
Conclusion
You do not need a plugin to create a table of contents for your blog posts.
Complete your blog post and create a table of contents using a List block.
Type your sub-heading into your list.
Next, click on your post’s sub-headings and add text to the HTML anchor data field under the advanced tab on the right.
To make clickable links, return to your list block and highlight each sub-heading.
From the toolbar, select the link icon. Type # followed by the HTML anchor text, then click Submit.
Once completed, I recommend publishing your posts and checking your links.
Visit my How to Find A WordPress Sitemap article to learn how to find the sitemap on your website.
Do you use Bluehost hosting? Learn how to install WordPress with my How to Install WordPress on Bluehost article.
I hope you found my article informative. If you have any questions, please leave them below.

John is the founder of Newblogr.com and has a background in retail and travel. However, his true passion lies in building WordPress websites and mastering the art of SEO. He is committed to helping new bloggers build successful websites. John hopes to inspire and empower bloggers to reach their goals. Need a website today? Contact me at [email protected].
Leave a Reply