Этот плагин не тестировался с последними 3 основными выпусками WordPress. Скорее всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

Auto Anchor List

Описание

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

Скриншоты

  • Admin options
  • Display in default wordpress template

Установка

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

Часто задаваемые вопросы

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{}

Отзывы

08.08.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.
Посмотреть все 2 отзыва

Участники и разработчики

«Auto Anchor List» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:

Участники

Перевести «Auto Anchor List» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.