“Blogging” typically connotes short-form writing that needs little internal structure, but that’s no reason to cramp your style. As people start to explore WordPress‘s Pages feature, it seems likely that we’ll need a way to structure content within posts or pages sooner or later. That’s why I’m working on bsuite_innerindex.
It’s a WordPress Plugin that puts named anchors on all of the
<h*>-tagged content, and builds a list of links to those anchors that can be inserted anywhere on the page. An example can be seen in this post, and in the old bstat Beta 4 announcement.
Write a post or page as usual, inserting
<h*> tags where you normally would.
Add this token somewhere in your page or post:
[[page``index]] That token will be replaced with the generated index. Why not just insert the index at the top of the page? Because it’s your document and you might want to put it elsewhere, like after the introduction or executive summary. But just remember to insert the token, because it won’t put the index anywhere if you don’t.
place unzipped “ bsuite_innerindex.php” file in your wp-content/plugins folder and activate it via the WP control panel. See the WordPress Codex for more detail.
Notes & Caveats
This is the first beta release of this plugin. I don’t see how it could break anything, but what do I know. Don’t blame me for loss, damage, or bad presidents. Please report bugs and/or suggestions in the comments.