A blog-integrated wiki is one of the tools I have been looking for ever since I started blogging. It was this tool that eventually convinced me to choose WordPress over rival applications. Having installed the WordPress Wiki Plugin, I tried to write my first entries. These are the steps I followed:
Writing a wiki-post
First step
I wrote an entry about a specific subject.
Second step
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”.
Third step
Then I wrote another entry in which I linked to the above entry by just setting the headline of the first entry into double square brackets.
Fourth step
In the new entry the headline of my first entry appeared in the color assigned to it by the theme used. It worked just like any other link.
How to get content into the TOC (table of contents)
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 – simple HTML-tags will do the job!
The solution
First step
If you want to get headings in your TOC, write them in the textfield of your post (!) using h2-tags: <h2>heading</h2>
Second step
If you want to get subheadings, put the subheadings into h3-tags: <h3>subheading</h3>
Third step
Don’t forget to enable the table of contents!
Fourth step
Now the headings and subheadings of this specific entry are visible in the TOC on your frontpage (see example above).