Plugin informationTop
| Plugin name: | Tiny Table Of Contents – TinyTOC |
| License: | GNU-GPL |
| Current version: | 1.6.3 |
DescriptionTop
Plugin that enables you to create table of contents in your posts and pages. You can choose what it will parse, and what it will not parse. It’s very simple to use from your editor so you do not have to manually enter tags. Now it’s nothing special, but later it will have much more features including some predefined styles and more styling control.
ScreenshotsTop
DocumentationTop
Here you can see plugin documentation. It will show you what does each option do. To use this plugin you just have to go to your post editor, select chapter title that you want in your table of contents and assign a level to it (by selecting level from drop-down menu TOC Levels in your editor).
InfoTop
| Name: | Plugin name and url |
| Version: | Plugin version that you are using |
| Author: | Author name and website url |
| E-mail: | Author contact email |
GeneralTop
| Enabled: | true if plugin is enabled, false if it’s not enabled |
| Maximum level number: | Number of levels that you can select in you editor |
| Use “Back to top” button: | If true, you will see button that will move you back to table of contents. If false you will not be able to use it. |
| Priority: | Number that is used by wordpress to set plugins priority (bigger number, later it will be executed) |
| Use “Go to” feature: | If true you can click on a chapter name in table of contents and you will be moved to it’s location |
| Remove when not used: | If true TOC tags will be removed when TOC is not used, if false they will not be removed |
| TOC on all pages: | If true TOC is displayed on all pages of multy page post, if false it will be displayed on on first page |
Style chapter level headingsTop
| Use chapter level styling: | If true, each level has its own defined styling |
| Strip existing tags: | If true, html tags from title are removed |
| Level n start: | Defines html that is placed before title that is n-th level |
| Level n end: | Defines html that is placed after title that is n-th level |
HeaderTop
| Title: | Title that is displayed on top of your table of contents |
| Html before title: | Html string that will be front wrapper of your table |
| Html after title: | Html string that will be back wrapper of your track |
| Header css style: | Css style used to style header |
Back to topTop
| Text: | Text that will be used as your button. If you have image you can use it here by putting `%image%` |
| Css: | Css style used to style button |
Table of contents styleTop
| Start list: | Html list start wrapper |
| End list: | Html list end wrapper |
| Start list item: | Html list item start wrapper |
| End list item: | Html list item end wrapper |
| Css: | Css style used to style lists |
Display onTop
| Post: | If true it will parse posts, if false it will not parse posts |
| Page: | If true it will parse pages, if false it will not parse pages |
| Home page: | If true it will parse home page, if false it will not parse home page |
| Search: | If true it will parse search pages, if false it will not parse search pages |
| Feed: | If true it will parse feeds, if false it will not parse feeds |
| Category archive: | If true it will parse category archive, if false it will not parse category archive |
| Date archive: | If true it will parse date archive, if false it will not parse date archive |
| Any archive: | If true it will parse any archive, if false it will not parse any archive |
| Exclude pages: | List of ID-s of pages that are excluded from parsing |
| Exclude posts: | List of ID-s of posts that are excluded from parsing |
FAQTop
Q: Now do I use this plugin?
A: When you go to your post editor you will see drop down menu TOC Levels. Select you chapter and then chose one of the levels. Or you can manualy wrap your chapter in [tinytoc level="ln"]cont[/tinytoc] tags where ln is your level (number) and cont is you chapter title.
Q: How to use image as “Back to top” button?
A: You have to add tag to your text with path to that image as src attribute value.
Q: Can I add text before TOC?
A: If you add [tinytoc] after that text, yes.
Q: Can I chose TOC position?
A: Yes, by placing [tinytoc] in your text.
Q: How can I remove Header and still be able to use Back to top feature?
A: In order to use Backt to top you need to have some tag with some ID. Just add style=”display: none;” to your Html before title field in tag. If you have default example <h3 id=”tyinTOC”> then you would have <h3 id=”tyinTOC” style=”display: none;”>. That will remove Title before table of contents and still allow you to use Back to top feature.
Q: How do I know what each of these fields mean?
A: Visit documentation.
DownloadTop
Download tinytoc.zip – version 1.6.3
ChangelogTop
Ver 1.6.3 (released 2010-06-03)Top
Ver 0.12.31 (released 2009-12-31)Top
Ver 0.8.30 (released 2009-08-30)Top
Ver 0.8.12 (released 2009-08-12)Top
Ver 0.7.18 (released 2009-07-28)Top
Ver 0.7 (released 2009-06-27)Top
Ver 0.3 (released 2009-05-21)Top
Hi, many thanks for that plugin, I’ve pimped it a bit, since the additional tags I find quite not necessary; my version will generate TOC from H1 to H6 HTML-Tags, and can add chapter numbers in a variety of ways (like 1. 2. 3. or I, II, III, and so on). Have a look at my page (in German mostly), if you’re interested; and if you like, I will send you the code. it’s highly modiefied though… bye, Chris
New version is about to come in few days so almost every conflict will be removed
http://www.wp-united.com/viewtopic.php?f=15&t=2719&p=11194#p11194
Plugin conflict
Hahaha, I’m such a fool xd. It’s just I have so much to do
. Thank you.
Thanks for fixing the bugs reported and mentioning me. LOL…this post itself now contains a bug. Instead of showing the TOC at top, it is being shown where you posted the shortcode in documentation on the post. Correct it.
Can you give me some more information? Like how link is generated (what kind of link you get)?