Skip to content

Flexi Pages Widget

Download Latest version: 1.6.1 (updated on 30 January 2010)
Features | Screenshot | Download | Installation | FAQ | Changelog | Donate

Flexi Pages Widget is a highly configurable widget to list pages and sub-pages in WordPress sidebar. User friendly widget control comes with plenty of options. ‘Flexi Pages’ widget can be used as an alternative to the default WordPress ‘Pages’ widget.

Features

  • Option to display sub-pages only in parent page and related pages.
  • Option to easily select and exclude certain pages from getting displayed in the list. Alternatively, only certain pages can be displayed by using the ‘include’ option.
  • Option to include a link to the home page.
  • Other options include title, sort column/order, hierarchical/flat format, show date, show as dropdown.
  • Multiple instances of the widget — unlimited instances of the widget can be added to the sidebar
  • Instead of using the widget, the function flexipages() can be called from anywhere in the template. The list of parameters that can be passed on to this function.
  • Widget options menu is internationalized.

Screenshot

Flexi Pages Widget 1.6. Widget options.

Download

Latest version: 1.6.1
Requires atleast WordPress version 2.7. Tested upto WordPress 2.9.1

Download Flexi Pages Widget plugin for WordPress Version 1.6.1

The plugin can alternatively be downloaded from the WordPress plugin repository.

Earlier versions of the plugin can be downloaded here.

If you use a version of the WordPress prior to 2.7, please upgrade to the latest version of WP! If that is not possible, use the Flexi Pages Widget plugin for WordPress (v1.4.1).

You are free to use the plugin under terms specified by GPL.

Installation

  1. Unzip the compressed file and upload ‘flexi-pages.php’ file (or ‘flexi-pages’ directory) directory to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin ‘Flexi Pages Widget’ through the ‘Plugins’ menu in WordPress admin
  3. Go to WP Admin » Appearance » Widgets, add the ‘Flexi Pages’ widget into the sidebar and choose your options
  4. Multiple instances of the widget can be added to the sidebar.

Frequently Asked Questions

Please visit http://wordpress.org/extend/plugins/flexi-pages-widget/faq/.

Localization

Versions 1.5.5 and above support 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.po` and `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.po` and `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 version 1.6.1, Flexi Pages Widget is translated into the following languages:

Catalan (ca) by Robert Buj Gelonch
German (de_DE) by Frank W. Hempel
Dutch (nl_NL) by Rene
Brazilian Portugese (pt_BR) by Tzor More
Russian (ru_RU) by Fat Cow.
Swedish (sv_SE) by Ove Kaufeldt
Turkish (tr_TR) by Hakan Demiray
Ukrainian (uk_UA) by wpp.pp.ua.

Change Log

2010-01-30: Version 1.6.1

  • Fixed the include/hierarchy issue
  • ‘current_page_ancestor’ and ‘current_page_parent’ classes shown.

2010-01-09: Version 1.6

  • New feature to show the items in the widget as dropdown.
  • Core functions have been rewritten with a better logic (functionalities remain the same).
  • Localization in Catalan and Dutch languages added.

2009-11-03: Version 1.5.10

  • Minor fix (closing quote for ‘exinclude-values’ in line 408)

2009-10-01: Version 1.5.9

  • Localization in Brazilian Portugese, Swedish and Turkish languages added.

2009-09-22: Version 1.5.7

  • Ukrainian localization added
  • Support for user defined widget arguments before_pagelist and after_pagelist

2009-09-14: Version 1.5.6

  • German localization added.

2009-09-10: Version 1.5.5

  • Support for localization added. Russian localization included.
  • Roll back to `wp_list_pages()` function. Because `wp_page_menu()` seems not to work properly in some themes.

2009-08-03: Version 1.5.3

  • Bug fix: Fixed the behaviour where the list won’t appear in the posts page if it’s chosen as a sub page (front page as static page)

2009-06-30: Version 1.5.2

  • Bug fix (thanks to John J. Camilleri for the notification). Must upgrade.

2009-04-18: Version 1.5.1

  • Bug fix. Title now doesn’t show when there is no items in the list.
  • Frequently asked queries about private pages and password protected pages answered in FAQ.

2009-04-07: Version 1.5

  • Unlimited instances of the Flexi Pages Widget can be added to the sidebar.
  • New option to show date. This option, when selected displays creation or last modified date next to each page.
  • The widgets options gets an overhaul. The list of options in the widget control page as of version 1.5.
    • Title
    • Sort column and sort order
    • Exclude/Include a list of pages
    • Show subpages (or list only top level pages). Show all subpages or only related subpages.
    • List the pages in hierarchical or flat format. If hierarchical, choose depth.
    • Show link to the home page
    • Show date, and choose date format.
  • The plugin references wp_page_menu() function instead of wp_list_pages(). Consequently, version 1.5 will work only with WordPress versions 2.7 and above.

