{"id":42075,"date":"2016-02-25T05:36:29","date_gmt":"2016-02-25T05:36:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/fx-toc\/"},"modified":"2016-08-01T06:58:35","modified_gmt":"2016-08-01T06:58:35","slug":"fx-toc","status":"publish","type":"plugin","link":"https:\/\/dv.wordpress.org\/plugins\/fx-toc\/","author":5866321,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1.0","stable_tag":"1.1.0","tested":"4.7.33","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"f(x) TOC","header_author":"David Chandra Purnama","header_description":"","assets_banners_color":"3b3b3b","last_updated":"2016-08-01 06:58:35","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_s-xclick&hosted_button_id=TT23LVNKA3AU2","header_plugin_uri":"http:\/\/genbumedia.com\/plugins\/fx-toc\/","header_author_uri":"http:\/\/shellcreeper.com\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":6871,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1.0":"<p>TOC now works for full content in archive too.<\/p>","1.0.0":"<p>initial relase.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"5"},"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1357877","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1357877","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[9808,80,10851,10852,31396],"plugin_category":[43,47],"plugin_contributors":[83166],"plugin_business_model":[],"class_list":["post-42075","plugin","type-plugin","status-publish","hentry","plugin_tags-heading","plugin_tags-shortcode","plugin_tags-table-of-contents","plugin_tags-toc","plugin_tags-toc-shortcode","plugin_category-customization","plugin_category-education-and-support","plugin_contributors-turtlepod","plugin_committers-turtlepod"],"banners":{"banner":"https:\/\/ps.w.org\/fx-toc\/assets\/banner-772x250.png?rev=1357877","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/fx-toc\/assets\/icon-256x256.png?rev=1357877","icon_2x":"https:\/\/ps.w.org\/fx-toc\/assets\/icon-256x256.png?rev=1357877","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong><a href=\"http:\/\/genbumedia.com\/plugins\/fx-toc\/\">f(x) TOC<\/a><\/strong> Simple Table Of Contents Plugin. Just add [toc] shortcode in content to display. This plugin will parse and grab all heading (h1 -h6) in your content and display it as structured table of contents (just like WikiPedia.org table of contents).<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ol>\n<li>Super simple and easy to use.<\/li>\n<li>Auto create Table of contents by listing all your headings in your content.<\/li>\n<li>The GPL v2.0 or later license. :) Use it to make something cool.<\/li>\n<li>Support available at <a href=\"http:\/\/genbumedia.com\/contact\/?about=f(x)+TOC\">Genbu Media<\/a>.<\/li>\n<\/ol>\n\n<p><strong>Shortcode Options:<\/strong><\/p>\n\n<p>You can use several options in [toc] shortcode:<\/p>\n\n<ol>\n<li>title: to change the title of table of contents, as default is <code>Table of contents<\/code>.<\/li>\n<li>title_tag: element wrapper for the title, the default is <code>h2<\/code>.<\/li>\n<li>list: you can use <code>ul<\/code> for unordered list (default), or <code>ol<\/code> for ordered list.<\/li>\n<li>depth: list depth (numeric). the default is <code>6<\/code>.<\/li>\n<\/ol>\n\n<p>Advance usage example using all the options:<\/p>\n\n<p>[toc title=\"This page content:\" title_tag=\"strong\" list=\"ol\" depth=\"1\"]\nNotes for developer:<\/p>\n\n<h4>Github<\/h4>\n\n<p>Development of this plugin is hosted at <a href=\"https:\/\/github.com\/turtlepod\/fx-toc\">GitHub<\/a>. Pull request and bug reports are welcome.<\/p>\n\n<h4>Hooks<\/h4>\n\n<p>List of hooks available in this plugin:<\/p>\n\n<p><strong>filter:<\/strong> <code>fx_toc_default_args<\/code> (array)<\/p>\n\n<p>The default option for the shortcode.<\/p>\n\n<p><strong>filter:<\/strong> <code>fx_toc_output<\/code> (string)<\/p>\n\n<p>HTML output of the shortcode.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Navigate to \"Plugins &gt; Add New\" Page from your Admin.<\/li>\n<li>To install directly from WordPress.org repository, search the plugin name in the search box and click \"Install Now\" button to install the plugin.<\/li>\n<li>To install from plugin .zip file, click \"Upload Plugin\" button in \"Plugins &gt; Add New\" Screen. Browse the plugin .zip file, and click \"Install Now\" button.<\/li>\n<li>Activate the plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Can I add this in widget ?<\/dt>\n<dd><p>No, you can only add this shortcode in content.<\/p><\/dd>\n<dt>Can I dislay it in archive pages?<\/dt>\n<dd><p>Yes, if your theme display full content, table of contents will be displayed.<\/p><\/dd>\n<dt>How to style this ?<\/dt>\n<dd><p>The Table of contents output is wrapped in <code>fx-toc<\/code> class. You can style it using CSS.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0 - 04 May 2016<\/h4>\n\n<ul>\n<li>Display TOC on archive pages too.<\/li>\n<li>Strip tags for each list item to avoid problem in the future.<\/li>\n<li>Add plugin action link for support.<\/li>\n<li>new filter \"fx_toc_output\".<\/li>\n<\/ul>\n\n<h4>1.0.0 - 11 Jan 2016<\/h4>\n\n<ul>\n<li>Init<\/li>\n<\/ul>","raw_excerpt":"Simple Table Of Contents Plugin. Just add [toc] shortcode in content to display.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/42075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=42075"}],"author":[{"embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/turtlepod"}],"wp:attachment":[{"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=42075"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=42075"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=42075"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=42075"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=42075"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/dv.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=42075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}