I am looking for a simple TOC plugin for WordPress that would create a ToC similar to the one from MediaWiki (Wikipedia). Usually I need this only for big pages and the TOC needs to be generated based on heading from the post.

Considering that the number of pages need TOC is quite small, it should be ok to enable this plugin only for some of them.

I found several solutions, but none of them seamed ok. The closest one was Hackadelic SEO Table Of Contents, but this one had two big issues: contained a AD link and no way to enable it only for specific pages.

2 Answers 2


check out this one http://scott.yang.id.au/code/toc-generator/

seems to answer your requirements.


after reading the comment i figured that i could take a crack at it and i came up with this:

Simple TOC enjoy!

no style is implemented so you can do what ever you want with it with the provided classes. enjoy.

  • This is quite old (2006) and has some annoying bugs. I’ve used it but wouldn’t recommend it anymore.
    – fuxia
    Apr 30, 2011 at 21:28
  • @toscho: i guess i've jump with an answer and yeah its not that good, so i cooked a quick one.
    – Bainternet
    Apr 30, 2011 at 23:15
  • It would be ok with one remark, there is no reason for using special tags instead of detecting HTML heading elements.
    – sorin
    May 1, 2011 at 8:10
  • No, but i was aiming at a wiki like markup.
    – Bainternet
    May 1, 2011 at 8:13

You might want to give Table of Contents Plus a try. The TOC is added automatically, but you can choose the minimum number of headings. You can make some customisation in the behaviour and choose different styles.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.