I’m proud to announce my first WordPress plugin, “jQuery Table of Contents,” which inserts the lovely little table of contents you see on many of the pages of my website. It uses jQuery to inspect the content of your post or page and generate table of contents links based on the header tags. It’s easy, SEO friendly, and highly customizable.
Is this plugin helping you make money? Buy me a cup of coffee!
- Upload `jquery-toc.php`, `jquery-toc.css`, and `jquery-toc.js` to the `/wp-content/plugins/jquery-toc/` directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Important! – Configure the Table of Contents to customize it for your theme.
You’re looking at it. This site has a working example of the plugin. Look at the pink box in the top-right corner of this post.
Frequently Asked Questions
Q: Does this plugin work automatically for every theme?
A: Nope. The default settings provided will work out the box for the WordPress Default (Kubric) theme. Beyond that, you may have to change settings to get it to work with your theme.
- 1.0 – First public release