Interprets the [ktoc] shortcode to produce a bulleted list, alphabetical table of contents, like those used on Knowledgeblogs.
The ToC is generated from a single category, which can be controlled through a simple settings menu, or through the “cat” attribute on the shortcode (which overrides the default setting).
Unlike other Table of Contents plugins, KToC does not embed affiliate links in the output.
This plugin is copyright Simon Cockell, Newcastle University and is licensed
- Unzip the downloaded .zip archive to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Click ‘Settings’ and select which Category you wish to display by default
- Use the [ktoc] shortcode somewhere on your site, to automatically generate a table of contents.
Contributors & Developers
“Knowledgeblog Table of Contents” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Version 0.2 can deal with multiple authors, when controlled by the Co-authors Plus plugin.
- It retains the capacity to cope with normal, singly authored posts.
- Put in a workaround for a bug where get_coauthors() sometimes returns the wrong info.
- Defaults to WordPress-native author information for posts with a single author.
- Added ‘fill’ attribute to shortcode, which allows for custom attribution (i.e. ‘posted by’ to replace the default ‘by’)