
內容簡介
Imran Table of Contents 是一款輕量級、快速且高度可自訂的 WordPress 目錄外掛,能自動生成清晰易用的內容目錄,提升使用者體驗、導航及 SEO 效果。
【主要功能】
• 自動生成目錄
• 支援手動短碼 [imran_toc]
• 與 Elementor 和 Gutenberg 相容
• 標題控制(H1–H6 選擇)
• 固定側邊欄目錄
• 行動裝置浮動目錄
外掛標籤
開發者團隊
原文外掛簡介
Imran Table of Contents is a lightweight, fast, and highly customizable TOC plugin for WordPress.
It automatically generates a clean and user-friendly table of contents based on your headings and helps improve user experience, navigation, and SEO.
🚀 Key Features:
Automatic TOC generation
Manual shortcode support [imran_toc]
Works with Elementor and Gutenberg
Heading control (H1–H6 selection)
Sticky sidebar TOC
Mobile floating TOC
Collapse / expand option
Smooth scrolling and scrollspy
Search inside TOC
Click analytics tracking
Dark mode support
Insert position control
⚡ Performance Focused:
This plugin is lightweight and does not rely on heavy external libraries.
🎯 Perfect for:
Bloggers
SEO experts
Affiliate marketers
Content-heavy websites
📌 Usage:
Simply install and activate. The TOC will appear automatically, or use the shortcode anywhere:
[imran_toc]
This plugin is designed to give you full control over your content structure while keeping everything simple and fast.
All options:
[imran_toc title=”Table of Contents” headings=”h2,h3,h4″ list=”ul” position=”top” max=”0″ exclude_text=”Intro,Summary” smooth=”true” spy=”true” sticky=”false”]
Shortcode Parameters
title — TOC box heading text. Default: "Table of Contents"
headings — Comma-separated heading tags to include. Default: "h2,h3,h4"
list — List style: ul (unordered) or ol (ordered). Default: "ul"
position — Where to place the TOC: top, bottom, after_first_paragraph, after_first_h2. Default: "top"
max — Maximum headings to show. 0 means unlimited. Default: 0
exclude_text — Comma-separated heading texts to skip. Default: empty
smooth — Smooth scroll on click: true or false. Default: "true"
spy — Highlight active section while scrolling: true or false. Default: "true"
sticky — Stick TOC while scrolling: true or false. Default: "false"
License
This plugin is licensed under GPLv2 or later.
See: https://www.gnu.org/licenses/gpl-2.0.html
