Plugin Directory

Test out the new Plugin Directory and let us know what you think.
!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.

Table of Contents Creator

Table of Contents Creator automatically generates a highly customizable dynamic site wide table of contents that is always up-to-date.

  • Add Persian translation by HamidReza Kazemi. Thank you Hamid.
  • Reduced file size of all icons (by around half) and standardised all icon sets using GIF alpha format. This will increase page load time.
  • Added dynamic removal of non UTF-8 characters from the summary. This was causing some sites to not correctly validate as XHTML.


  • Added table of contents sidebar widget. All widget options are set through the TOCC plugin settings page, however several options have been hardcoded as some options will not work within a widget.
  • Add French translation by Txia. Thank you Txia.
  • Replaced "show help" option with a selection to display the help text always, never, by default or hidden by default. Shown and hidden by default options are supplemented
    with a help icon to toggle the help text on and off.
  • Now automatically clears wp-supercache cache when TOCC options are updated.
  • Added new short code overrides called @blog_include and @page_include. These allow you to specifically identify which pages and categories are to be included in the TOC.
  • Added new short code override called @blog_postExclude to allow specific posts to be excluded from the TOC. Also added a new short code override called show_postIDs to allow post IDs to be temporarily displayed on the TOC.

  • Removed self_URL function and now instead use the post permalink as this was incompatible with some servers.
  • TOCC url parameters now append to existing page parameters if they already exist (for example, if using default WordPress permalink settings).


  • Added new option to hide summaries for parent (pages with children), children (non-root pages), none or all pages and posts.
  • Added new option to display the page or post comment count next to each page or post listing.
  • Added new option to inhibit listing of posts under categories and instead show all posts as one large list.
  • Added new option to displat a help icon. When enabled, an icon will be displayed in the top right corner. Clicking the icon will display user definable help text.
  • Added new option to allow user definable text to be prefixed to each category heading.
  • Added new option called "link_exclude" settable via a short-tag overide to exclude links from user selectable pages. See FAQs for more information.
  • The summarizer now uses category descriptions to generate summaries for categories.
  • Fixed compatility issues with Forum Server version 1.4.
  • Prefixed all TOCC classes with "tocc_". Tocc used common class names such as "footer" and "date". This conflicted with some themes. The prefix should make all css classes unique, and as such the table of contents should now appear the same across different sites.
  • Modified self_URL function to work with both IIS and Apache. The previous function worked with Apache only.

  • Fixed issue with automatic page creator adding the incorrect short code.

  • Relaxed reliance on PHP5 by removing function reference parameters with default values. The plugin should now work with PHP4.
  • Updated jquery library to version 1.4.2.
  • Fixed root node identification, allowing users to style the root item with CSS.
  • Fixed bug that caused the expand icon to show for static pages that had no children.


  • Added CSS classes to page, anchor link, category and post titles and all root items allowing users to be easily override formatting.
  • The Summarizer can now use the anchor title for link summaries.
  • If the summary text is longer than the allowable character limit, the summarizer now adds ellipses to the end of the last word (it no longer truncates in the middle of a word). This results in a neater looking summary.
  • It is now possible to override any TOC option using parameters attached to the trigger tag. This allows multiple TOC lists to be displayed with different options (eg excluded blog cats, different icon sets etc).
  • Now dynamically removes open <p> tags before inserting the table of contents to ensure the TOCC plugin remain XHTML compliant.
  • Added option to allow sort by author (dynamically or by default).
  • Individual menu pull-down options can now be disabled by deleting the text after the comma within the Option Menu Item Texts setting.
  • Implemented hierarchial page and blog tree walking using a recursive algorithm for greater efficiency and reliability.


  • If no author URL is configured in the WP user section, the author link will default to the author post summary page.
  • Add Spanish (castilian) translation by Fernando J. Echevarrieta (echeva).
  • Use print_r method for linkTitle or linkPerm to convert an object into a string


  • Hierarchial blog categories are now supported. An option has been included to display categories as a flat list as per previous versions.
  • New feature to dynamically display or hide child elements similar to the way Windows Explorer works.
  • New options menu allowing a visitor to hide/expand child elements, show/hide all summaries and sort the table of contents in several different orders.
  • Added ability to display page author and/or page date for static pages.
  • Updated Italian translation to include Summarizer options thanks to Carlo Politi.
  • Stripped Worpress caption tags and plugin square bracket activation tags from page and post summaries. This was causing Summarizer display porblems with caption tags and the contact form plugin.
  • Moved all tocc options into a single associative array resulting in smaller and easier to follow code with less calls to the option table.
  • The php code has now been fully commented.
  • The code used to generate the TOC HTML code has been completely rewritten. The resulting HTML is now a lot neater and no longer uses div elements. All list item types are now fully customizable using CSS. The lists are also now truely hierarchial.
  • Added a new classes to items with children, the active page item, date text, author text, expandable items and option menu items allowing greater flexibility when custom styling with css.
  • CSS file has been completely rewritten so that it is easier to override and customize.
  • Many function parameters are now passed by reference thus reducing overall memory requirements and CPU usage.
  • All formatting now moved from source code to the css file.
  • Added nonce and admin check to all TOCC administration panel settings changes (for security purposes).


  • Removed reliance on PHP5. Four lines of code accessed objects in a way that was not compatible with PHP4.
  • Added space between Summarizer option span elements to fix rendering issue with some browsers.
  • Added mozilla inline block replacement to fix rendering issues in Firefox 2.0 and lower.
  • Replaced text Summarizer icons with mostly transparent icons to best suit more background colors.


  • Brand new feature added - The Summarizer. This new feature allow you to display post or page summaries under each table of content item. The summaries are automatically generated using All in One SEO tags, post exceprts, body content or META tags. Summaries are displayed or hidden using fancy jQuery scroll effects. The Summarizer is also uber configurable. Readers may hide or display summaries using themed icons. This feature suggested and championed by Scott.
  • Fixed a small issue that stopped table of contents from correctly validating as XHTML.
  • Added an "Are you sure?" warning when the restore defautls button is selected.
  • Dynamically add toc.css and java script headers to pages with table of contents tag only (instead of all pages).
  • TOCC pages generated with the create page option are now add to the end of an ordered page list (position 9999). This ensures that the page is displayed last in most theme menus. Comments are also now closed by default.

  • Modified css file to remove CSS2 style bullets when displaying icons.


  • Fixed bug in tocc_plugin_options() function that stopped the admin page loading on some systems. Thank you very much Michael E. Chancey Jr. for pointing out the bug and offering a fix.
  • Added "Settings" link to plugin menu.


  • Fixed fault causing author acknowledgment to dispay at full text height.
  • Optimized use of WordPress actions. The plugin now loads the localization file only when needed and all global code has been removed (except for action hooks).
  • Resolved issue where default options would periodically not translate on new plugin install.
  • Added special debug mode (activated by typing DEBUG_ON in TOC Title) to output all option settings as a hidden comment on the TOC page.
  • Updated admin settings page to appear more "WordPress" like.

  • Fixed bug where options default to "blank" on initial install.


  • Post anchor links now link to post permalink instead of the post number.
  • Added Italian language file by Carlo Politi.
  • Added Professional icon set (recommended by Bryan Brazil).
  • Changed IDs to CLASSES to ensure XHTML 1.0 Strict (thanks Bryan).
  • Added an uninstall script to remove all options when the plugin is deleted.


  • Removed translational strings from add_option_page function as I suspect this may cause a race condition on initial activation (ie after an upgrade) that may every now and again causes a momentary server failure message. The message goes away after refreshing the page.
  • Added CSS2 bullet clearing when displaying icons.


  • Added option to select one of five different icon sets. Icons sets now include none, handdrawn (original), blue, square and bling. None selected by default, except when upgrading and show icons checkbox was selected. In this case, handdrawn is automatically selected to ensure that existing site maps retain the current look.
  • The settings page now utilises collapsible menues as the number of options was becoming too large and overwhelming to display all at once.
  • Added option (off by default) to show all entries as list items if not displaying icons. Currently only blog posts and forum comments are displayed as list items. Enabling this option allows easier integration into some themes.
  • Fixed display issues with IE6. Found bug in IE6 render engine that stopped the icons from being displayed if the list item consists entirely of an anchor tag. Added a space to the end of all list items fixes this bug. Thank's Microsoft, can I have mny day back now?
  • Added option to display pages, posts and forum comments as separate lists each with individual headings. Heading texts can also be set.
  • Added option to display a "more" prompt at the end of the blog post and forum comments if not all of the posts or comments are shown. When clicked, the link will display a page of all posts or forum comments.


  • Modified internal English strings be i18n WordPress translation compatible.
  • Added translation "please help" message to the settings page.


  • Post count now pulled from database as $cat->count does not match the number of posts pulled from the database in some (rare) cases.
  • Modified post retrieval query slightly as it sometimes got confused with posts that have multiple categories.


  • get_posts() method used to retrieve wordpress blog posts sometimes return incorrect (empty) results. I have therefore implemented a new method to directly retrieve posts from the database. Retrieval falls back to get_post if no posts were found using the database method.
  • Removed bullets from forum comments and blog posts when displaying icons.
  • Hardcoded title formatting removed and added by default to the title. A blank title tag is now also allowed.
  • Additional desscriptions added to settings page to guide users on the use of the create page and update options buttons.
  • Added options to show blog and forum last update date and author.
  • Added date format specifier for blog and forum last update dates.
  • Added forum and blog author prefix text setting (for blogs using a language other than English)
  • Added forum and blog warning text setting (for blogs using a language other than English)
  • Added optional formatting to CSS file (such as removing bullets, adding anchor decoration etc). Instructions included in the CSS file.
  • Added ability to determine previous version during upgrade. This will allow future versions to tweak existing settings to match the look and functionality of previous versions.


  • Renamed function display_posts to tocc_display_posts and moved out of hook function as it conflicted with a function of the same name when display category posts. This update is a must for anyone using version 1.1 or 1.2 of this plugin!


  • Modified default settings to disable icons and show all blog entries (looks more professional).
  • Now shows blog entries as list items if icons are not selected. This provides better intergration with existing site themes and looks better when icons are not displayed.
  • Now uses configurable blog title if not displaying static pages. The blog title may be left blank.
  • Removed excessive use of nested &ltdiv&gt tag. This may have caused an issue with oulder browsers.
  • Now ensure blog posts are sorted by date rather than rely on WordPress defaults (as this may change in later WordPress versions).
  • Split the show posts/comments warning option into individual forum and blog sections.
  • New option (on by default) to show total number of posts in each category.


  • Posts will now be displayed if there is no static post page. Prior to this release, a static blog page was required.
  • Now shows blog entries if blog page or static pages are excluded from the table of contents.
  • Now show forum comments if forum page or static pages are excluded from the table of contents.
  • Added option to remove author acknowledgment.
  • Now displays a message indicating the last number of posts if the number of posts exceeds the selectable maximum number of displayed posts.
  • Now displays a message indicating the latest number of forum comments.
  • Fixed incorrect <div> nesting when static pages are excluded.
  • Fixed bug where anchor links would be displayed even though static pages were disabled.
  • Fixed bug where forum page would always default back to the first page in the settings editor.
  • Now allow extended help to be displayed if the option is disabled. This my be help the user to determine why the option is disabled in the first place.


  • Initial public release.

Requires: 2.7 or higher
Compatible up to: 2.9.2
Last Updated: 7 years ago
Active Installs: 3,000+


5 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.

100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1 100,1,1
100,1,1 100,1,1 100,2,2
100,1,1 100,2,2 83,6,5 100,1,1 100,1,1 100,1,1
100,4,4 100,4,4 100,3,3 75,4,3 100,1,1
100,2,2 100,14,14