這個外掛並未在最新的 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{}

使用者評論

2018 年 8 月 8 日
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 訂閱開發記錄