A highly configurable WordPress sidebar widget to list pages and sub-pages. User friendly widget control comes with various options.
Versions 1.5.5 and above supports localization. The localization template file (flexipages.pot) can be found in the 'languages' folder of the plugin. The resulting PO and MO files should go in the 'flexi-pages-widget/languages/' directory, and should be named in the format
flexipages-xx_YY.mo files respectively. Where xx refers to the language code and YY to the locale. For example, the German translation files will have the name
flexipages-de_DE.mo. This xx_YY should be the same as the value you define for WPLANG in wp-config.php.
An application like poEdit can be used to translate the plugin, or just translate the strings in the flexipages.pot file and send it to the plugin author. All translations sent to the author will be bundled with the next version of the plugin.
As of the current version, Flexi Pages Widget is translated into the following languages:
bg_BG) by Team Ajoft
be_BY) by Alexander Ovsov
ca) by Robert Buj Gelonch
cs_CZ) by Tomáš Hubka
da_DK) by Morten Elm
de_DE) by Frank W. Hempel
fil_PH) by Morten Elm
fr_FR) by Pierre Sudarovich
ga_IE) by Ajeet
hi_IN) by Ashish Jha, Outshine Solutions
id_ID) by Bejana
it_IT) by Gianni Diurno
lt_LT) by Nata Strazda
nl_NL) by Rene
pl_PL) by Mariusz Jackiewicz
pt_BR) by Tzor More
ro_RO) by Michail Bogdanov
ru_RU) by Fat Cow
sr_RS) by Mike Arias
sv_SE) by Ove Kaufeldt
tr_TR) by Hakan Demiray
uk_UA) by wpp.pp.ua
zh_CN) by Kaijia Feng
Instead of using the widget, the function flexipages() can be called from anywhere in the template.
(string) Sorts the list of Pages in a number of different ways. The default setting is sort alphabetically by Page Order.
(string) Change the sort order of the list of Pages (either ascending or descending). The default is ascending. Valid values:
(string) Define a comma-separated list of Page IDs to be excluded from the list (example: 'exclude=3,7,31'). There is no default value.
(string) Only include certain Pages in the list generated by get_pages. Like exclude, this parameter takes a comma-separated list of Page IDs. There is no default value.
(integer) Displays the sub-pages of a single Page only; uses the ID for a Page as the value. Defaults to 0 (displays all Pages). Note that the child_of parameter will also fetch "grandchildren" of the given ID, not just direct descendants.
(integer) Displays those pages that have this ID as a parent. Defaults to -1 (displays all Pages regardless of parent). Note that this can be used to limit the 'depth' of the child_of parameter, so only one generation of descendants might be retrieved. You must use this in conjuction with the child_of parameter. Feed it the same ID.
(boolean) Display sub-Pages in an indented manner below their parent or list the Pages inline. The default is true (display sub-Pages indented below the parent list item). Valid values:
(integer) This parameter controls how many levels in the hierarchy of pages are to be included in the list generated by wp_list_pages. The default value is 0 (display all pages, including all sub-pages).
(boolean) Whether to display the items in the widget as list or dropdown.
(boolean) Toggles the display of the generated list of links or return the list as an HTML text string to be used in PHP. The default value is 1 (display the generated list items). Valid values:
flexipages() will display the list with default options.
flexipages('echo=0') will return the list with default options for other parameters.
flexipages('echo=0&show_subpages=0') will return only top level pages.
flexipages('sort_column=ID&exclude=2,10,14') will display the list with items sorted in order of ID. The page IDs 2, 10 and 14 will be excluded.