{"id":271806,"date":"2026-01-07T00:46:27","date_gmt":"2026-01-07T00:46:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/light-table-of-content-extremely-light-and-fast-toc\/"},"modified":"2026-01-07T01:16:45","modified_gmt":"2026-01-07T01:16:45","slug":"nanotoc","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/nanotoc\/","author":18247637,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","requires":"5.0","requires_php":"7.2","requires_plugins":null,"header_name":"NanoTOC \u2014 Fast Lightweight Table of Contents","header_author":"Saqib Hanif","header_description":"Fast, lightweight table of contents (TOC) for WordPress. Auto insert or shortcode, nested\/flat lists, smooth scrolling, and optional offset.","assets_banners_color":"70c9f0","last_updated":"2026-01-07 01:16:45","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":5,"author_block_rating":0,"active_installs":0,"downloads":124,"num_ratings":1,"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":"hanifsaqib","date":"2026-01-07 01:16:45"}},"upgrade_notice":{"1.0.0":"<p>First release.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":1},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3433993,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3433993,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3433993,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3433993,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3433993,"resolution":"1","location":"assets","locale":""}},"screenshots":{"1":"NanoTOC displayed above a post.","2":"Settings page (heading levels, nested\/flat, smooth scroll)."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[19897,4035,8500,10851,10852],"plugin_category":[],"plugin_contributors":[253480],"plugin_business_model":[],"class_list":["post-271806","plugin","type-plugin","status-publish","hentry","plugin_tags-headings","plugin_tags-lightweight","plugin_tags-smooth-scroll","plugin_tags-table-of-contents","plugin_tags-toc","plugin_contributors-hanifsaqib","plugin_committers-hanifsaqib"],"banners":{"banner":"https:\/\/ps.w.org\/nanotoc\/assets\/banner-772x250.png?rev=3433993","banner_2x":"https:\/\/ps.w.org\/nanotoc\/assets\/banner-1544x500.png?rev=3433993","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/nanotoc\/assets\/icon-128x128.png?rev=3433993","icon_2x":"https:\/\/ps.w.org\/nanotoc\/assets\/icon-256x256.png?rev=3433993","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/nanotoc\/assets\/screenshot-1.png?rev=3433993","caption":"NanoTOC displayed above a post."}],"raw_content":"<!--section=description-->\n<p>NanoTOC is a fast, lightweight table of contents plugin for WordPress.<\/p>\n\n<p>License: GPLv2 or later.<\/p>\n\n<p>Core features:<\/p>\n\n<ul>\n<li>Select which headings to include (H1\u2013H6)<\/li>\n<li>Nested (hierarchical) or flat (linear) TOC output<\/li>\n<li>Smooth scrolling to headings<\/li>\n<li>Optional scroll offset for sticky headers<\/li>\n<li>Works with posts, pages, and custom post types<\/li>\n<li>Shortcode support: [nanotoc]<\/li>\n<\/ul>\n\n<p>Created by Saqib Hanif.<\/p>\n\n<h3>License<\/h3>\n\n<p>NanoTOC is licensed under the GNU General Public License v2.0 or later (GPLv2+).<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to <code>\/wp-content\/plugins\/nanotoc\/<\/code>.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Configure it via Settings \u2192 NanoTOC.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20do%20i%20insert%20the%20toc%3F'><h3>How do I insert the TOC?<\/h3><\/dt>\n<dd><ul>\n<li>Enable Auto insert in Settings \u2192 NanoTOC, OR<\/li>\n<li><p>Place the shortcode where you want it:<\/p>\n\n<p>[nanotoc]<\/p><\/li>\n<\/ul><\/dd>\n<dt id='how%20do%20i%20choose%20h2%20only%20%28or%20h2%20%2B%20h3%29%3F'><h3>How do I choose H2 only (or H2 + H3)?<\/h3><\/dt>\n<dd><p>Go to Settings \u2192 NanoTOC \u2192 Headings to include and select the levels.<\/p><\/dd>\n<dt id='my%20theme%20has%20a%20sticky%20header%20and%20headings%20are%20hidden%20after%20clicking'><h3>My theme has a sticky header and headings are hidden after clicking<\/h3><\/dt>\n<dd><p>Increase the \"Scroll offset (px)\" setting. NanoTOC also adds the WordPress admin bar height automatically when you are logged in.<\/p><\/dd>\n<dt id='can%20i%20style%20it%20with%20my%20theme%3F'><h3>Can I style it with my theme?<\/h3><\/dt>\n<dd><p>Yes. NanoTOC does not ship heavy styles. Use these classes in your theme CSS:<\/p>\n\n<ul>\n<li>.nanotoc<\/li>\n<li>.nanotoc__title<\/li>\n<li>.nanotoc__list<\/li>\n<li>.nanotoc__item<\/li>\n<li>.nanotoc__link<\/li>\n<\/ul><\/dd>\n<dt id='i%20found%20an%20issue%20%2F%20i%20want%20a%20feature'><h3>I found an issue \/ I want a feature<\/h3><\/dt>\n<dd><p>Please contact the author and share:<\/p>\n\n<ul>\n<li>Your WordPress version<\/li>\n<li>Your theme name<\/li>\n<li>A short description (and a screenshot if possible)<\/li>\n<\/ul><\/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":"Fast, lightweight TOC for WordPress with nested\/flat lists, smooth scroll, and optional offset.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/271806","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=271806"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hanifsaqib"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=271806"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=271806"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=271806"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=271806"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=271806"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=271806"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}