SmoothTOC

説明

SmoothTOC automatically generates a Table of Contents for your posts and pages based on your chosen headings (H2, H3, etc). You can insert the TOC automatically (top or after first paragraph) or manually using the [smooth_toc] shortcode. The plugin is highly customizable, translation-ready, and built to meet WordPress.org review standards.

Features

  • Automatic TOC generation: Creates a table of contents based on your post’s headings
  • Customizable appearance: Change colors, font size, and width
  • Flexible placement: Insert TOC at the top or after the first paragraph
  • Heading selection: Choose which heading levels to include (H1-H6)
  • Shortcode support: Use [smooth_toc] anywhere in your content for manual placement
  • Per-post control: Enable/disable TOC for individual posts
  • Mobile-friendly: Responsive design that works on all devices
  • Translation-ready: Fully translatable using WordPress translation system

Usage

  1. Install and activate the plugin
  2. The TOC will automatically appear in your posts and pages
  3. Configure your settings under Settings > SmoothTOC
  4. (Optional) Use the [smooth_toc] shortcode in your posts/pages for manual TOC placement

スクリーンショット

  • screenshot-1.png

インストール

  1. Upload the smooth-toc folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings > SmoothTOC to configure the plugin

FAQ

Can I customize the appearance of the TOC?

Yes! You can customize the background color, text color, font size, and width through the plugin settings.

How do I disable the TOC for a specific post?

Each post has a checkbox in the post editor to disable the TOC for that specific post.

Can I use the TOC in my theme’s template files?

Yes, you can use the shortcode [smooth_toc] in your template files or call the function smoothtoc_generate_toc($content) directly.

評価

このプラグインにはレビューがありません。

貢献者と開発者

SmoothTOC はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“SmoothTOC” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0

  • Initial release