These are my enzymes for the table of contents shown at http://andowebsit.es/blog/noteslog.com/nzymes/.
See Example 1: table-of-contents;example-1
This setup allows a post author to easily create and maintain a table of contents straight into the visual editor of a page. (See table-of-contents;toc-left.md and table-of-contents;toc-right.md) At the same time, the table of contents can be added to any other WordPRess place, so that it's shown when the context of that place is rendered by WordPress. (See table-of-contents;example-1.html)
#enject Table of Contents
Summary
This is my setup for the table of contents shown here:
Details
<!--nextpage-->
separator: subpages will be addressable individually with their own different URLs.toc
,toc-left
,toc-right
, andcopyright
custom fields to a hosting page with a given slug.toc-left
; cut the other half of the links and replace it to the contents oftoc-right
.@repo
reference intoinjection
andtoc
with the correct reference to the slug of the hosting page.injection
and paste it wherever you want your table of contents to appear.