This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Knowledgeblog Table of Contents

Description

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.

Copyright

This plugin is copyright Simon Cockell, Newcastle University and is licensed
under GPLv2.

Installation

  1. Unzip the downloaded .zip archive to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Click ‘Settings’ and select which Category you wish to display by default
  4. 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

Changelog

0.2

  • 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.

0.3

  • 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.

0.4

  • Added ‘fill’ attribute to shortcode, which allows for custom attribution (i.e. ‘posted by’ to replace the default ‘by’)