{"id":17502,"date":"2012-03-26T15:20:11","date_gmt":"2012-03-26T15:20:11","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/wp-table-of-paginated-contents\/"},"modified":"2015-12-19T16:04:54","modified_gmt":"2015-12-19T16:04:54","slug":"wp-table-of-paginated-contents","status":"publish","type":"plugin","link":"https:\/\/sr.wordpress.org\/plugins\/wp-table-of-paginated-contents\/","author":9218722,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1","stable_tag":"2.1","tested":"4.4.34","requires":"2.7","requires_php":"","requires_plugins":"","header_name":"WP Table of Paginated Contents","header_author":"Ant\u00f3nio Andrade","header_description":"","assets_banners_color":"88898a","last_updated":"2015-12-19 16:04:54","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.com\/cgi-bin\/webscr?cmd=_donations&business=antonio%40antonioandra%2ede&lc=US&item_name=WP%20Table%20of%20Paginated%20Contents%20%28Antonio%20Andrade%29&no_note=0&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHostedGuest","header_plugin_uri":"http:\/\/antonioandra.de\/","header_author_uri":"http:\/\/antonioandra.de","rating":3.9,"author_block_rating":0,"active_installs":80,"downloads":12190,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":"2","3":"1","4":0,"5":"4"},"assets_icons":{"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1266128","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"523880","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.1.1","1.2","1.3","2.0","2.1"],"block_files":[],"assets_screenshots":{"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1573786","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1573786","resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1573786","resolution":"2","location":"plugin"}},"screenshots":{"1":"The TinyMCE button.","2":"The naming prompt.","3":"The outputs (check the usage section)."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1753,56714,900,4559,10851],"plugin_category":[43],"plugin_contributors":[78836,84098],"plugin_business_model":[],"class_list":["post-17502","plugin","type-plugin","status-publish","hentry","plugin_tags-navigation","plugin_tags-page-pagination","plugin_tags-pagination","plugin_tags-post-pagination","plugin_tags-table-of-contents","plugin_category-customization","plugin_contributors-antonioandrade","plugin_contributors-luc7v","plugin_committers-antonioandrade"],"banners":{"banner":"https:\/\/ps.w.org\/wp-table-of-paginated-contents\/assets\/banner-772x250.png?rev=523880","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/wp-table-of-paginated-contents\/assets\/icon-256x256.jpg?rev=1266128","icon_2x":"https:\/\/ps.w.org\/wp-table-of-paginated-contents\/assets\/icon-256x256.jpg?rev=1266128","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/wp-table-of-paginated-contents\/trunk\/screenshot-1.png?rev=1573786","caption":"The TinyMCE button."},{"src":"https:\/\/ps.w.org\/wp-table-of-paginated-contents\/trunk\/screenshot-2.png?rev=1573786","caption":"The naming prompt."},{"src":"https:\/\/ps.w.org\/wp-table-of-paginated-contents\/trunk\/screenshot-3.png?rev=1573786","caption":"The outputs (check the usage section)."}],"raw_content":"<!--section=description-->\n<p><strong>WP Table of Paginated Contents<\/strong> handles naming of each post page and produces a Table of Contents.\nIt uses the native <code>&lt;!--nextpage--&gt;<\/code> tag but adds a shortcode to store section titles.<\/p>\n\n<p>Check the screenshots for a clearer idea.<\/p>\n\n<p><strong>Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Naming of each post page<\/strong>;<\/li>\n<li>Output or generation of a <strong>Table of Contents<\/strong> (using a list or a drop down menu);<\/li>\n<li>Output or generation of <strong>next\/prev post pages navigation<\/strong>, using the section titles.<\/li>\n<\/ul>\n\n<p>Suggestions are welcome and please report any bugs found!<\/p>\n\n<h3>Usage<\/h3>\n\n<p>This plugin provides two main methods to be used within the loop (http:\/\/codex.wordpress.org\/The_Loop).<\/p>\n\n<p>To echo the table of contents:\n    <\/p>\n\n<p>To echo the next\/prev navigation links:\n    <\/p>\n\n<p><strong>Usage Examples<\/strong><\/p>\n\n<p>To output the Table of Contents use the following snippet, inside your post loop:<\/p>\n\n<pre><code>&lt;?php if( function_exists( 'wptopc' ) ){ wptopc(); } ?&gt;\n<\/code><\/pre>\n\n<p>Alternatively you may output the Table of Contents as a drop down menu using the snippet:<\/p>\n\n<pre><code>&lt;?php if( function_exists( 'wptopc' ) ){ wptopc(\"select\", \"The Post Table of Contents\"); } ?&gt;\n<\/code><\/pre>\n\n<p>To output a next\/prev navigation with the section titles, use the following snippet, inside your post loop:<\/p>\n\n<pre><code>&lt;?php if( function_exists( 'wptopc_pagination_links' ) ){ wptopc_pagination_links(); } ?&gt;\n<\/code><\/pre>\n\n<p>To store the output of these functions prefix them with \"get_\", like in:\n    get_wptopc()\nor\n    get_wptopc_pagination_links()<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download <strong>WP Table of Paginated Contents<\/strong>;<\/li>\n<li>Extract its content;<\/li>\n<li>Upload the <strong>wp-table-of-paginated-contents<\/strong> folder to <strong>wp-content\/plugins<\/strong>;<\/li>\n<li>Activate it under <strong>Plugins<\/strong>;<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.1 (19\/12\/2015)<\/h4>\n\n<ul>\n<li>Added 3 parameters to link functions to allow more customization.<\/li>\n<\/ul>\n\n<h4>1.3 (19\/04\/2014)<\/h4>\n\n<ul>\n<li>Fixed TinyMCE plugin;<\/li>\n<li>Tested under 3.9.<\/li>\n<\/ul>\n\n<h4>1.2 (01\/07\/2012)<\/h4>\n\n<ul>\n<li>Added prepend and append options;<\/li>\n<li>Tested under 3.4.1.<\/li>\n<\/ul>\n\n<h4>1.1.1 (25\/04\/2012)<\/h4>\n\n<ul>\n<li>Tested under 3.3.2.<\/li>\n<\/ul>\n\n<h4>1.1 (25\/04\/2012)<\/h4>\n\n<ul>\n<li>Feature: added 'get_' alternative methods, providing the ability to store outputs (without echoing).<\/li>\n<\/ul>\n\n<h4>1.0.1 (03\/04\/2012)<\/h4>\n\n<ul>\n<li>Images and donators list included (no longer remotely loaded).<\/li>\n<\/ul>\n\n<h4>1.0 (26\/03\/2012)<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Handles naming of each post page through a TinyMCE button and produces a Table of Contents for the said post.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17502"}],"author":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/antonioandrade"}],"wp:attachment":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17502"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17502"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17502"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17502"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17502"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}