{"id":129259,"date":"2020-10-26T05:30:05","date_gmt":"2020-10-26T05:30:05","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/table-of-contents-block\/"},"modified":"2026-08-06T20:11:46","modified_gmt":"2026-08-06T20:11:46","slug":"table-of-contents-block","status":"publish","type":"plugin","link":"https:\/\/eo.wordpress.org\/plugins\/table-of-contents-block\/","author":15786956,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.5.0","stable_tag":"1.5.0","tested":"7.0.4","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"Table Of Contents Block","header_author":"WPDeveloper","header_description":"Insert Table of Contents on your posts\/pages and enhance user experience on your WordPress website","assets_banners_color":"b1d886","last_updated":"2026-08-06 20:11:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/essential-blocks.com","header_author_uri":"https:\/\/wpdeveloper.net","rating":4.3,"author_block_rating":4.3863636363636,"active_installs":10000,"downloads":98267,"num_ratings":7,"support_threads":0,"support_threads_resolved":0,"author_block_count":22,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"wpdevteam","date":"2020-10-26 05:30:03"},"1.0.1":{"tag":"1.0.1","author":"wpdevteam","date":"2022-01-25 10:10:28"},"1.1.0":{"tag":"1.1.0","author":"wpdevteam","date":"2022-02-08 09:47:57"},"1.2.0":{"tag":"1.2.0","author":"wpdevteam","date":"2022-03-08 11:49:50"},"1.3.0":{"tag":"1.3.0","author":"wpdevteam","date":"2022-04-24 08:46:54"},"1.3.1":{"tag":"1.3.1","author":"wpdevteam","date":"2022-08-02 11:13:37"},"1.3.2":{"tag":"1.3.2","author":"wpdevteam","date":"2022-08-23 11:38:28"},"1.3.3":{"tag":"1.3.3","author":"wpdevteam","date":"2022-10-06 05:58:08"},"1.3.4":{"tag":"1.3.4","author":"wpdevteam","date":"2022-12-18 10:35:47"},"1.3.5":{"tag":"1.3.5","author":"wpdevteam","date":"2023-11-21 07:54:11"},"1.3.6":{"tag":"1.3.6","author":"wpdevteam","date":"2023-12-06 05:52:45"},"1.4.0":{"tag":"1.4.0","author":"wpdevteam","date":"2024-02-28 12:04:54"},"1.4.1":{"tag":"1.4.1","author":"wpdevteam","date":"2024-07-29 15:02:41"},"1.5.0":{"tag":"1.5.0","author":"wpdevteam","date":"2026-08-06 20:11:46"}},"upgrade_notice":{"1.5.0":"<p>Compatibility update for WordPress 7.0 &amp; the latest Block Editor, with important bug fixes. Recommended for all users.<\/p>"},"ratings":{"1":0,"2":0,"3":2,"4":1,"5":4},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":2664424,"resolution":"128x128","location":"assets","locale":"","width":256,"height":256},"icon-256x256.png":{"filename":"icon-256x256.png","revision":2664424,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":2664424,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":2664424,"resolution":"772x250","location":"assets","locale":"","width":1544,"height":500}},"assets_blueprints":{},"all_blocks":{"table-of-contents-block\/table-of-contents-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","name":"table-of-contents-block\/table-of-contents-block","title":"Table Of Contents","apiVersion":3,"version":"1.5.0","category":"widgets","description":"Insert Table of Contents on your posts\/pages and enhance user experience on your WordPress website","textdomain":"table-of-contents-block","supports":{"align":["wide","full"]},"editorScript":"create-block-table-of-content-block-editor","editorStyle":"create-block-table-of-content-block"}},"tagged_versions":["1.0.0","1.0.1","1.1.0","1.2.0","1.3.0","1.3.1","1.3.2","1.3.3","1.3.4","1.3.5","1.3.6","1.4.0","1.4.1","1.5.0"],"block_files":["\/tags\/1.5.0\/dist\/modules.js","\/tags\/1.5.0\/dist\/frontend.js","\/tags\/1.5.0\/dist\/index.js","\/tags\/1.5.0\/dist\/style.css","\/tags\/1.5.0\/dist\/modules.css","\/tags\/1.5.0\/dist\/style-modules.css","\/tags\/1.5.0\/dist\/frontend\/index.js"],"assets_screenshots":[],"screenshots":{"1":"Table of Contents block inserted in the Block Editor, auto-generated from post headings","2":"Customization options \u2014 presets, heading levels, colors, typography, spacing &amp; more","3":"Collapsible Table of Contents on the frontend","4":"Sticky Table of Contents pinned to the side of the page","5":"Smooth scroll navigation with copy-link &amp; scroll-to-top buttons"}},"plugin_section":[172757],"plugin_tags":[4121,148076,186,10851,10852],"plugin_category":[55],"plugin_contributors":[80044,199557,166538,82518,149406],"plugin_business_model":[],"class_list":["post-129259","plugin","type-plugin","status-publish","hentry","plugin_section-block","plugin_tags-blocks","plugin_tags-gutenberg","plugin_tags-seo","plugin_tags-table-of-contents","plugin_tags-toc","plugin_category-seo-and-marketing","plugin_contributors-asif2bd","plugin_contributors-fencermonir","plugin_contributors-rahat89","plugin_contributors-re_enter_rupok","plugin_contributors-wpdevteam","plugin_committers-asif2bd","plugin_committers-re_enter_rupok","plugin_committers-wpdevteam","plugin_support_reps-mahbubshovan","plugin_support_reps-rafinkhan"],"banners":{"banner":"https:\/\/ps.w.org\/table-of-contents-block\/assets\/banner-772x250.png?rev=2664424","banner_2x":"https:\/\/ps.w.org\/table-of-contents-block\/assets\/banner-1544x500.png?rev=2664424","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/table-of-contents-block\/assets\/icon-128x128.png?rev=2664424","icon_2x":"https:\/\/ps.w.org\/table-of-contents-block\/assets\/icon-256x256.png?rev=2664424","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>Table of Contents<\/strong> is a roadmap for your whole content and helps your readers to locate specific parts of the page to go directly to that section.<\/p>\n\n<p>Using Table of Contents Block (TOC), you can improve the reading experience, accessibility, page SEO score &amp; help your visitors to easily navigate.<\/p>\n\n<p>You don\u2019t need any coding to create TOC in Gutenberg. Just install this block plugin &amp; use Table of Content within Block Editor for WordPress.<\/p>\n\n<p><strong>\u2699\ufe0f Completely Customizable:<\/strong> You can customize and pick the heading tags which you want to appear on your Table of Contents.<\/p>\n\n<p><strong>\u26a1 Super Light-weight:<\/strong> No extra resources used and it's highly optimized to automatically add Table of Contents inside your post or pages.<\/p>\n\n<p><strong>\ud83e\uddd1\u200d\ud83d\udcbb Dedicated Support:<\/strong> We\u2019ve an extraordinary support team ready to help you. Ask your questions in the support forum, we\u2019ll get back to you immediately.<\/p>\n\n<h3>\ud83c\udf81 GET ACCESS TO 22+ MORE FREE BLOCKS FOR WORDPRESS BLOCK EDITOR<\/h3>\n\n<p>Get <a href=\"https:\/\/wordpress.org\/plugins\/essential-blocks\/\">Essential Blocks Gutenberg<\/a> editor - an advanced blocks library to power up your Gutenberg design experience. It brings stunning blocks including:<\/p>\n\n<ul>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/infobox\/\">EB Infobox<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/heading\/\">EB Heading<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/image-gallery\/\">EB Image Gallery<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/instagram-feed\/\">EB Instagram Feed<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/parallax-slider\/\">EB Parallax Slider<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/dual-button\/\">EB Dual Button<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/typing-text\/\">EB Typing Text<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/notice\/\">EB Notice<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/progress-bar\/\">EB Progress Bar<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/slider\">EB Slider<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/social\/\">EB Social<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/team-member\/\">EB Team Member<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/testimonial\/\">EB Testimonial<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/block-wrapper\/\">EB Block Wrapper<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/pricing-table\/\">EB Pricing Table<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/flipbox\/\">EB Flipbox<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/image-comparison\/\">EB Image Comparison<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/call-to-action\/\">EB Call To Action<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/button\/\">EB Button<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/interactive-promo\/\">EB Interactive Promo<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/accordion\/\">EB Accordion<\/a><\/li>\n<li><a href=\"https:\/\/essential-blocks.com\/docs\/countdown\/\">EB Countdown<\/a> + more coming soon<\/li>\n<\/ul>\n\n<h3>\ud83d\ude80 BACKED BY A TRUSTED TEAM<\/h3>\n\n<p>This Block plugin is brought to you by WPDeveloper, the team behind the most popular elements library Essential Addons for Elementor (used by almost 1 million+ happy users from around 180 countries).<\/p>\n\n<h3>\u26a1 SUPPORT &amp; DOCUMENTATION<\/h3>\n\n<p>\ud83e\uddd1\u200d\ud83d\udcbb If you have any more questions, visit our support on the Plugin\u2019s Forum<\/p>\n\n<p>\ud83c\udf10 For more information about features, FAQs and documentation, check out our website at <a href=\"https:\/\/essential-blocks.com\/\">Essential Blocks for Gutenberg<\/a><\/p>\n\n<h3>\ud83d\ude4c JOIN THE COMMUNITY<\/h3>\n\n<ul>\n<li>\ud83c\udfa6 Subscribe to our Youtube Channel to watch video tutorials on WordPress<\/li>\n<li>\ud83e\udd1d Join our Facebook Community &amp; get connected with expert web creators like yourself<\/li>\n<li>\ud83e\udde1 LOVED this plugin? Rate us on WordPress Repository<\/li>\n<\/ul>\n\n<h3>\ud83d\udd25 GET FREEBIES FOR YOUR WORDPRESS SITE<\/h3>\n\n<p>Consider checking out our other WordPress solutions &amp; boost your WordPress website:<\/p>\n\n<p><strong>\ud83d\udd1d <a href=\"https:\/\/wordpress.org\/plugins\/essential-addons-for-elementor-lite\/\">Essential Addons For Elementor<\/a>:<\/strong> Most popular Elementor addons with 70+ widgets &amp; ready blocks<\/p>\n\n<p><strong>\u2601 <a href=\"https:\/\/wordpress.org\/plugins\/templately\/\">Templately<\/a>:<\/strong> Free templates library for Elementor &amp; Gutenberg along with the cloud collaboration for WordPress<\/p>\n\n<p><strong>\ud83d\udd14 <a href=\"https:\/\/wordpress.org\/plugins\/notificationx\/\">NotificationX<\/a>:<\/strong> Best Social Proof &amp; FOMO Marketing Solution to increase conversion rates<\/p>\n\n<p><strong>\ud83d\udcda <a href=\"https:\/\/wordpress.org\/plugins\/betterdocs\/\">BetterDocs<\/a>:<\/strong> Best Documentation &amp; Knowledge Base Plugin for WordPress reduce manual support tickets &amp; improve user experience.<\/p>\n\n<p><strong>\u23f0 <a href=\"https:\/\/wordpress.org\/plugins\/wp-scheduled-posts\/\">WP Scheduled Posts<\/a>:<\/strong> Advanced editorial calendar &amp; complete solution for WordPress Post Scheduling, social sharing, missed scheduled alerts and more.<\/p>\n\n<p><strong>\u2b50 <a href=\"https:\/\/wordpress.org\/plugins\/reviewx\/\">ReviewX<\/a>:<\/strong> WooCommerce Product review plugin that allows users to submit product reviews with multiple criteria, photos, video and more<\/p>\n\n<p><strong>\u267e\ufe0f <a href=\"https:\/\/wordpress.org\/plugins\/embedpress\/\">EmbedPress<\/a>:<\/strong> Embed anything and everything in WordPress without any coding<\/p>\n\n<p><strong>\u26a1 <a href=\"http:\/\/wordpress.org\/plugins\/flexia\">Flexia<\/a>:<\/strong> Most lightweight, customizable &amp; multi purpose theme for WordPress<\/p>\n\n<!--section=installation-->\n<p><strong>Modern Way (from the Block Editor):<\/strong><\/p>\n\n<ol>\n<li>Go to the WordPress Block\/Gutenberg Editor<\/li>\n<li>Search for \"Table of Contents Block\" in the block inserter<\/li>\n<li>Install &amp; activate in 1-click<\/li>\n<\/ol>\n\n<p><strong>From your WordPress Dashboard:<\/strong><\/p>\n\n<ol>\n<li>Go to Plugins \u2192 Add New<\/li>\n<li>Search for \"Table of Contents Block\"<\/li>\n<li>Click Install Now, then Activate<\/li>\n<\/ol>\n\n<p><strong>Manual Installation:<\/strong><\/p>\n\n<ol>\n<li>Upload the <code>table-of-contents-block<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Add the Table Of Contents block to any post or page from the block inserter<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20it%20work%20with%20all%20themes%3F\"><h3>Does it work with all themes?<\/h3><\/dt>\n<dd><p>Yes, it works with any standard WordPress theme, including classic themes and modern block themes with Full Site Editing.<\/p><\/dd>\n<dt id=\"which%20heading%20blocks%20are%20detected%3F\"><h3>Which heading blocks are detected?<\/h3><\/dt>\n<dd><p>All of them. The Table of Contents is generated from every H1\u2013H6 heading in your content, so headings from the core Heading block and any third-party block library (Essential Blocks, Kadence, Stackable, Spectra, GenerateBlocks &amp; more) are picked up \u2014 including headings nested inside Groups, Columns &amp; patterns.<\/p><\/dd>\n<dt id=\"can%20i%20choose%20which%20heading%20levels%20appear%20in%20the%20table%20of%20contents%3F\"><h3>Can I choose which heading levels appear in the Table of Contents?<\/h3><\/dt>\n<dd><p>Yes. From the block settings you can toggle each heading tag (H1\u2013H6) individually, and you can also exclude specific headings from the list.<\/p><\/dd>\n<dt id=\"can%20i%20make%20the%20table%20of%20contents%20sticky%20or%20collapsible%3F\"><h3>Can I make the Table of Contents sticky or collapsible?<\/h3><\/dt>\n<dd><p>Yes. The block includes a sticky mode (pinned to the left or right of the screen), a collapsible mode with an optional initially-collapsed state, presets, smooth scrolling, a copy-link button for headings and a scroll-to-top button.<\/p><\/dd>\n<dt id=\"will%20this%20plugin%20slow%20down%20my%20website%3F\"><h3>Will this plugin slow down my website?<\/h3><\/dt>\n<dd><p>No. The block is super lightweight \u2014 its small script &amp; stylesheet are only loaded on pages that actually contain a Table of Contents block.<\/p><\/dd>\n<dt id=\"is%20it%20compatible%20with%20the%20latest%20wordpress%3F\"><h3>Is it compatible with the latest WordPress?<\/h3><\/dt>\n<dd><p>Yes. Version 1.5.0 is tested up to WordPress 7.0 with the latest Gutenberg, supports the iframed Block Editor, and works on PHP 7.4 through 8.3.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.5.0 - 06\/08\/2026<\/h4>\n\n<ul>\n<li>Added: Compatibility with WordPress 7.0 &amp; the latest Block Editor<\/li>\n<li>Added: Block API version 3 support for the iframed Block Editor<\/li>\n<li>Fixed: Fatal error on PHP 7.x when opening the Site Editor<\/li>\n<li>Fixed: Block assets could fail to load on newer WordPress versions due to deprecated registration arguments<\/li>\n<li>Fixed: JavaScript error on pages where the Table of Contents has no headings<\/li>\n<li>Fixed: Heading anchors only generated for the first Table of Contents block on a page<\/li>\n<li>Improved: Translation-ready \u2014 all strings now use the plugin's own text domain<\/li>\n<li>Improved: Updated build tooling &amp; continuous integration<\/li>\n<\/ul>\n\n<h4>1.4.1 - 09\/04\/2024<\/h4>\n\n<ul>\n<li>Fixed: compatibility support with wordpress 6.5 version<\/li>\n<li>Improved: Security enhancement<\/li>\n<li>Improved: controls<\/li>\n<\/ul>\n\n<h4>1.4.0 - 28\/02\/2024<\/h4>\n\n<ul>\n<li>Added: New preset for Table of Contents Block<\/li>\n<li>Fixed: Special Character issue in Table of Content block headings<\/li>\n<li>Fixed: Table of Content block warnings with PHP 8.2 or higher<\/li>\n<li>Improved: Table of Contents block multiple request reduce on editor load<\/li>\n<li>Table of Contents block special character support issue<\/li>\n<li>Fixed: Table of Contents block issue with PHP@7.2<\/li>\n<\/ul>\n\n<h4>1.3.6 - 06\/12\/2023<\/h4>\n\n<ul>\n<li>Fixed: style enqueue issue<\/li>\n<\/ul>\n\n<h4>1.3.5 - 21\/11\/2023<\/h4>\n\n<ul>\n<li>Added: Table of Content link copy button<\/li>\n<li>Added: Table of Content block support All Heading blocks<\/li>\n<li>Added: Heading exclude option in Table of Content block<\/li>\n<li>Fixed: Table of Content block doesn\u2019t work inside wrapper\/group block<\/li>\n<li>Improved: Font loader<\/li>\n<\/ul>\n\n<h4>1.3.4 - 18\/12\/2022<\/h4>\n\n<ul>\n<li>Fixed: Minor bugs<\/li>\n<li>Improved: Update controls<\/li>\n<\/ul>\n\n<h4>1.3.3 - 26\/09\/2022<\/h4>\n\n<ul>\n<li>Added: Scroll to TOC position option<\/li>\n<li>Added: Added TOC sticky position option<\/li>\n<\/ul>\n\n<h4>1.3.2 - 23\/08\/2022<\/h4>\n\n<ul>\n<li>Fixed: TOC Heading issue with wrapper border radius<\/li>\n<li>Improved: Update controls<\/li>\n<\/ul>\n\n<h4>1.3.1 - 02\/08\/2022<\/h4>\n\n<ul>\n<li>Added: Offset top options<\/li>\n<li>Improved: Converted style-handler to php for working perfectly with Reusable blocks and FSE<\/li>\n<\/ul>\n\n<h4>1.3.0 - 24\/04\/2022<\/h4>\n\n<ul>\n<li>Added: Animation Option<\/li>\n<li>Added: Responsive Block Show\/Hide option<\/li>\n<li>Added: Custom CSS Option<\/li>\n<li>Added: Reset button on few controls<\/li>\n<li>Improved: Controls and structure<\/li>\n<li>Fixed: Minor css issues<\/li>\n<\/ul>\n\n<h4>1.2.0 - 08\/03\/2022<\/h4>\n\n<ul>\n<li>Fixed: Issue with Digit text in start of Heading<\/li>\n<\/ul>\n\n<h4>1.1.0 - 08\/02\/2022<\/h4>\n\n<ul>\n<li>Added: Dynamic asset generation for inline styles<\/li>\n<li>Added: Responsive control<\/li>\n<li>Improved: Controls and structure<\/li>\n<li>Improved: Inspector Panel Design &amp; controls<\/li>\n<li>Improved: Responsive Device Preview improved. Now the preview options synced with the WordPress's default preview button.<\/li>\n<li>Improved: Security for asset generation<\/li>\n<\/ul>\n\n<h4>1.0.1 - 25\/01\/2022<\/h4>\n\n<ul>\n<li>Fixed: Some minor bugs<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial Release<\/li>\n<\/ul>","raw_excerpt":"Add a customizable, SEO-friendly Table of Contents block to WordPress posts &amp; pages \u2014 auto-generated from your headings in the Block Editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/129259","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=129259"}],"author":[{"embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/wpdevteam"}],"wp:attachment":[{"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=129259"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=129259"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=129259"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=129259"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=129259"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/eo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=129259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}