{"id":305639,"date":"2026-05-19T07:41:21","date_gmt":"2026-05-19T07:41:21","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/smart-table-of-contents\/"},"modified":"2026-05-19T07:40:53","modified_gmt":"2026-05-19T07:40:53","slug":"devmont-toc-navigator","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/devmont-toc-navigator\/","author":20722278,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","requires":"5.8","requires_php":"7.4","requires_plugins":null,"header_name":"Devmont TOC Navigator","header_author":"Devmont Digital","header_description":"Generate SEO-friendly tables of contents with scroll spy, collapsible options, a Gutenberg block, and a shortcode.","assets_banners_color":"f1f1dc","last_updated":"2026-05-19 07:40:53","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/devmontdigital.io\/wordpress\/","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":45,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"devmontdigital","date":"2026-05-19 07:40:53"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3536825,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3536825,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":3536825,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":3536825,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":{"create-block\/block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"create-block\/block","version":"0.1.0","title":"Smart Table of Contents","category":"widgets","icon":"editor-table","attributes":{"heading_levels":{"type":"string","default":"h2,h3"},"float":{"type":"string","default":"none"},"toc_sticky":{"type":"string","default":"no"}},"description":"Generate SEO-friendly TOC with scroll-spy, collapsible options, and shortcode.","example":{},"supports":{"html":false},"textdomain":"block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Admin settings screen","2":"Frontend TOC with header and links"}},"plugin_section":[],"plugin_tags":[7205,1220,80,10851,10852],"plugin_category":[43],"plugin_contributors":[216329],"plugin_business_model":[],"class_list":["post-305639","plugin","type-plugin","status-publish","hentry","plugin_tags-anchors","plugin_tags-block","plugin_tags-shortcode","plugin_tags-table-of-contents","plugin_tags-toc","plugin_category-customization","plugin_contributors-devmontdigital","plugin_committers-devmontdigital"],"banners":{"banner":"https:\/\/ps.w.org\/devmont-toc-navigator\/assets\/banner-772x250.jpg?rev=3536825","banner_2x":"https:\/\/ps.w.org\/devmont-toc-navigator\/assets\/banner-1544x500.jpg?rev=3536825","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/devmont-toc-navigator\/assets\/icon-128x128.png?rev=3536825","icon_2x":"https:\/\/ps.w.org\/devmont-toc-navigator\/assets\/icon-256x256.png?rev=3536825","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Devmont TOC Navigator makes it easy to add a clean, accessible table of contents to your posts and pages.<\/p>\n\n<p>Features:\n- Shortcode [dtocn_toc] and Gutenberg block\n- Sticky TOC with smooth offset scrolling and active link highlighting\n- Collapsible header with rotating icon\n- Fine-grained styling controls (Header, Links, Container)\n- Inline CSS generation for optimal performance\n- Sanitized settings and safe escaping following WordPress standards<\/p>\n\n<h4>Shortcode<\/h4>\n\n<p>[dtocn_toc]<\/p>\n\n<p>Attributes:\n- heading_levels: Comma-separated list of headings to include (e.g. h2,h3,h4). Default: h2,h3\n- float: none | left | right. Default: none\n- toc_sticky: yes | no. Default: no<\/p>\n\n<p>Example:\n[dtocn_toc heading_levels=\"h2,h3,h4\" float=\"right\" toc_sticky=\"yes\"]<\/p>\n\n<h4>Block<\/h4>\n\n<p>Adds a \"Smart TOC\" block with the same options as the shortcode.<\/p>\n\n<h4>Accessibility<\/h4>\n\n<ul>\n<li>Uses semantic buttons and aria attributes for the accordion toggle<\/li>\n<li>Screen-reader-only label for the heading level data<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the \/wp-content\/plugins\/devmont-toc-navigator directory, or install via the Plugins screen in WordPress.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress.<\/li>\n<li>Add the shortcode [dtocn_toc] to your content or insert the Smart TOC block.<\/li>\n<li>Configure styles under Settings \u2192 Smart TOC.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"can%20i%20choose%20which%20heading%20levels%20to%20include%3F\"><h3>Can I choose which heading levels to include?<\/h3><\/dt>\n<dd><p>Yes. Set heading_levels like \"h2,h3,h4\" in the shortcode or block.<\/p><\/dd>\n<dt id=\"does%20it%20support%20sticky%20behavior%3F\"><h3>Does it support sticky behavior?<\/h3><\/dt>\n<dd><p>Yes. Enable sticky in the shortcode\/block. Smooth scrolling accounts for the sticky TOC height.<\/p><\/dd>\n<dt id=\"how%20do%20i%20style%20the%20toc%3F\"><h3>How do I style the TOC?<\/h3><\/dt>\n<dd><p>Go to Settings \u2192 Smart TOC \u2192 Styles. You can customize Header, Links, and Container (colors, fonts, borders, radius, padding, width, box shadow presets, margins, etc.).<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Add a fast, accessible table of contents with a collapsible header, scroll spy, block, and shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/305639","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=305639"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/devmontdigital"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=305639"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=305639"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=305639"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=305639"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=305639"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=305639"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}