{"id":283717,"date":"2026-02-22T18:24:48","date_gmt":"2026-02-22T18:24:48","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/taco-table-of-contents\/"},"modified":"2026-05-21T10:07:03","modified_gmt":"2026-05-21T10:07:03","slug":"taco-table-of-contents","status":"publish","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/taco-table-of-contents\/","author":7819527,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.9.0","stable_tag":"1.9.0","tested":"7.0","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"Taco Table of Contents","header_author":"micromax","header_description":"Generates a Table of Contents from heading tags. Supports auto-insertion and manual shortcode placement. Active item highlights on scroll.","assets_banners_color":"c9d07c","last_updated":"2026-05-21 10:07:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/taco-table-of-contents","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":261,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.8.0":{"tag":"1.8.0","author":"micromax2","date":"2026-02-22 18:24:55"},"1.8.1":{"tag":"1.8.1","author":"micromax2","date":"2026-02-22 19:26:09"},"1.9.0":{"tag":"1.9.0","author":"micromax2","date":"2026-05-21 10:07:03"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":3467074,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":3467074,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3467074,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3467074,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.8.0","1.8.1","1.9.0"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":3467074,"resolution":"1","location":"assets","locale":"","width":1673,"height":914},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":3467074,"resolution":"2","location":"assets","locale":"","width":1072,"height":302}},"screenshots":[]},"plugin_section":[],"plugin_tags":[4833,1753,790,10851,10852],"plugin_category":[43],"plugin_contributors":[255790],"plugin_business_model":[],"class_list":["post-283717","plugin","type-plugin","status-publish","hentry","plugin_tags-contents","plugin_tags-navigation","plugin_tags-scroll","plugin_tags-table-of-contents","plugin_tags-toc","plugin_category-customization","plugin_contributors-micromax2","plugin_committers-micromax2"],"banners":{"banner":"https:\/\/ps.w.org\/taco-table-of-contents\/assets\/banner-772x250.jpg?rev=3467074","banner_2x":"https:\/\/ps.w.org\/taco-table-of-contents\/assets\/banner-1544x500.jpg?rev=3467074","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/taco-table-of-contents\/assets\/icon-128x128.jpg?rev=3467074","icon_2x":"https:\/\/ps.w.org\/taco-table-of-contents\/assets\/icon-256x256.jpg?rev=3467074","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/taco-table-of-contents\/assets\/screenshot-1.jpg?rev=3467074","caption":""},{"src":"https:\/\/ps.w.org\/taco-table-of-contents\/assets\/screenshot-2.jpg?rev=3467074","caption":""}],"raw_content":"<!--section=description-->\n<p>Taco Table of Contents is a lightweight and performant plugin that automatically generates a Table of Contents (TOC) for your long-form content.<\/p>\n\n<p>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.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<p>Flexible Placement: Automatically insert TOC before\/after content or manually via [taco_toc].<\/p>\n\n<p>Auto-Detection: Automatically scans <code>&lt;h1&gt;<\/code> through <code>&lt;h6&gt;<\/code> tags (configurable).<\/p>\n\n<p>Collapsible Headings: Optionally select which headings should collapse under their parent tag by default<\/p>\n\n<p>Scroll Spy: Highlights the active section in the TOC as the user scrolls down the page.<\/p>\n\n<p>Skeleton Loader: Displays a smooth loading animation while the JavaScript calculates heading positions.<\/p>\n\n<p>Modern Admin UI: Easy to use settings page with built-in help guide.<\/p>\n\n<p>Smart Scrolling: Automatically jumps to the correct heading on page load if a hash is present in the URL.<\/p>\n\n<!--section=installation-->\n<p>Upload the taco-table-of-contents folder to the \/wp-content\/plugins\/ directory.<\/p>\n\n<p>Activate the plugin through the 'Plugins' menu in WordPress.<\/p>\n\n<p>Go to Settings &gt; Taco TOC to configure the plugin.<\/p>\n\n<p>(Optional) Choose \"Auto Insert - Before Content\" to show the TOC on all allowed post types immediately.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20do%20i%20display%20the%20table%20of%20contents%3F\"><h3>How do I display the Table of Contents?<\/h3><\/dt>\n<dd><p>You can either:<\/p>\n\n<p>Go to Settings &gt; Taco TOC and set \"Display Location\" to \"Before Content\".<\/p>\n\n<p>Or use the shortcode [taco_toc] inside any post or page.<\/p><\/dd>\n<dt id=\"the%20toc%20is%20empty%2C%20why%3F\"><h3>The TOC is empty, why?<\/h3><\/dt>\n<dd><p>Ensure your post has headings (e.g., H2, H3).<\/p>\n\n<p>Check Settings &gt; Taco TOC and ensure the \"Content Selector\" matches your theme's content wrapper class (e.g., .entry-content, .post-content, #main).<\/p><\/dd>\n<dt id=\"can%20i%20use%20the%20shortcode%20even%20if%20auto%20insert%20is%20enabled%3F\"><h3>Can I use the shortcode even if Auto Insert is enabled?<\/h3><\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.9.0<\/h4>\n\n<ul>\n<li>Modernized PHP code and verified PHP 7.4+ compatibility.<\/li>\n<li>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.<\/li>\n<li>Styled the ordered list numbers using inside list-style position, preventing sequence numbers from overflowing the container edge.<\/li>\n<li>Fixed toggle clipping bug on container edge due to overflow: hidden by using absolute positioning inside relative padding.<\/li>\n<li>Implemented Unicode-aware slug generation supporting global and accented characters.<\/li>\n<li>Polished scrollspy highlighting logic for the bottom-of-page edge case.<\/li>\n<li>Cleaned up redundant styles and procedural functions to keep the plugin clean and steady.<\/li>\n<\/ul>\n\n<h4>1.8.1<\/h4>\n\n<p>Fix readme<\/p>\n\n<h4>1.8.0<\/h4>\n\n<p>Feature: Added Collapsible Headings functionality. You can now define which headings collapse by default under their parent tag.<\/p>\n\n<p>Synced internal version tracking.<\/p>\n\n<h4>1.7.0<\/h4>\n\n<p>UI\/UX Overhaul: Redesigned the admin settings page for a modern look.<\/p>\n\n<p>Added a \"Help\" sidebar in the settings page.<\/p>\n\n<p>Added assets\/css\/taco-admin.css for admin styling.<\/p>\n\n<h4>1.6.0<\/h4>\n\n<p>Added Auto-Insert functionality (Before\/After content).<\/p>\n\n<p>Added option to select which headings (H1-H6) to include.<\/p>\n\n<p>Removed Smooth Scroll option in favor of native behavior + JS offset correction.<\/p>\n\n<p>Added support for multiple TOC instances on a single page.<\/p>\n\n<h4>1.5.1<\/h4>\n\n<p>Refactored codebase into standard WordPress plugin structure.<\/p>\n\n<p>Separated CSS and JS assets.<\/p>\n\n<h4>1.0.0<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Generates a Table of Contents from heading tags. Supports auto-insertion and manual shortcode placement.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/283717","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=283717"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/micromax2"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=283717"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=283717"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=283717"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=283717"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=283717"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=283717"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}