{"id":6502,"date":"2009-08-21T13:46:12","date_gmt":"2009-08-21T13:46:12","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/all-posts-page-link\/"},"modified":"2010-07-29T12:41:07","modified_gmt":"2010-07-29T12:41:07","slug":"all-posts-page-link","status":"publish","type":"plugin","link":"https:\/\/test.wordpress.org\/plugins\/all-posts-page-link\/","author":1534988,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.1","stable_tag":"1.1","tested":"2.8.5","requires":"2.8.2","requires_php":"","requires_plugins":"","header_name":"All Posts Page Link","header_author":"sandapao","header_description":"","assets_banners_color":"","last_updated":"2010-07-29 12:41:07","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.sandapao.com\/html\/y2009\/08\/wp-all-posts-page-link.html","header_plugin_uri":"http:\/\/www.sandapao.com\/html\/y2009\/08\/wp-all-posts-page-link.html","header_author_uri":"http:\/\/www.sandapao.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3134,"num_ratings":0,"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":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[537,170,166],"plugin_category":[],"plugin_contributors":[96951],"plugin_business_model":[],"class_list":["post-6502","plugin","type-plugin","status-publish","hentry","plugin_tags-link","plugin_tags-page","plugin_tags-posts","plugin_contributors-sandapao","plugin_committers-sandapao"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/all-posts-page-link.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Display page link for all posts. Tested on wordpress 2.8.2 and 2.8.4 and 2.8.5, on bugs found.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>wp-all-posts-pages-link.php<\/code> to the <code>\/wp-content\/plugins\/wp-all-posts-page-link<\/code> directory.  <\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress. <\/li>\n<li>Place  in the index.php of your templates. And the result will be:\n\"Prev Page 1 2 3 Next Page\".<\/li>\n<li>You may change the page number form to set parameters like all_posts_page_link('Prev', 'Next', 'P'). If so the result will be:\n\"Prev Page P1 P2 P3 Next Page\".<\/li>\n<li>If you want to display with reverse page number, you may set parameter like all_posts_page_link('Prev', 'Next', '', 0, ). If so the result will be:\n\"Prev Page 3 2 1 Next Page\". In the reverse form, the latest is 3.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What's the format of the output?<\/dt>\n<dd><p>The format of output as follows(current page number is 1):<\/p>\n\n<ul>\n<li>Prev Page<\/li>\n<li>1<\/li>\n<li><a href=\"#\">2<\/a><\/li>\n<li><a href=\"#\">3<\/a><\/li>\n<li><a href=\"#\">Next Page<\/a><\/li>\n<\/ul><\/dd>\n<dt>How to customize prev and next lable?<\/dt>\n<dd><p>You can set them on the arguments of function all_posts_page_link, like all_posts_page_link('--', '++', 'Page') . For these arguments, the output will as follows(current page number is 1):<\/p>\n\n<ul>\n<li>---<\/li>\n<li>Page1<\/li>\n<li><a href=\"#\">Page2<\/a><\/li>\n<li><a href=\"#\">Page3<\/a><\/li>\n<li><a href=\"#\">+++<\/a><\/li>\n<\/ul><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>first version.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Remove class from <a href=\"#\"><\/a><\/li>\n<li>Add option for reverse display. This means you can chose pages like: <\/li>\n<\/ul>\n\n<ul>\n<li>---<\/li>\n<li>Page1<\/li>\n<li><a href=\"#\">Page2<\/a><\/li>\n<li><a href=\"#\">Page3<\/a><\/li>\n<li><a href=\"#\">+++<\/a><\/li>\n<\/ul>\n\n<p>OR<\/p>\n\n<ul>\n<li>---<\/li>\n<li>Page3<\/li>\n<li><a href=\"#\">Page2<\/a><\/li>\n<li><a href=\"#\">Page1<\/a><\/li>\n<li><a href=\"#\">+++<\/a><\/li>\n<\/ul>\n\n<p>In the reverse form, the Page3 is the latest. Othrwise Page1 is the latest.<\/p>","raw_excerpt":"Display page link for all posts. Tested on wordpress 2.8.2 and 2.8.4 and 2.8.5, on bugs found.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6502","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6502"}],"author":[{"embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sandapao"}],"wp:attachment":[{"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6502"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6502"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6502"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6502"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6502"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/test.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}