{"id":77965,"date":"2017-11-23T04:51:46","date_gmt":"2017-11-23T04:51:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/lh-table-of-contents\/"},"modified":"2019-10-04T06:15:38","modified_gmt":"2019-10-04T06:15:38","slug":"lh-table-of-contents","status":"publish","type":"plugin","link":"https:\/\/sq.wordpress.org\/plugins\/lh-table-of-contents\/","author":2531614,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.05","stable_tag":"trunk","tested":"5.2.24","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"LH Table of contents","header_author":"Peter Shaw","header_description":"Automatically create a wiki like TOC (table of contents) in your posts or pages using shortcode based on your headings.","assets_banners_color":"f7fdff","last_updated":"2019-10-04 06:15:38","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/lhero.org\/portfolio\/lh-table-of-contents\/","header_plugin_uri":"https:\/\/lhero.org\/portfolio\/lh-table-of-contents\/","header_author_uri":"https:\/\/shawfactor.com\/","rating":0,"author_block_rating":0,"active_installs":50,"downloads":3031,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1773711","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1773711","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1773711","resolution":"1544x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1773711","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1651,10851,10852,10853],"plugin_category":[],"plugin_contributors":[83584],"plugin_business_model":[],"class_list":["post-77965","plugin","type-plugin","status-publish","hentry","plugin_tags-semantic","plugin_tags-table-of-contents","plugin_tags-toc","plugin_tags-wiki-like-toc","plugin_contributors-shawfactor","plugin_committers-shawfactor"],"banners":{"banner":"https:\/\/ps.w.org\/lh-table-of-contents\/assets\/banner-772x250.jpg?rev=1773711","banner_2x":"https:\/\/ps.w.org\/lh-table-of-contents\/assets\/banner-1544x500.jpg?rev=1773711","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/lh-table-of-contents\/assets\/icon-128x128.png?rev=1773711","icon_2x":"https:\/\/ps.w.org\/lh-table-of-contents\/assets\/icon-256x256.png?rev=1773711","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin makes it easy to create a wiki like TOC (table of contents) in your posts or pages using shortcode, no linking or creating anchor is needed.<\/p>\n\n<p>Unlike other plugins this is 100% semantic, ie drop the comment string: <code>&lt;!-- lh_toc --&gt;<\/code>.<\/p>\n\n<p>Into your content body and the plugin will do the rest ie it will generate a table of contents based on the h2 and h3 tags in the content body.<\/p>\n\n<p>If the comment is not included the table of contents is not generated.<\/p>\n\n<h4>Features:<\/h4>\n\n<!--section=installation-->\n<ol>\n<li>Upload the entire <code>lh-table-of-contents<\/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>Include the string: <!-- lh_toc --> in the content body where you want the table of contents<\/li>\n<li>Done!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How to style the TOC<\/dt>\n<dd><p>I left the styling up to you but the tabel of contents itself has a class of 'lh_table_of_contents', the anchors for h2 tags have a class of 'lh_toc-h2', and the anchors for h3 have a class of 'lh_toc-h3'.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<p><strong>1.00 November 20, 2017<\/strong><br \/>\nInitial release.<\/p>\n\n<p><strong>1.05 November 25, 2017<\/strong><br \/>\nBetter approach to adding Toc.<\/p>","raw_excerpt":"create a wiki like TOC (table of contents) in your posts or pages using shortcode.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/77965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=77965"}],"author":[{"embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/shawfactor"}],"wp:attachment":[{"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=77965"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=77965"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=77965"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=77965"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=77965"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sq.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=77965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}