The WordPress CC-TOC plugin automatically creates a table of contents (TOC) for posts/pages (and/or custom post types) based on headings in content. This plugin can also output a listing of child pages (INDEX).
The TOC by default appears before, while the INDEX appears after the content post/page.
toc
and/or index
– you can change it in the settings):[index]