MRK WP - The WordPress Professionals
Steps to add a table of contents
1. To add a “Table of Contents”, ensure that each article section has a heading tag (H title tag). It helps organise your article to make it readable and easy to navigate.
In the WordPress block editor, find a section where you want to add the “Table of contents”. We recommend adding it after the introductory section of the article.
Click on the blue +icon to open blocks. In the search field type “Table of Contents” and select the Yoast table of contents by clicking on it. The table of contents will be created automatically.
The table of contents follows the hierachy of the H tags, and indents headers based on their level. When you edit or amend the headers, the table is also updated automatically.
Note:
The materials section contains helpful links to some of the tools highlighted in this lesson.