Title: Digital Table of Contents
Author: amanstacker
Published: <strong>2025 年 1 月 3 日</strong>
Last modified: 2026 年 9 月 20 日

---

搜索插件

![](https://ps.w.org/digital-table-of-contents/assets/banner-772x250.png?rev=3338299)

![](https://ps.w.org/digital-table-of-contents/assets/icon-256x256.png?rev=3341130)

# Digital Table of Contents

 作者：[amanstacker](https://profiles.wordpress.org/amanstacker/)

[下载](https://downloads.wordpress.org/plugin/digital-table-of-contents.1.0.8.zip)

 * [详情](https://cn.wordpress.org/plugins/digital-table-of-contents/#description)
 * [评价](https://cn.wordpress.org/plugins/digital-table-of-contents/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/digital-table-of-contents/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/digital-table-of-contents/#developers)

 [支持](https://wordpress.org/support/plugin/digital-table-of-contents/)

## 描述

**Digital Table of Contents** is a powerful yet lightweight modular TOC (Table of
Contents) system that helps you effortlessly generate and manage tables of contents
across your website.

Built to be bloat free and efficient, Digital TOC focuses on performance, flexibility,
and simplicity. Its modular structure ensures a clean, well organized settings panel,
allowing you to enable only the features you need.

Gain full control over styling, behavior, and placement, all from one intuitive 
dashboard. Customize colors, typography, icons, and toggle behavior without touching
any code.

The built in **Live Preview** feature lets you see your design changes instantly.
No need to rely on your website theme or reload pages. You don’t have to depend 
on any theme styling or pre built TOC designs. Simply customize everything live,
save your settings, and make it truly your own.

This is not just another TOC plugin. It’s a complete content organization system
designed for creators who care about precision and performance. Once you try it,
you’ll love how effortlessly you can create a visually appealing, user-friendly 
table of contents that perfectly fits your site’s style.

**Key Features:**

 * **Modular TOC System**: Each major TOC feature is separated into its own module
   for better management and flexibility. Comes with a dedicated settings panel 
   for full control — ensuring smooth operation without conflicts and making it 
   stand out from other plugins.
 * **Live Preview**: Instantly see your TOC design changes as you customize, without
   relying on reloading pages.
 * **Auto Insertion of TOC**: Automatically insert a table of contents across all
   post types with a single setup.
 * **Flexible TOC Positioning**: Choose where to place the TOC — before the first
   heading, after the first heading, top of the content, bottom of the content, 
   or after a specific paragraph number.
 * **Heading Hierarchy Support**: Automatically generate a hierarchical TOC based
   on headings from H1 to H6.
 * **Smart Placement Controls**: Display the TOC on specific post types, individual
   posts, selected categories, and more — with options to exclude specific posts
   or pages.
 * **Paginated TOC support**: Fully compatible with the `<!--nextpage-->` tag, creating
   individual or combine TOCs for each page of your split content.
 * **Smooth Scrolling**: Enables a seamless and fluid scroll experience when navigating
   through the table of contents, enhancing overall user experience.
 * **Accessibility Attributes**: Adds essential ARIA and semantic HTML attributes
   to ensure the table of contents is fully accessible to screen readers and assistive
   technologies.
 * **Rendering Style **: Choose between CSS-based (lightweight and fast with basic
   interactions) or JavaScript-based rendering (more interactive and dynamic behavior)
   depending on your performance and functionality needs.
 * **Multiple Header Icon Options**: Choose from various icon styles like List Icon(
   ☰), Show/Hide, Plus (+)/Minus (−), or even use a custom icon of your choice.
 * **Full Customization**: No need to rely on predefined designs — easily customize
   colors, styles, icons, backgrounds, links, titles, borders, and much more. Hassle-
   free, giving you the freedom to create almost any type of table of contents design.
 * **Custom CSS**: If the built-in customization options aren’t sufficient, you 
   can add your own CSS directly in the provided Custom CSS box.
 * **Jump Links Control**: Option to generate a TOC without clickable jump links,
   ideal for visual structure without navigation.
 * **Lightweight & Performance-Friendly**: Built for speed and efficiency, the plugin
   is optimized to have minimal impact on your site’s load time and overall performance.
 * **Import / Export**: Easily back up or transfer your TOC settings and configurations
   between sites with the one-click import/export feature.
 * **Delete Plugin Data & Reset**: Option to remove all Digital Table of Contents
   plugin data from the database when Digital Table of Contents plugin is uninstalled,
   ensuring a clean removal.
 * **Fast Help & Support**: Facing issues or unable to find a feature in Digital
   Table of Contents? Our team is available 24/7 to assist you and resolve bugs 
   or concerns as quickly as possible.

**Shortcode:**

Turn on the Shortcode Module to unlock a powerful, beginner-friendly WordPress Table
of Contents shortcode builder — no coding required. Forget manually typing or memorizing
shortcode parameters; simply open the shortcode settings panel and start customizing
your TOC design, layout, and behavior.

As you adjust the settings, a real-time live preview instantly shows you exactly
how your Table of Contents will appear, allowing you to fine-tune headings, styles,
toggle options, icons, and more. This visual approach ensures you get the perfect
look before placing it on your site.

When you’re happy with the configuration, the plugin automatically generates a fully-
parameterized TOC shortcode in the Shortcode Source tab. Just copy and paste it 
anywhere — inside posts, pages, widgets, or even custom templates — and your Table
of Contents will appear exactly as previewed.

With default settings, just use [digital_toc] for a quick, clean, and fully functional
Table of Contents without any extra setup.

**Available Modules :**

 * ✅ **In-Content** : Embed the table of contents directly within your post or 
   page content for seamless navigation.
 * ✅ **In-Content Mobile** : Optimized version of In-Content specifically designed
   for mobile devices.
 * ✅ **Shortcode** : Easily insert the TOC anywhere using a simple shortcode, giving
   you full placement flexibility.
 * ✅ **Sliding Sticky** : A sticky TOC that stays hidden and slides in from the
   left or right when toggled. Best for users who want to save space and show TOC
   only when needed.
 * ✅ **Sliding Sticky Mobile** : A sticky TOC that stays hidden and slides in from
   the Bottom to Topp or Top to Bottom when toggled. Best for users who want to 
   save space and show TOC only when needed.
 * ✅ **Floating** : A Floating TOC is a movable, draggable, or collapsible navigation
   element that isn’t fixed, allowing repositioning and enhanced interaction

### Credits

This plugin is inspired by and pays credit to the following projects:

 * [Easy Table of Contents](https://wordpress.org/plugins/easy-table-of-contents/)
 * [Table of Contents Plus](https://wordpress.org/plugins/table-of-contents-plus/)

**Third-party Libraries Used:**

 * [Ace Editor](https://ace.c9.io/) – for code editing interface in custom CSS
 * [Select2](https://select2.org/) – for enhanced select dropdowns

### License

This plugin is licensed under the GPLv2 or later.

### Support & Feedback

For support or suggestions, visit the [Support Forum](https://wordpress.org/support/plugin/digital-table-of-contents).

Contribute or view the source on GitHub: [https://github.com/amanstacker/digital-table-of-contents](https://github.com/amanstacker/digital-table-of-contents)
Love the plugin? [Support development with a donation](https://www.paypal.com/paypalme/amanstacker)

## 屏幕截图

[⌊In-Content TOC in action⌉⌊In-Content TOC in action⌉[

In-Content TOC in action

[⌊General tab options⌉⌊General tab options⌉[

General tab options

[⌊Advanced tab controls⌉⌊Advanced tab controls⌉[

Advanced tab controls

[⌊Placement settings⌉⌊Placement settings⌉[

Placement settings

[⌊Customization panel for full styling⌉⌊Customization panel for full styling⌉[

Customization panel for full styling

[⌊Admin tools section (Import/Export, Reset)⌉⌊Admin tools section (Import/Export,
Reset)⌉[

Admin tools section (Import/Export, Reset)

[[

[[

[[

[[

[[

## 安装

 1. **Automatic Installation:**
 2.  * Go to **Plugins > Add New** in your WordPress dashboard.
     * Search for “Digital Table of Contents”.
     * Click **Install Now**, then **Activate** the plugin.
 3. **Manual Installation via WordPress:**
 4.  * Download the plugin ZIP file from the official source.
     * Go to **Plugins > Add New** in WordPress.
     * Click **Upload Plugin**, select the downloaded ZIP file, and click **Install
       Now**.
     * Activate the plugin after installation.
 5. **Manual Installation via FTP:**
 6.  * Download the plugin ZIP file and extract it.
     * Upload the extracted folder to the `/wp-content/plugins/` directory using an
       FTP client.
     * Log in to your WordPress dashboard and go to **Plugins > Installed Plugins**.
     * Find “Digital Table of Contents Plugin” and click **Activate**.
 7. From the WordPress dashboard, navigate to the **Digital Table of Contents** menu
    to access and configure the plugin settings.

## 常见问题

### Is this plugin SEO-friendly?

Yes. It creates structured internal links and uses accessible markup, improving 
crawlability and readability.

### Can I customize how the TOC looks?

Absolutely. You can customize nearly every visual element — container, title, icon,
links, and more — via the Customization tab.

### Will it work with any theme?

Yes. It is designed to be theme-agnostic and should work out of the box with most
WordPress themes.

### Does it support mobile devices?

Mobile-specific modules are coming soon in future updates!

### Can I reset all plugin settings?

Yes. Use the Tools section to reset or export/import your settings.

## 评价

![](https://secure.gravatar.com/avatar/ce19e1d6dbf53fc4820ccbb6075fa7fb7e00e9b2a009ce98acbd0c3a0e191f97?
s=60&d=retro&r=g)

### 󠀁[A Brutal Server-Level Crash Test Passed good](https://wordpress.org/support/topic/a-brutal-server-level-crash-test-passed-good/)󠁿

 [rapid2004](https://profiles.wordpress.org/rapid2004/) 2026 年 9 月 24 日 1 回复

I stumbled upon this plugin completely by accident, but as a Linux infrastructure
engineer, I don't trust software blindly. For years, I heavily used and relied on
the classic TOC+ (Table of Contents Plus), so I immediately noticed the familiar
solid architectural roots here. I decided to subject this new evolved version to
a brutal server-level crash test on my staging environment. My goal was to see what
would die first under heavy load: whether the core WordPress engine would crash 
with a White Screen of Death (WSOD), or whether the plugin itself would fail. To
my surprise, I couldn't break it. The developer did an exceptional job refining 
the legacy logic — the code handles asset loops perfectly without bloating server
RAM or triggering messy SQL queries. It is already deployed and running flawlessly
on my live production server. Regarding the FAQ section where it states that "mobile-
specific modules are coming soon": in my professional opinion, separate mobile panels
are completely unnecessary. The default layout container already scales natively
and displays beautifully on smartphones right out of the box. No extra bloat needed.
Outstanding work on upgrading a classic concept. Highly recommended for heavy production
environments.

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/digital-table-of-contents/reviews/)

## 贡献者及开发者

「Digital Table of Contents」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ amanstacker ](https://profiles.wordpress.org/amanstacker/)

[帮助将「Digital Table of Contents」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/digital-table-of-contents)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/digital-table-of-contents/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/digital-table-of-contents/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/digital-table-of-contents/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/digital-table-of-contents/)。

## 更新日志

#### 1.0.8

 * Tested with WordPress version 7.1

#### 1.0.7

 * Tested with WordPress version 7.0

#### 1.0.6

 * Tested with WordPress version 6.9

#### 1.0.5

 * Live Preview Panel added for all toc modules
 * Minor bug fixes

#### 1.0.4

 * Sliding Sticky Mobile module added.
 * Incontent Mobile module added.
 * Floating module added.

#### 1.0.3.1

 * Fixed Incontent toc is broken

#### 1.0.3

 * Sliding Sticky module added.

#### 1.0.2

 * Shortcode module added.
 * Preserve Line Breaks option added.
 * Exclude Headings options added.
 * optimized ace editor to remove extra mb of size

#### 1.0.1

 * Initial release with In-Content TOC module
 * General, Advanced, Placement, and Customization tabs included
 * Tools section with Import/Export and Reset options

## 额外信息

 *  版本 **1.0.8**
 *  最后更新：**3 周前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.1.3**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/digital-table-of-contents/)
 * 标签
 * [headings](https://cn.wordpress.org/plugins/tags/headings/)[navigation](https://cn.wordpress.org/plugins/tags/navigation/)
   [sticky toc](https://cn.wordpress.org/plugins/tags/sticky-toc/)[table of contents](https://cn.wordpress.org/plugins/tags/table-of-contents/)
   [toc](https://cn.wordpress.org/plugins/tags/toc/)
 *  [高级视图](https://cn.wordpress.org/plugins/digital-table-of-contents/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/digital-table-of-contents/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/digital-table-of-contents/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/digital-table-of-contents/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/digital-table-of-contents/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/digital-table-of-contents/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/digital-table-of-contents/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/digital-table-of-contents/reviews/)

## 贡献者

 *   [ amanstacker ](https://profiles.wordpress.org/amanstacker/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/digital-table-of-contents/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/paypalme/amanstacker)