Skip to content

Releases: SMY-Solutions/Nice-TOC-Beautiful-Table-of-Contents-for-Wordpress

Release list

v1.0.0

Choose a tag to compare

@smysolutions smysolutions released this 27 Jul 21:19

🚀 Nice TOC v1.0.0 – Initial Release

We are excited to announce the initial release of Nice TOC – a clean, lightweight, and modern Table of Contents plugin for WordPress posts and pages.

Nice TOC automatically scans your content headings (H1H6) and builds a native, collapsible Table of Contents that automatically inherits your active theme's typography and color palette without requiring custom CSS.


✨ Features & Highlights

  • 🎨 Native Theme Styling: Automatically adopts your active WordPress theme's fonts and color palette (theme.json preset colors) with CSS color-mix fallbacks.
  • 🏷️ Smart Anchor Extraction: Generates unique anchor links for headings while preserving existing id attributes.
  • 📍 Flexible Placement: Place automatically before the first heading, at the top of content, or manually using the [nice_toc] shortcode.
  • 📂 Collapsible Accordion: Native HTML5 details/summary structure with configurable open or closed default states.
  • 🔢 Hierarchical & Auto-Numbered Lists: Supports standard bullet nested lists or hierarchical numbering (1, 1.1, 1.2).
  • 🎯 Smooth Scroll & Active Highlighting: Features smooth scrolling to section anchors and live section highlighting via IntersectionObserver.
  • 🚫 Heading Exclusion: Easily exclude specific headings by adding class="toc-exclude".
  • Zero Dependencies: Pure PHP, Vanilla CSS, and lightweight JS without jQuery or heavy external libraries.

📦 Installation & Usage

  1. Download nice-toc-v1.0.0.zip from the release assets below.
  2. In your WordPress dashboard, navigate to Plugins > Add New > Upload Plugin.
  3. Choose nice-toc-v1.0.0.zip and click Install Now, then Activate.
  4. Configure options under Settings > Nice TOC.

🔒 Requirements & Specifications

  • WordPress Version: 5.6 or higher (Tested up to 6.6)
  • PHP Version: 7.4 or higher
  • License: GPL v2 or later