Monthly Archives: August 2011

Table of Contents Plus 1108.2 released

1108.2 is now available on the WordPress repository.  Here are the changes:

  1. New: visibility option to show/hide the table of contents.  This option is enabled by default so if you don’t want it, turn it off in the options.  Thanks to Wafflecone and Mike for the suggestion.
  2. New: transparent presentation option added.
  3. New: custom presentation option with colour wheel for you to select your own background, border, title and link colours.  More on this below.
  4. TOC display on homepage has been disabled by default as most configurations would not require it there.  If you want to enable it, you can do so under a new advanced admin option “Include homepage”.
  5. Make smooth scrolling less zealous with anchors and be more compatible with other plugins that may use # to initiate custom javascript actions.
  6. Minor admin cross browser CSS enhancements like background gradients and indents.

Custom colours

You can now customise the background, border, title and even link colours of the table of contents by selecting the custom option for presentation.  Click on the colour wheel to select your desired customisations or enter the hex values.  Check it out below:

Back to top functionality still hasn’t been added as I’m weighing up the different ways to do it.  It will come… eventually.

If you run into issues, or have suggestions, please make them at http://dublue.com/plugins/toc/

Table of Contents Plus 1108.1 released

The 1108 release introduced the use of heading content to create anchor targets rather than a predefined piece of text.  This was fine for English or other sites that uses ASCII characters.  1108.1 is a maintenance release which mostly addresses character sets for international sites.  Here are the changes:

  1. Anchor targets (eg anything after #) are now limited to ASCII characters as some mobile user agents do not accept internationalised characters.  This is also a recommendation in the HTML spec.  A new advanced admin option has been added to specify the default prefix when no characters qualify.
  2. Make TOC, Pages and Category labels compatible with UTF-8 characters.
  3. Support ‘ ” characters in labels as it was being escaped by WordPress before saving.

Still to come:

  • Back to top links
  • Better customisation of colours
  • Hide/show TOC link

Table of Contents Plus 1108 released

The 1108 release is now available in the WordPress repository.  Here are the changes:

  1. New: option to hide the title on top of the table of contents.  Thanks to Andrew for the suggestion.
  2. New: option to preserve existing theme specified bullet images for unordered list elements.
  3. New: option to set the width of the table of contents.  You can select from a number of common widths, or define your own.
  4. Allow 3 to be set as the minimum number of headings for auto insertion.  The default stays at 4.
  5. Now accepts heading 1s (h1) within the body of a post, page or custom post type.
  6. Now creates new span tags for the target rather than the id of the heading.
  7. Now uses the heading as the anchor target rather than toc_index.
  8. Adjusted CSS styles for lists to be a little more consistent across themes (eg list-style, margins & paddings).
  9. Fixed: typo ‘heirarchy’ should be ‘hierarchy’.  Also thanks to Andrew.
  10. Fixed: addressed an issue while saving on networked installs using sub directories.  Thanks to Aubrey.
  11. Fixed: closing of the last list item when deeply nested.

Still to come:

  • Back to top links
  • Better customisation of colours