plugin-icon

SimpleTOC – 目次ブロック

投稿者: Marc Tönsing·
SEO に強い目次 Gutenberg ブロック。JavaScript や CSS を一切使用しないため、読み込みが速い。
評価
5/5
バージョン
6.9.6
有効インストール数
10K
最終更新日時
Dec 16, 2025
SimpleTOC – 目次ブロック

投稿やページに目次ブロックを追加します。TOC は、記事またはページで見つかったすべての見出しへのリンクのネストされたリストです。これを使うには、ブロックを追加して「SimpleTOC」または単に「TOC」を検索するだけです。

ブロックのサイドバーで目次の最大深度を設定することができます。「目次」という見出しを非表示にして、通常の見出しブロックを使って独自の見出しを追加することができます。

SimpleTOC がインストールされた状態の、新しい WordPress インスタンスを起動する

User Feedback

“It is lightweight, stable, and fully compatible with WordPress Full Site Editing. A reliable solution that integrates seamlessly and performs exactly as expected.” — @js100 on wordpress.org

“Does the job perfectly, and adds no bloat.” — @clicknathan on wordpress.org

“Simple yet powerful. Great plugin that does exactly what you need.” — @mixey on wordpress.org

Accessibility

This plugin is designed & developed for WCAG 2.2 level AA conformance. The plugin is tested with assistive technology and intended to be accessible, however some third party plugins or themes may affect the individual accessibility on a given website. If you find an accessibility issue, please let us know and we’ll try to address it promptly.

機能

  • Gutenberg のために設計されています。
  • 設定はゼロ: SimpleTOC ブロックを投稿に追加するだけです。
  • 最小限かつ有効な HTML 出力。
  • Utilizes the browser’s built-in details tag for a collapsible interface.
  • アコーディオンメニューを有効にしない限り、JavaScript や CSS を一切使用しません。
  • Gutenberg のネイティブグループスタイリングオプションで SimpleTOC をスタイリングします。
  • テーマのスタイルを継承します。
  • Smooth scrolling effect using CSS.
  • Accessibility built-in by following web standards.
  • Optional ARIA Label and navigation role attributes.
  • 複数の言語に翻訳されています。以下を含みます: ドイツ語、日本語、中国語(繁体字)、オランダ語、ブラジルポルトガル語、フランス語、スペイン語、ラトビア語。
  • Ideal for creating a Frequently Asked Questions section on your website.

カスタマイズ

  • Administrators can utilize global settings to supersede the individual block settings.
  • Gutenberg のグループを使って背景色や文字色を追加。
  • ワイドとフルワイドのネイティブブロックに対応。
  • 見出しの最大深度を制御します。
  • 順序付きリスト、箇条書きリストから選択できます。リストをインデントできます。
  • 見出しレベルを選択することや、段落にすることができます。
  • TOC ブロックの h2 見出しを無効にして、独自の見出しを追加します。

互換性

  • GeneratePress と Rank Math に対応。
  • 人気の AMP プラグインに対応。

How to contribute

SimpleTOC はオープンソースで、GitHub Pages で開発されています。もしバグを見つけたり、機能のアイディアがあれば、お気軽に貢献し、プルリクエストを作成してください。

クレジット

このプラグインは、pdewouters からフォークし、Easy-Table-of-Contents のコードを使用しています。

Tom J Nowell と Sally CJ には、wordpress.stackexchange.com での私の質問をたくさん助けてもらいました。

And many more thanks to all the developers on GitHub who helped me making SimpleTOC what it is today!

紀元前100年頃、目次を発明したクイントゥス・ヴァレリウス・ソラヌスに感謝します。

無料Business プランを利用中
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.9
このプラグインをダウンロードして、 サイトに使用できます。