Collapsing Pages free WordPress plugin
Description
This is a very simple plugin that uses Javascript to form a collapsable set of links in the sidebar for the pages. Every page corresponding to a given parent page will be expanded. It is largely based off of my Collapsing Pages and Collapsing Archives plugins. What’s new? 1.0.1 (2016.05.09) Fixed bug where sometimes setting accordion to false broke javascript 1.0 (2015.08.12) Compatible with WordPress 4.3 Fixed bug where expanding symbol showed up at lowest depth specified instead (thanks to tkibler for pointing it out) Added option to only display pages of the current subpage Added option to show top-level page (previously it was always shown) Added accordion style option Cleaned up widget settings improved style management, including the ability to specify style per widget Switched from unicode symbols to html entities Not showing tags for title if empty Fixed bug with title attribute of pages Totally rewrote javascript Options If using the manual version, you can pass options either as an array, or using the query style, just like for other wordpress functions such as wp_list_pages $defaults=array( ‘title’ => __(‘Pages’, ‘collapsing-pages’), ‘sortOrder’=> ‘ASC’ , ‘sort’=> ‘pageName’ , ‘defaultExpand’=> ”, ‘expand’ => 0, ‘depth’ =>-1, ‘inExcludePage’ => ‘exclude’, ‘linkToPage’ => true, ‘inExcludePages’ => ”, ‘showPosts’ => false, ‘animate’ => 0, ‘useCookies’ => true, ‘postTitleLength’ => 0, ‘showTopLevel’ => true, ‘currentPageOnly’ => false, ‘debug’ => false, ); inExcludePage Whether to include or exclude certain pages ‘exclude’ (default) ‘include’ inExcludePages The pages which should be included or excluded showPosts Whether or not to include posts as well as pages. Default if false linkToPage True, clicking on a parent page title will link to that page (default) False, clicking on a parent page will expand to show sub-pages sort How to sort the pages. Possible values: ‘pageName’ the title of the page (default)
Features
Cost:
Free
Provider:
Robert Felty
Popularity:
Low
WPMarket

