這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Heroic Table of Contents

描述

WordPress Table of Contents Plugin

Heroic Table of Contents is the easiest way to add a Table of Contents to your site.

A contents or index section allows readers to easily navigate pages on your site. The Heroic Table of Contents block automatically detects headings on a page, 4 built-in-styles, options for display and more.

Features:-

  • Add a contents section to pages in seconds.
  • Choose from 4 pre-made Table of Contents styles.
  • Hide and relabel headings without altering the original content.
  • Choose which headings to display in the Table of Contents.
  • Expand and collapse the content section.
  • Place the contents section anywhere.
  • Choose bulleted, numbered or plain lists
  • Use multiple Table of Contents blocks to break up and sub-index lengthy content.
  • Mobile friendly
  • SEO friendly

About HeroThemes
HeroThemes develop some of the best WordPress plugins, tools and themes, with over 26,000 customers and counting. If you like this plugin and want more news, themes and plugins, you can do the following:

螢幕截圖

  • The Heroic Table of Contents Block adds a Table of Contents section to your content
  • Add the Heroic Table of Contents block using the + symbol and selecting it from the editor
  • The Table of Contents is automatically generated for headings (H1, H2, H3 etc)
  • Includes 4 built in styles, collapsible contents listing and select headings to include/exclude
  • Show/hide and relabel headings by clicking on the icons when the block is selected
  • Choose contents list style
  • Add custom links to the Table of Contents (beta feature)

安裝

INSTALL HEROIC TABLE OF CONTENTS FROM WITHIN WORDPRESS

  1. Visit the plugins page within your dashboard and select “Add New”
  2. Search for “Heroic Table of Contents”;
  3. Activate Heroic Table of Contents from your “Plugins” page;
  4. Go to “after activation” below.

INSTALL HEROIC TABLE OF CONTENTS MANUALLY

  1. Upload the unzipped “heroic-toc” folder to your websites /wp-content/plugins/ directory;
  2. Activate the Heroic Table of Contents plugin through the “Plugins” page in WordPress;
  3. Go to “after activation” below.

AFTER ACTIVATION

You can now create a table of contents by adding the Heroic Table of Contents block to your content using the + button in the WordPress block editor.

常見問題

Who should use Heroic Table of Contents?

This plugin allows you to add a Contents (Table of Contents, index, page navigation or whatever you want to call it) to your WordPress posts, pages and articles.

Will Heroic Table of Contents work with my theme?

Heroic Table of Contents is designed to work with any WordPress theme.

Is Heroic Table of Contents translation ready?

Yes, Heroic Table of Contents has full translation and localization support.

I have a question

Feel free to contact us directly via herothemes.com/contact/ for any questions.

How do I get support?

If you have trouble with the Heroic Table of Contents WordPress plugin, you can get help on the support forums here at wordpress.org or by checking out or knowledge base at herothemes.com/support/.

評價

2022年2月1日 2 replies
Wonderful block for Gutenberg.
2021年8月10日 4 replies
Hi. Would you create a fixing (and put it as an option on the plugin options) to fix the problem of the anchor going to very top of the viewport, but when the page has a top floating navbar, the anchors are hidden by the navbar. I´ve tried to fix it using css, but got no success. May you update it on the next plugin update?
2021年5月4日
I needed a Gutenberg friendly TOC plugin for my elearning site, and this is working almost perfectly. One more feature I need is, support for multiple pages using WP's page break feature. Designs are way better than TOC+ and other major TOC plugins.
2021年3月14日
Works as intended if a blog post is a single page. If it's split across multiple pages, the anchors on subsequent pages don't work because they expect them all to be in the same page as opposed to a single page.
閱讀全部8個評價

貢獻者及開發者

“Heroic Table of Contents” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Heroic Table of Contents 外掛目前已有 3 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Heroic Table of Contents 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.2.1

(19 May 2022)

(Improved) Tweaks and compatibility checking for WordPress 6.0
(Improved) Removed block from non-editor screens where it is not relevant
(Improved) Now supports Reusable blocks

1.2.0

(14 Jul 2021)

(Updated) Improvements and testing for WordPress 5.8

1.1.2

(8 Feb 2021)

(Fixed) Readme.txt formatting

1.1.1

(29 Jan 2021)

(Fixed) Adding missing script.min.js file

1.1.0

(28 Jan 2021)

(Fixed) Semantic HTML markup of the Table of Contents output
(Improved) Optimized scripts and removed jQuery dependencies
(Improved) Math Rank support, SEO for Table of Contents
(Improved) H1 headings are now ignored

1.0.2

(26 Aug 2020)

(Fixed) React warnings in editor
(Improved) Editor styling

1.0.1

(14 Apr 2020)

(Improved) Styling improvements

1.0

(16 Mar 2020)

(New) Initial release