This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Auto Anchor List

Description

Creates anchor links to heading tags in the content and displays them automatically at the top of the content, or allows for custom placement with tags or sidebar widget.

Features:
1. Has option to auto display anchor links to Heading tags in content.
2. Allows control of which content to auto display links.
3. Can disable plugin css to allow custom styles to be applied.
4. Has widget available for display
5. Insert custom title to display above links
6. Clears all traces from any excerpts displayed

Screenshots

  • Admin options
  • Display in default wordpress template

Installation

  1. Upload to your WordPress plugins folder.
  2. Activate in WordPress admin area.
  3. Update options under “Settings->Auto Anchor List”

FAQ

How Do I Place In Custom Locations?

In Content
1. Using the visual editor
– Add the tag [mwm-aal-display] into your individual content using the visual editor.
2. PHP Template Tag(must be below the_content())
output_content_links(); ?>

In Sidebar
1. Activate Widget
– Go to Appearance -> Widgets in WordPress admin “MWM Auto Anchor List”.
2. PHP Template Tag
output_sidebar_links(); ?>

How Do I Add Custom Styles?

The content display and side bar are wrapped with a

<

div> with an assigned css class. You can put the classes into your own style sheet and use further declarations to target elements within the div.

For Content:(uses <ol>,Does not use an H tag for title)
    .mwm-aal-container{}
    .mwm-aal-container-title{}

For Sidebar: (uses <ul>, traditional h2 tag for title)
    mwm-aal-sidebar-container{}

Reviews

August 8, 2018
This works with heading levels. Have some issues: * If you add attributes to headings the heading is missed from the table of contents * There are many errors on the admin page that show that could easily be fixed by the author * Styling is flexible – but you have to add your own css rather than have the styling in the admin of the plugin which would be useful * There are no options to position the TOC. It comes out where the shortcode is added. This is a plus and minus. I like it but I would think for those less able to style pages it would be an issue. Overall I like the plugin and it does what it says. If the author could get rid of the pesky errors that are displayed in the admin interface it would get a 5* review from me.
Read all 2 reviews

Contributors & Developers

“Auto Anchor List” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Auto Anchor List” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.