TOP Table of Contents>>Auto Insert>> Select where to insert automatically.
Choose which post types (Posts, Pages, or something else) will automatically include a table of contents.
Select TOC position
Insert the table of contents in the desired position. There are by default five options for automatic insertion
- Before first heading
- After first heading
- After the first paragraph