Have you ever stopped reading an article because it was too long, you got bored, or you couldn’t find the section you really wanted to read? This might not have happened if the author had added a table of contents.
A table of contents highlights the critical sections of an article in order to improve the reader experience. A reader might jump to the section that is most relevant to their question. Or they might read the entire article — just in the order that they want, instead of the way the author laid it out on the page.
A table of contents can help search engine bots as well as humans. By clearly labelling the important section names of an article, bots can understand what the article is about and display rich snippets in the search results.
Now that we’ve discussed the benefits of adding a table of contents to your WordPress website, let’s look at how. First, we’ll briefly walk through how we can manually add a table of contents. Then we’ll look at how you can automatically with WordPress plugins.