{"id":9776,"date":"2010-07-21T13:30:02","date_gmt":"2010-07-21T13:30:02","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/collapse-page-and-category-plugin\/"},"modified":"2011-12-28T14:35:39","modified_gmt":"2011-12-28T14:35:39","slug":"collapse-page-and-category-plugin","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/collapse-page-and-category-plugin\/","author":4658289,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.5","stable_tag":"1.5","tested":"3.3.2","requires":"2.8","requires_php":"","requires_plugins":"","header_name":"Collapse Page and Category Plugin","header_author":"Keith P. Graham","header_description":"","assets_banners_color":"","last_updated":"2011-12-28 14:35:39","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.amazon.com\/gp\/product\/1456336584?ie=UTF8&tag=thenewjt30page&linkCode=as2&camp=1789&creative=390957&creativeASIN=1456336584","header_plugin_uri":"http:\/\/www.BlogsEye.com\/","header_author_uri":"http:\/\/www.BlogsEye.com\/","rating":5,"author_block_rating":0,"active_installs":30,"downloads":9292,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog","other_notes"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[610,2124,2127,2425,243],"plugin_category":[57],"plugin_contributors":[78589],"plugin_business_model":[],"class_list":["post-9776","plugin","type-plugin","status-closed","hentry","plugin_tags-categories","plugin_tags-collapse","plugin_tags-expand","plugin_tags-lists","plugin_tags-pages","plugin_category-taxonomy","plugin_contributors-keith-graham","plugin_committers-kpgraham"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/collapse-page-and-category-plugin.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>This plugin installs some javascript in the footer of every page. Javascript detects any list items with a class of 'children'. It hides the children in the tree and sets a click event that will expand or re-collapse them. The action uses only css and javascript and occurs after your page loads, so that search engines will see the whole tree before it is collapsed.<\/p>\n\n<p>Wordpress uses the 'children' css class when it displays pages and categories in unordered lists, but you can put anything in an unordered list with a css class of 'children' on the child UL tags and the javascript will collapse or expand it for you.<\/p>\n\n<p>Note: The plugin will not work with themes and widgets that overwrite the default behavior of WordPress.<\/p>\n\n<p>There are no configurations options. The plugin is on when it is installed and enabled. To turn it off just disable the plugin from the plugin menu.<\/p>\n\n<p>Donations:\nIf you find this plugin useful and you wish to support me, you can buy my book of short stories (cheap) <a href=\"http:\/\/www.amazon.com\/gp\/product\/1456336584?ie=UTF8&amp;tag=thenewjt30page&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1456336584\">Error Message Eyes: A Programmer's Guide to the Digital Soul<\/a> <br \/>\nAt the very least please visit my websites and, if appropriate, add a link to one on your blog:  <br \/>\n<a href=\"http:\/\/www.blogseye.com\">Blog&apos;s Eye<\/a> (My Wordpress Plugins and other PHP coding projects) <br \/>\n<a href=\"http:\/\/www.cthreepo.com\/blog\">Wandering Blog <\/a>(My personal Blog) <br \/>\n<a href=\"http:\/\/www.cthreepo.com\">Resources for Science Fiction<\/a> (Writing Science Fiction) <br \/>\n<a href=\"http:\/\/www.jt30.com\">The JT30 Page<\/a> (Amplified Blues Harmonica) <br \/>\n<a href=\"http:\/\/www.harpamps.com\">Harp Amps<\/a> (Vacuum Tube Amplifiers for Blues) <br \/>\n<a href=\"http:\/\/www.westnyackhoney.com\">West Nyack Honey<\/a> (I keep bees and sell the honey) <br \/><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin.<\/li>\n<li>Upload the plugin to your wp-content\/plugins directory.<\/li>\n<li>Activate the plugin.<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>initial release <\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Fixed problems with Wordpress 3.0 release<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Changed so that categories will collapse and uncollapse<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Bug fix for IE<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>By popular demand I added the triangle character that is clickable. It works better this way.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Added a fix to allow category to remain uncollapsed in current page when moving from section to section. (Thanks Jette!!)<\/li>\n<li>Separated the javascript into a static file. Fixed typos (again thanks to Jette).<\/li>\n<\/ul>\n\n<!--section=other_notes-->\n<h3>Support<\/h3>\n\n<p>For questions, comments and suggestions stop by my support blog at <a href=\"http:\/\/www.blogseye.com\">Blog&apos;s Eye<\/a><br \/><\/p>\n\n<p>If you find this plugin useful and you wish to support me, you can buy my book of short stories (cheap) <a href=\"http:\/\/www.amazon.com\/gp\/product\/1456336584?ie=UTF8&amp;tag=thenewjt30page&amp;linkCode=as2&amp;camp=1789&amp;creative=390957&amp;creativeASIN=1456336584\">Error Message Eyes: A Programmer's Guide to the Digital Soul<\/a> <br \/>\nAt the very least please visit my websites and, if appropriate, add a link to one on your blog: \n<a href=\"http:\/\/www.blogseye.com\">Blog&apos;s Eye<\/a> (My Wordpress Plugins and other PHP coding projects) <br \/>\n<a href=\"http:\/\/www.cthreepo.com\/blog\">Wandering Blog <\/a>(My personal Blog) <br \/>\n<a href=\"http:\/\/www.cthreepo.com\">Resources for Science Fiction<\/a> (Writing Science Fiction) <br \/>\n<a href=\"http:\/\/www.jt30.com\">The JT30 Page<\/a> (Amplified Blues Harmonica) <br \/>\n<a href=\"http:\/\/www.harpamps.com\">Harp Amps<\/a> (Vacuum Tube Amplifiers for Blues) <br \/>\n<a href=\"http:\/\/www.westnyackhoney.com\">West Nyack Honey<\/a> (I keep bees and sell the honey) <br \/><\/p>","raw_excerpt":"Uses CSS and Javascript to collapse children on Pages and Categories or any Unordered List that uses the css class &#039;children&#039;.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/9776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=9776"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kpgraham"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=9776"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=9776"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=9776"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=9776"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=9776"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=9776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}