=== Advanced Auto Table of Contents ===
Contributors: netgreater
Tags: table of contents, toc, elementor, shortcode, gutenberg, navigation
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 4.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A premium, highly customizable Table of Contents plugin with native Elementor, Gutenberg, and shortcode support.

== Description ==

Advanced Auto Table of Contents automatically generates a clean, hierarchical, and user-friendly table of contents for your long-form articles. 

Built with enterprise-level performance in mind, this plugin features a modern SaaS-style dashboard, dynamic CSS variables, and strict frontend/backend separation to ensure zero impact on your website's loading speed.

= Features: =
* **Multiple Placements:** Automatically inject the TOC into your posts, or use strict Manual mode to place it anywhere using the native Gutenberg Block, Elementor Widget, or `[NGT_toc]` shortcode.
* **Hierarchical Rendering:** Intelligently nests your H2, H3, H4, etc., tags into a clean tree structure.
* **Hover Animations:** Add modern "Zoom/Scale" or "Slide Right" animation effects to your links.
* **Deep Customization:** Control background colors, border colors, link colors, and specific list bullet colors directly from a beautiful admin dashboard.
* **Typography Control:** Inherit your theme's default fonts, or completely customize the font weight and text decorations.
* **Interactive Toggle:** Includes a built-in [+]/[-] toggle button so users can collapse the menu on mobile.
* **Smart Detection:** Automatically prevents duplicate TOCs if you mix automatic insertion with sidebar widgets.
* **Translation Ready:** 100% i18n compliant for multilingual websites.

== Installation ==

1. Upload the `advanced-auto-toc` folder to the `/wp-content/plugins/` directory.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to **Table of Contents** in your main left-hand WordPress dashboard menu to configure your design.
4. (Optional) Drag and drop the "NGT Table of Contents" widget in Elementor or Gutenberg to manually place the menu.

== Changelog ==

= 4.0.0 =
* Major UI Update: Redesigned the backend settings panel into a modern, 2-column SaaS-style dashboard.
* Added Link Hover Animations (Zoom/Scale and Slide Right) with customizable intensity.
* Added native WP Color Picker support for backgrounds, text, links, and list bullets.
* Added strict placement logic to prevent duplicate TOCs when using sidebar widgets.
* Added support for inheriting theme fonts and advanced font-weight controls.
* Performance: Combined database options into a single array and migrated inline styles to high-performance CSS Custom Properties (Variables).
* Updated UI toggle to use modern [+]/[-] indicators.

= 3.2.0 =
* Added Native Elementor Widget support.
* Added Native Gutenberg Block support.
* Updated shortcode to `[NGT_toc]`.

= 3.1.0 =
* Separated frontend and backend logic for enterprise-level performance.
* Updated minimum PHP requirement to 7.4.
* Verified compatibility with WordPress 7.0.

= 2.0.0 =
* Added shortcode support for page builders.
* Added smooth scrolling CSS and JavaScript Hide/Show toggle.

= 1.0.0 =
* Initial release.