Generate Paginated Posts with table of contents
The Simple Paginated Posts plugin uses the native WordPress Page-Link tag <!–nextpage–> in combination with a shortcode tag [spp title=”My title”] to generate a Table Of Contents for paginated posts.
Implementation
You simply define a title for the Table Of Contents (TOC) by placing a SPP shortcode tag right after the <!–nextpage–> tag.
Example:
<!–nextpage–>
[spp title=”My title”]
The plugin can be configured to automatically add the TOC and page links to your site. You can also choose manual implementation and add the template functions to your theme.