How to use the TOC

A blog-integrated wiki is one of the tools I was looking for since long and which – at least – convinced me to choose WordPress. Having installed the WordPress wiki-plugin, I tried to write my first entries. Here are the steps I followed:

1. I wrote an entry about a special subject.
2. In the backend of my blog (on the editor’s page) I signed in for “This page/post is a wiki friendly page and may be edited by authors and contributors”  and “Enable Table of Contents”.
3. Then I wrote another entry in which I linked to the above entry just setting the title of the entry into double square brackets.
4. In the new entry the title of my first entry appeared in another color depending on the used theme and I could use it like a link.

But: How could I get content in my TOC???

I tried several wiki-syntaxes I knew from other wikis, but I got no result. Finally I realised that I do not have to enter wiki-syntax but simply HTML-tags!

The solution is:

If you want to get a title in your TOC, put the title (of your actually written post) into h2-tags (see below). If you want to get subtitles, put the subtitles into h3-tags. In other words: Use the “smaller than”-key, add “h2″, use the “bigger than”-key, add your title, use the “smaller than”-key, add a slash, add “h2″ and finish using the “bigger than”-key. For a subtitle do the same using h3 instead of h2.

Don’t forget to enable the table of contents!

On your frontpage in the TOC now your titles and subtitles of this specified entry are to be seen.

For further information look here.

Comments are closed.