Title: Taco Table of Contents
Author: micromax
Published: <strong>22 februari 2026</strong>
Last modified: 26 september 2026

---

Plugins zoeken

![](https://ps.w.org/taco-table-of-contents/assets/banner-772x250.jpg?rev=3467074)

![](https://ps.w.org/taco-table-of-contents/assets/icon-256x256.jpg?rev=3467074)

# Taco Table of Contents

 Door [micromax](https://profiles.wordpress.org/micromax2/)

[Download](https://downloads.wordpress.org/plugin/taco-table-of-contents.1.10.0.zip)

 * [Details](https://nl.wordpress.org/plugins/taco-table-of-contents/#description)
 * [Beoordelingen](https://nl.wordpress.org/plugins/taco-table-of-contents/#reviews)
 *  [Installatie](https://nl.wordpress.org/plugins/taco-table-of-contents/#installation)
 * [Ontwikkeling](https://nl.wordpress.org/plugins/taco-table-of-contents/#developers)

 [Ondersteuning](https://wordpress.org/support/plugin/taco-table-of-contents/)

## Beschrijving

Taco Table of Contents is a lightweight and performant plugin that automatically
generates a Table of Contents (TOC) for your long-form content.

You can choose to have the TOC automatically inserted before or after your content,
or place it manually with a shortcode. It features a modern skeleton loading state
and automatic scroll highlighting.

**Key Features:**

Flexible Placement: Automatically insert TOC before/after content or manually via[
taco_toc].

Auto-Detection: Automatically scans `<h1>` through `<h6>` tags (configurable).

Collapsible Headings: Optionally select which headings should collapse under their
parent tag by default

Scroll Spy: Highlights the active section in the TOC as the user scrolls down the
page.

Skeleton Loader: Displays a smooth loading animation while the JavaScript calculates
heading positions.

Modern Admin UI: Easy to use settings page with built-in help guide.

Smart Scrolling: Automatically jumps to the correct heading on page load if a hash
is present in the URL.

## Schermafbeeldingen

[[

[[

## Installatie

Upload the taco-table-of-contents folder to the /wp-content/plugins/ directory.

Activate the plugin through the ‘Plugins’ menu in WordPress.

Go to Settings > Taco TOC to configure the plugin.

(Optional) Choose “Auto Insert – Before Content” to show the TOC on all allowed 
post types immediately.

## FAQ

### How do I display the Table of Contents?

You can either:

Go to Settings > Taco TOC and set “Display Location” to “Before Content”.

Or use the shortcode [taco_toc] inside any post or page.

### The TOC is empty, why?

Ensure your post has headings (e.g., H2, H3).

Check Settings > Taco TOC and ensure the “Content Selector” matches your theme’s
content wrapper class (e.g., .entry-content, .post-content, #main).

### Can I use the shortcode even if Auto Insert is enabled?

Yes, the shortcode will always work. If you use the shortcode on a page where auto-
insert is also active, you might see two tables.

## Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

## Bijdragers & ontwikkelaars

“Taco Table of Contents” is open source software. De volgende personen hebben bijgedragen
aan deze plugin.

Bijdragers

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

[Vertaal “Taco Table of Contents” in je eigen taal.](https://translate.wordpress.org/projects/wp-plugins/taco-table-of-contents)

### Interesse in ontwikkeling?

[Bekijk de code](https://plugins.trac.wordpress.org/browser/taco-table-of-contents/),
haal de [SVN repository](https://plugins.svn.wordpress.org/taco-table-of-contents/)
op, of abonneer je op het [ontwikkellog](https://plugins.trac.wordpress.org/log/taco-table-of-contents/)
via [RSS](https://plugins.trac.wordpress.org/log/taco-table-of-contents/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.10.0

 * Feature: Added Clean URLs & SEO Mode setting to eliminate URL anchor fragment
   indexation and keyword cannibalization.
 * Added rel=”nofollow” to generated Table of Contents links to suppress crawler
   fragment mapping.
 * Intercepted TOC link clicks with offset-aware smooth scrolling without mutating
   the browser address bar.
 * Implemented automatic URL hash sanitization via history.replaceState on page 
   load.

#### 1.9.4

 * Verified compatibility with WordPress 7.1.0 release.
 * Updated “Tested up to” WordPress version tag to 7.1.

#### 1.9.3

 * Hardened option inputs and settings sanitization logic to prevent TypeErrors 
   in PHP 8.x.
 * Cast settings options to expected string/array types across settings and display
   files.
 * Wrapped DOM query selectors in try…catch blocks to prevent unhandled JS exceptions
   from invalid inputs.
 * Decoded Unicode URLs safely and handled URIErrors in hash scrolling.
 * Added duplicate ID registry resolution to prevent duplicate element IDs on headings.
 * Throttled scrollspy active highlighting with requestAnimationFrame for smooth
   and lag-free page scrolling.

#### 1.9.2

 * Added hierarchical section numbering with hyphenated subheadings (e.g., 2-1.).
 * Refined list styling and layout alignment, setting default number color to #475569.

#### 1.9.1

 * Aligned settings UI checkboxes with WordPress coding standards using the checked()
   helper function.
 * Added a direct settings link next to the plugin name on the Plugins list screen.
 * Redesigned and modernized the admin settings card dashboard and the frontend 
   Table of Contents container with premium visual styling.
 * Created structured project documentation files (overview, features, changelog).

#### 1.9.0

 * Modernized PHP code and verified PHP 7.4+ compatibility.
 * Refactored asset loading to unconditionally register scripts/styles. This resolves
   a bug where shortcodes used on pages without auto-insertion enabled would fail
   to load CSS/JS and show a stuck skeleton.
 * Styled the ordered list numbers using inside list-style position, preventing 
   sequence numbers from overflowing the container edge.
 * Fixed toggle clipping bug on container edge due to overflow: hidden by using 
   absolute positioning inside relative padding.
 * Implemented Unicode-aware slug generation supporting global and accented characters.
 * Polished scrollspy highlighting logic for the bottom-of-page edge case.
 * Cleaned up redundant styles and procedural functions to keep the plugin clean
   and steady.

#### 1.8.1

Fix readme

#### 1.8.0

Feature: Added Collapsible Headings functionality. You can now define which headings
collapse by default under their parent tag.

Synced internal version tracking.

#### 1.7.0

UI/UX Overhaul: Redesigned the admin settings page for a modern look.

Added a “Help” sidebar in the settings page.

Added assets/css/taco-admin.css for admin styling.

#### 1.6.0

Added Auto-Insert functionality (Before/After content).

Added option to select which headings (H1-H6) to include.

Removed Smooth Scroll option in favor of native behavior + JS offset correction.

Added support for multiple TOC instances on a single page.

#### 1.5.1

Refactored codebase into standard WordPress plugin structure.

Separated CSS and JS assets.

#### 1.0.0

Initial release.

## Meta

 *  Versie **1.10.0**
 *  Laatst geüpdatet **2 weken geleden**
 *  Actieve installaties **Minder dan 10**
 *  WordPress versie ** 5.0 of nieuwer **
 *  Getest t/m **7.1.3**
 *  PHP versie ** 7.4 of nieuwer **
 *  Taal
 * [English (US)](https://wordpress.org/plugins/taco-table-of-contents/)
 * Tags
 * [contents](https://nl.wordpress.org/plugins/tags/contents/)[navigation](https://nl.wordpress.org/plugins/tags/navigation/)
   [scroll](https://nl.wordpress.org/plugins/tags/scroll/)[table of contents](https://nl.wordpress.org/plugins/tags/table-of-contents/)
   [toc](https://nl.wordpress.org/plugins/tags/toc/)
 *  [Geavanceerde weergave](https://nl.wordpress.org/plugins/taco-table-of-contents/advanced/)

## Waarderingen

Er zijn nog geen beoordelingen ingediend.

[Je beoordeling](https://wordpress.org/support/plugin/taco-table-of-contents/reviews/#new-post)

[Bekijk alle beoordelingen](https://wordpress.org/support/plugin/taco-table-of-contents/reviews/)

## Bijdragers

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

## Ondersteuning

Iets te melden? Hulp nodig?

 [Het supportforum bekijken](https://wordpress.org/support/plugin/taco-table-of-contents/)