2008-05-21: Version 1.4.1

  • Bug fixes (issues regarding include/exclude sub-pages only with ‘List sub-pages only in parent and related pages in hierarchy’ option.)

2008-04-06: Version 1.4

  • Fixed the odd behaviour when the widget is placed below the recent posts widget.
  • Removed the redundant check box for home page link in widget controls
  • Tested with WordPress 2.5; widget control box styling compatible with WP 2.5

2008-02-19: Version 1.3

  • Multiple instances of the widget
  • Added ‘Include pages’ option
  • flexipages() template function
  • Other minor improvements

2007-08-31: Version 1.2

  • Added option to provide a custom text for the home page link
  • Custom depth of ‘-3′ will display only parents, siblings and children along with top level pages. Parents’ siblings wont be displayed.
  • Few other improvements and some optimization.
  • Tested with WordPress 2.3-beta1.

2007-08-22: Version 1.1.2

  • Fixed the missing </li> tag for home link
  • Added class name (page_item, current_page_item) for home link

2007-08-17: Version 1.1.1

  • bug fix
  • tested with WordPress 2.2.2

2007-08-12: Version 1.1

  • bug fix

2007-08-08: Version 1.0

  • Initial release

551 Comments

  1. Eric says:

    Hello! What a great plugin! I just started using it and have a quick question.

    Is there a way to show only the Parent page and sub-pages when you select from the menu? Right now, it shows all the parent pages and the sub-pages of the page selected.

  2. Tom says:

    Hi, thank you for the plugin – its great!
    I have the same Problem like Daniel. My level0 Menu is in the header and all subpages with your plugin in the sidebar. I include all subpages and switched hierachy option off. It works that way, but my subpages level 1 and 2 are no more sorted the way they should. If i use just Level0 at the top and Level1 with your plugin its ok. If i have level 2 also, then the sort order is wrong and level 2 and 1 are at the same level.
    Thanks
    Tom

  3. cori says:

    Sorry our sites unpublished. I have a “bug” with having multiple occurrences of flexi-pages and the “order” they appear in. For example, I add in two flexi-pages widgets, which i love by the way! But when i add in a third widget, flexi-pages or something else, it will only appear at the “top” of the listing. I have to say this is one of my favorite plug-ins even though I just started using it last week – THANK YOU!!!!!!

  4. Rob H says:

    I am trying to include only the sibling pages without the top level pages. If I use the child_of option with an exact value, it works fine (ie flexipages(‘child_of=249′)). But if I do something like:

    $parentID = $post->post_parent;
    flexipages(‘child_of=$parentID’);

    It does not (I only get the top level pages). Is there a way to have the ID of the parent page as a variable?

    Thank you.

  5. Rob H says:

    Never mind, I figured it out:
    $parentID = $post->post_parent;
    flexipages(‘child_of=’.$parentID);

    Thanks for the great work

  6. head says:

    Hi,

    Is it possible to apply wp_list_pages filter before displaying widget content ? It is useful if someone use All in one seo pack for changing page name in menu. It is simple change:

    flexi_pages_widget.php, start line 317:
    $output .= $before_widget;

    if($title && $pagelist)
    $output .= $before_title . $title . $after_title . “\n”;

    $output .= $before_pagelist . $pagelist . $after_pagelist . “\n”;
    /* $before_pagelist and $after_pagelist are widget arguments that
    can be defined in the functions.php of your theme.
    These arguments can be used, for example, if you want to enclose
    the pagelist within a .
    */

    $output .= $after_widget;
    echo apply_filters(‘wp_list_pages’, $output);

    Thanks.

  7. Leah Caruso says:

    i just downloaded and installed the latest version of flexipages and now they won’t work properly. i am using the latest version of wordpress. help!

  8. Leah Caruso says:

    The widgets do not show up on my website. In the “widget” section of the Appearance tab they are properly located in my sidebar, but they do not show up on my actual website. I have tried logging out of wordpress and logging back in, deactivating the plugin and re-activating it, etc.

  9. David says:

    First time on this forum.

    I was having trouble with Flexi Pages for the first time.
    All other versions worked fine for me
    Now with Version 1.6.1, my widget does not show up at all.
    The ONLY way I could get it to work….I just by chance had an OLD version 1.5.2. I deleted the newest version and reinstalled the old version and WELLAH it was back to working great>>>>

  10. Leah Caruso says:

    I installed the older version which works perfectly. If possible, I’d love to know why the newest version is not working. Thank you.

Leave a Reply