{"id":169549,"date":"2023-01-27T21:06:13","date_gmt":"2023-01-27T21:06:13","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/simple-toc-table-of-contents\/"},"modified":"2023-02-06T09:09:23","modified_gmt":"2023-02-06T09:09:23","slug":"automatic-table-of-contents","status":"closed","type":"plugin","link":"https:\/\/ja.wordpress.org\/plugins\/automatic-table-of-contents\/","author":20865762,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"6.1.10","requires":"5.0","requires_php":"7.0","requires_plugins":"","header_name":"Automatic Table of Contents","header_author":"plugins.club","header_description":"Adds a shortcode and a widget for displaying a nested table of contents from all heading tags found on the page.","assets_banners_color":"ffffff","last_updated":"2023-02-06 09:09:23","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/plugins.club\/wordpress\/automatic-table-of-contents\/","header_plugin_uri":"https:\/\/plugins.club\/wordpress\/automatic-table-of-contents\/","header_author_uri":"https:\/\/plugins.club","rating":0,"author_block_rating":0,"active_installs":0,"downloads":1431,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"pluginsclub","date":"2023-02-02 18:54:57"},"1.1":{"tag":"1.1","author":"pluginsclub","date":"2023-02-06 09:09:23"}},"upgrade_notice":{"":"<p>Version 1.1 introduces a feature to exclude Headings from the shortcode.<\/p>"},"ratings":[],"assets_icons":{"icon-256x256.gif":{"filename":"icon-256x256.gif","revision":2872633,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":2856093,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2856093,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2856093,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2859178,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2859178,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Adding [toc] shortcode to the block editor","2":"Adding TOC widget to Customizer","3":"Hide a Heading using the shortcode","4":"TOC with custom CSS on https:\/\/wpxss.com"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[19897,217657,217656,18355,10852],"plugin_category":[],"plugin_contributors":[217324,174076],"plugin_business_model":[],"class_list":["post-169549","plugin","type-plugin","status-closed","hentry","plugin_tags-headings","plugin_tags-in-this-article","plugin_tags-on-this-page","plugin_tags-table-of-content","plugin_tags-toc","plugin_contributors-pluginsclub","plugin_contributors-stefanpejcic","plugin_committers-pluginsclub"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/automatic-table-of-contents_ffffff.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/automatic-table-of-contents\/assets\/screenshot-1.png?rev=2856093","caption":"Adding [toc] shortcode to the block editor"},{"src":"https:\/\/ps.w.org\/automatic-table-of-contents\/assets\/screenshot-2.png?rev=2856093","caption":"Adding TOC widget to Customizer"},{"src":"https:\/\/ps.w.org\/automatic-table-of-contents\/assets\/screenshot-3.png?rev=2859178","caption":"Hide a Heading using the shortcode"},{"src":"https:\/\/ps.w.org\/automatic-table-of-contents\/assets\/screenshot-4.png?rev=2859178","caption":"TOC with custom CSS on https:\/\/wpxss.com"}],"raw_content":"<!--section=description-->\n<p>This plugin will automatically create a Table of Contents (TOC) from all Heading tags present inside the content.<\/p>\n\n<p>Simply add the widget or shortcode <code>[toc]<\/code> where you want the TOC to be shown.<\/p>\n\n<p>No settings, just activate and add shortcode or widget.<\/p>\n\n<p>You can use custom CSS to further customize the style of the TOC.<\/p>\n\n<p>For more free WordPress plugins please visit <a href=\"https:\/\/plugins.club\/\">plugins.club<\/a>.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin file to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<\/ol>\n\n<p>Add [toc] shortcode or widget anywhere you want.<\/p>\n\n<p>For basic usage, you can also have a look at the <a href=\"https:\/\/plugins.club\/wordpress\/simple-table-of-contents\/\">plugin web site<\/a>.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='how%20to%20add%20table%20of%20contents%3F'><h3>How to add Table of Contents?<\/h3><\/dt>\n<dd><p>Add the <code>[toc]<\/code> shortcode or widget anywhere you want to display table of contents.<\/p><\/dd>\n<dt id='how%20to%20exclude%20headings%3F'><h3>How to exclude Headings?<\/h3><\/dt>\n<dd><p>To exclude headings from the TOC shortcode use the \"exclude\" attribute in the shortcode, for example: <code>[toc exclude=\"On this page, Comments\"]<\/code><\/p><\/dd>\n<dt id='how%20this%20plugin%20works%3F'><h3>How this plugin works?<\/h3><\/dt>\n<dd><p>This WordPress plugin creates a table of contents (TOC) from all headings in a post or page. The plugin provides a shortcode and a widget that can be used to display the TOC in different places on the website. The TOC is built by extracting headings from the post\/page content, generating anchor links for each heading, and creating a nested list structure based on the heading levels.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added an option to exclude headings<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Display a Table of Contents (TOC) from all Headings on the page.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/169549","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=169549"}],"author":[{"embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/pluginsclub"}],"wp:attachment":[{"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=169549"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=169549"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=169549"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=169549"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=169549"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ja.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=169549"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}