Flexi Pages Widget

Download Latest version: 1.4.1 (updated on 21 May 2008)

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, text to be displayed for home page link, other display and depth options.
  • Multiple instances of the widget — upto nine 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 (more information).

Screenshots

Click on a thumbnail for full size image.

Flexi Pages Widget — screenshot 1
Flexi Pages Widget — screenshot 2Flexi Pages Widget — screenshot 3

  1. Controls for Flexi Pages Widget
  2. Pages listed on the home page when “List sub-pages only in parent and related pages in the hierarchy” option is selected.
  3. Pages listed on a page having sub pages. You can see the sub-pages expand here while only top level pages are listed in the home page on screenshot 2. Same settings as screenshot 2.

Download

Requires atleast WordPress version 2.1. Tested upto WordPress 2.5

Download Flexi Pages Widget plugin for WordPress Version 1.4.1

Downloaded a total of 4566 times

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 » Presentation » Widgets, drag ‘Flexi Pages 1′ widget into the sidebar and choose your options
  4. An option to select multiple instances of the widget is available in the widgets page. You can have upto 9 instances of the widget

Contact me for suggestions/questions/feature requests/bug reports. You can also leave your message here as a comment.

The flexipages() template function

Instead of using the sidebar widget, the function flexipages() can be used as a template function to display the list of pages. All options available for wp_list_pages() can also be used for flexipages(). Additionally in flexipages(), the depth parameter has two more choices (-2 and -3), and there is an extra parameter to display a link to the blog home page.

depth (integer)

This parameter controls how many levels in the hierarchy of pages are to be included in the list generated by flexipages. The default value is -2.

  • 0 - All pages and sub-pages displayed in hierarchical (indented) form.
  • -1 - All pages in sub-pages displayed in flat (no indent) form.
  • -2 (Default) - List sub-pages only in parent and related pages in hierarchy.
  • -3 - Similar to ‘-2′ above, but siblings of parent pages won’t be displayed. Only top level pages and pages in the hierarchy will show up.
  • 1 - Show only top level Pages
  • 2 - Value of 2 (or greater) specifies the depth (or level) to descend in displaying Pages.

home_link (string)

If a value is specified for this parameter, a link to the home page of the blog will be displayed on top of the list of pages. The link text will be the value specified. For example, flexipages('home_link=Home') will display a link to the home page with link text as ‘Home’.

In addition to the above two, all other parameters used with wp_list_pages() can also be used with flexipages(). Refer WordPress documentation for more details about the wp_list_pages() function and to know about how to pass the parameters into the function.

Frequently Asked Questions

  1. After selecting a few pages for exclusion, isn’t it possible to deselect all pages? There is always one page selected for exclusion.
    • It is possible to deselect all pages. Hold the ‘Ctrl’ key in your keyboard and click on the name of the page that’s not getting deselected.
  2. When the option “List sub-pages only in parent and related pages in hierarchy” is selected, top level pages, children and siblings of the current page, and siblings of the parent page get listed. Is it possible to get rid of siblings of parent page on a subpage while using this option?
    • Yes. But you have to select the ‘Custom depth level’ option to achieve this. Enter the number ‘-3′ for custom depth. This way only top level pages and pages in the hierarchy will show up.
  3. Is there an option to list only sub pages and hide the parent pages?
    • Although such an option does not exist, the ‘Include’ option can be used to achieve this. Select ‘Include’ instead of ‘Exclude’ and select all the pages you want to be listed. Pages left out won’t be displayed.

Change Log

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
Share / Bookmark: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Furl
  • Ma.gnolia
  • NewsVine
  • Reddit
  • StumbleUpon

191 Comments

  1. #1: sec says:

    Just installed the plugin, and got this error:

    “Warning: Invalid argument supplied for foreach() in /plugins/flexi-pages/flexi-pages.php on line 67″

    Any clues?

  2. #2: felipe says:

    “Warning: Invalid argument supplied for foreach() in /plugins/flexi-pages/flexi-pages.php on line 67″

    http://ustedes.net/portfolio

    thanks!

  3. #3: Srini says:

    There is a bug in version 1.1. The error (warning) message shows when you don’t have subpages. Version 1.1.1 comes with the fix. Anybody using 1.0 or 1.1, please update to 1.1.1.

    Thank you sec and felipe for reporting the error.

  4. #4: sec says:

    @Srini:

    Thanks for the quick fix and update. For a future update, could you provide an additional option to arrange the menu by id?

  5. #5: Srini says:

    sec, an option to arrange the menu by page id already exists. Just select ‘Page ID’ for the ‘Sort by’ option. Isn’t this what you want?

  6. #6: sec says:

    Missed it. Thanks.

  7. #7: StephanZ says:

    I have a problem with the exclusion of the sides.
    There is always one side which is activated for exclusion. I am not able to deactivate this exclusion.
    I tried it with Firefox 2.0 and IE 6

    Regards
    Stephan

  8. #8: Srini says:

    Stephan, hold the ‘Ctrl’ key in your keyboard and click on the name of the page that’s not getting deactivated. Hope this solves your problem.

  9. #9: Srini says:

    I will come up with a better interface to select pages for exclusion in future version of the widget.

  10. #10: StephanZ says:

    Thank you. That solved the problem.
    I think, you have only to change the explanation. I understood Ctrl is only for selecting more than one page.
    Perhaps it is my fault, because my mothertongue is german.

    Regards
    Stephan

  11. #11: Ninjaboy says:

    Great work - nice widget!

    However, I have a request for future releases, please consider this page structure, the dashes represent hierarchy:

    About
    - Company
    - - Company detail 1
    - - Company detail 2
    - Staff
    - - Staff detail 1
    - - Staff detail 2
    Products
    - Red products
    - - Red plastic
    - - Red metal
    - Blue products
    - - Blue plastic
    - - Blue metal

    OK, so what I would like is initial display at homepage of:

    About
    Products

    When I click on About I’m presented with just the children of About:

    Company
    Staff

    When I click on Company, I’m presented with just the children of Company:

    Company detail 1
    Company detail 2

    It would also be very usefull if at the top of this navigation I was given a link back to the parent, so in the last example (showing children of ‘company’) I get an (optional) link back to ‘company’

    I hope I have made myself clear, it’s kinda tricky explaining this - basically, I don’t want all the page links showing, just the children of given page and a link back to the parent. When I click on one of the children I still want the siblings visible (which is how this plugin functions now).

  12. #12: Srini says:

    Ninjaboy, I understand what you say. There is another widget called SubPages widget by Alper Haytabay, it does something very similar to what you want. I will however try to implement this feature in a future release of flexi pages widget. Thanks for the suggestion.

  13. #13: Ninjaboy says:

    Srini
    Yup, have tried that one out, along with just about every other plugin that claims to do something similar… but they never do quite what I want!!

    I have hacked something together that almost does what I need, but have been sweating over this for a couple of months now - and not being an expert in either PHP or WordPress doesn’t help!

    I don’t mean to trouble you, I’m sure this plugin works just fine for most people, but if you are trying to make WordPress more of a CMS with a complex page navigation you need something like I describe - rather than showing all the pages at once.

    It seems to me that there is a gap in the plugin community for a really good, flexible page navigator!

  14. #14: Klark says:

    Hi, nice widget. I have a question — consider this layout:

    * About
    * Teams
    o Baseball
    + Coach
    o Men’s Basketball
    o Women’s Basketball
    o Men’s Cross Country
    o Women’s Cross Country
    o Field Hockey
    o Men’s Indoor Track
    o Women’s Indoor Track
    o Men’s Lacrosse
    o Women’s Lacrosse
    o Men’s Outdoor Track
    o Women’s Outdoor Track
    o Men’s Soccer
    o Women’s Soccer
    o Softball
    o Men’s Swimming
    o Women’s Swimming
    o Synchronized Swimming
    o Men’s Tennis
    o Women’s Tennis
    o Volleyball
    * News

    If you’re on the Baseball->Coach page, why do the rest of the teams show up? I’d expect it to look like:

    * About
    * Teams
    o Baseball
    + Coach
    * News

    Note, I have this option selected:

    List sub-pages only in parent and related pages in hierarchy.

    Thanks!

  15. #15: Klark says:

    Argh. my formatting did not work. But, I think it was clear.

    To clarify, if you have this structure:

    About
    Teams
    – Baseball
    – — Coach
    – Men’s Basketball
    – Women’s Basketball
    – Men’s Cross Country

    And you’re on the Baseball–>Coach page, the rest of the pages under Teams show up.

    Is there a way to disable this? I’d only want to see Baseball under there.

  16. #16: Srini says:

    @Klark: Yes, when you are on the Baseball > Coach page, rest of the pages under Teams show up. I made it this way on purpose. But I do understand your concern. I will probably come up with an option to leave out the siblings of parent page — only top level pages and pages in the hierarchy will show up. But that will be in a future version of the widget. Thanks for the suggestion.

  17. #17: Srini says:

    Klark, I have just updated the widget to ver.1.2. Now, you can exclude parents’ siblings. This can be achieved by giving the number ‘-3′ for custom depth option. Hope this helps. I think this option also answers Ninjaboy’s requirements to a certain extent.

    Few more options can be added, but it makes the widget options interface more complex. If anybody needs a more customized widget, contact me personally.

  18. #18: David says:

    1st of all, thx for a very handy and workable plugin/widget, I use it and luv it (not literal) … One little query? Any way of making the Parent page/s entry bold (or “strong”) with child-pages normal, thus making the “main”-parent pages entries/headings stand-out in Sidebar (hierarchical) view?
    Just a “nice” touch… well I think so… and I think it will help “attract” readers eyes/view to the various page/sections more readily… could it be pasted as a clip of “CSS code” in the php file? and if so, where? As you can read, I’m a blogger and not a coder… can follow instructions though ;-)

  19. #19: Srini says:

    Yes, it would be a nice idea to have the parent pages bold and stand out, but I don’t want to deal with styling in my plugin… I would rather leave it to the theme authors. But I can definitely help you do this. Just copy and paste the following piece of code towards the bottom of the style.css file of the theme you are using.

    
    li#flexi-pages ul li {
    	font-weight:bold;
    }
    li#flexi-pages ul li ul li {
    	font-weight:normal;
    }
    

    And yeah… thanks for using and loving my plugin ;)

  20. #20: Bike says:

    Hi Srini, this is quite useful, thanks for making it. Is there any chance that this could ajaxified?
    Ajax is overused, but in this case it will perfect the plugin, creating a fluid menu.

    Thanks, Bike

  21. #21: Srini says:

    Thanks for using the plugin biketraveller! I will consider your ajax suggestion for a future version. Thanks for the idea.

  22. #22: Dusan says:

    Great stuff! I have only on request since I’ve tried probably all the related plugins and widgets and none of them works flawlessly like this one. Anyway, is it possible to exclude all the parent pages and show only subpages in the way this plugin alredy does?

  23. #23: Srini says:

    Thank you Dusan. I’m always looking for ways I can make the plugin more flexible and feature rich without sacrificing simplicity. Thanks for your suggestion, it’s a very good one… I will see how I can add an option to exclude the parent pages while still displaying sub pages.

  24. #24: 13x13 says:

    I have one extra page on my blog beyond the home page. However this doesn’t show up in the plugin. How do I get my pages to show up other than just home?

  25. #25: Srini says:

    Any page that’s published through Wordpress shows up. If it doesn’t, check your widget options, probably the page could have been under exclusion. But if you have a page that’s not created through wordpress, there is no easy way of displaying it right now. We have to make some modifications to the plugin file, contact me personally if you need this.

  26. #26: dragon says:

    I have a problem,
    in my presentation menü there is nothing to select, called “Widgets”
    Where do i find it?

  27. #27: Srini says:

    Which WordPress version are you using? If you are using a version older than 2.2 you have to install sidebar widgets plugin before using widgets. If you are using a version older than 2.1, forget about widgets… you should first make a quick WP upgrade.

  28. #28: dragon says:

    I use 2.1.3

  29. #29: Srini says:

    Yes, please download and install and activate sidebar widgets plugin. After that, you will find a submenu called ‘Sidebar Widgets’ under the ‘Presentation’ menu.

  30. #30: madesign says:

    Hello, congratulation your plug works fine for me with K2 0.9.6 and Wordpress2.2.3.
    I mist this feature since i changed from K2 sidebar widgets to Wordpress widgets.

    A function to exclude from showing the menue on selectet page would be great.

    Saludos de Argentina, Michael

  31. #31: Srini says:

    Thanks Michael, I will definitely consider your suggestion.

  32. #32: NK13 says:

    Great Plugin
    Thanks for sharing your hard work.

    My only question is to know if its possible to have more than one instance of widget.

    Thanks!!!

  33. #33: Srini says:

    NK13, Thanks for your suggestion. Multiple instances of the widget is one of the things i’m thinking for a future version. So you can expect this feature in one of the future versions if not in the immediate next version. Thanks :)

  34. #34: NK13 says:

    Thanks Srini!

    :)

  35. #35: Aine says:

    Hello! I love this plugin, but I’m having trouble styling it. The child pages do not indent. I tried this suggestion:

    li#flexi-pages ul li {
    font-weight:bold;
    }
    li#flexi-pages ul li ul li {
    font-weight:normal;
    }

    … but it didn’t seem to do anything. Any idea why this is happening? Thank you!

  36. #36: Srini says:

    Aine, try this,

    li#flexi-pages ul ul {
    margin-left:10px;
    }

  37. #37: Lars Svensson says:

    Hello. Great widget. Is it possible to add a code to a page to view the structure? Or must it sit on the sidebar on every page?

  38. #38: Srini says:

    Do you mean that we have a code, which, when included in a page will display the whole page structure? I will try to include this feature.

  39. #39: Rachael says:

    Hi Srini, I have activated your plugin and dropped into the sidebar, but I cannot find where/how to change the options. I’ve looked everywhere.

  40. #40: Srini says:

    Go to WP admin -> Presentation -> Widgets, and after dropping the widget onto the sidebar, you will find a configuration icon on the right side of the widget box. Click on that icon and you will be able to choose your options.

  41. #41: Rachael says:

    Thanks Srini, I knew it was something simple that I was missing. Love your work.

  42. #42: howie says:

    is it possible to only list the subpages without the parent?
    Because the parentpages are listed in the header, and i’d like the subpages to showup when clicking on a parent page (via the header)

    thanks!

  43. #43: Srini says:

    Many have requested for this kind of a feature — displaying only subpages when on a parent page. I’ll include this feature in the next update… possibly before the end of this month.

  44. #44: anthony says:

    I’m not sure what I’m missing but I added this code to my css, but it had no effects. I can’t find the issue, any thoughts?

    li#flexi-pages ul ul {
    margin-left:10px;
    }

  45. #45: Srini says:

    Try div#flexi-pages or just #flexi-pages instead of li#flexi-pages

  46. #46: anthony says:

    Thanks, #flexi-pages worked.

  47. #47: Jacob ask says:

    Great plugin. One thing I am trying to get does give me some troubles though. I use the “List sub-pages only in parent and related pages in hierarchy.” option, but would like the subpages to be shown without indent - but still be able to style them. Would it by possible to loose the nestled list (as for when you choose the option of listing without indent) but insteed add a class to the sub-page ’s to make them stylable via css?

    I can’t seem to find the relevant lines in the code - where to look?

  48. #48: Srini says:

    You can use the “List sub-pages only in parent and related pages in hierarchy” option and still have all the pages flat (without indent). You have to change the styling to have your pages listed that way. You will have to change the style.css file of the theme you are using. Contact me if you have no idea how to do this.

  49. #49: Jessica says:

    I am having some problems with this widget. When I mouse over the first link in the list of pages, it is pushing the div from another plugin down. The other plugin is a calendar plugin that is contained within a div. Please help….

  50. #50: Srini says:

    Are you sure there is a problem? Even if it is, it could be due to the styling and theme.

  51. #51: Ricky says:

    I’m sure it’s something simple, but I just can’t seem to do it. I installed and activated the widget, and it works perfect. The problem I have is, the widget is underneath everything else on my sidebar. Where or what file would I go about editting, to move the widget to the top of the sidebar? Thanks in advance.

  52. #52: Srini says:

    Ricky, go to WP admin -> Presentation -> Widgets and drag the ‘Flexi Pages’ box to the top of the sidebar. If the widget still remains in the bottom, you probably will have to edit the sidebar.php file of the theme you are using.

  53. #53: Ricky says:

    In the WP Admin -> Presentation -> Widgets section, flexi-pages is the only widget there. The theme I’m using has 3 columns, so a l_sidebar.php and a r_sidebar.php. I looked in those files, but can’t find anything that make reference to flexi-pages.

    Hmm.. when WP installs flexi-pages, what files besides sidebar.php does the widget modify?

  54. #54: Srini says:

    The widget doesn’t modify any file, but the theme you are using is probably designed in such a way that the widgets are pushed to the bottom. You will have to modify one of the sidebar files or both… contact the theme author, or drop me a line giving details about the theme, I’ll try to help you out.

  55. #55: vincent says:

    cool widget. thank you
    is it possible to open all the subpages at once? just not one level at a time?

  56. #56: Scott Supak says:

    Would be really cool if it didn’t show the home page link while on the home page…

  57. #57: Skitzo says:

    Hey Srini, Love this plugin, does exactly what I need, however, when using the “List sub-pages only in parent and in related pages in Heirarchy”. When you select a parent page that has sub-pages, The closing tag doesn’t show up until after the sub-page listing, so all of the subpages use the same highlighting as an active page becuase the sytle is tied to the tag.
    Is it a template issue, or just a minor bug?

  58. #58: Melissa says:

    I installed this and added the widget to my sidebar but I can’t seem to find the options. Should they be on the same widget admin page? Because they’re not. I’m running Wordpress 2.3.2

  59. #59: Steve says:

    Hey, I love this widget, just one question though, is it possible to make it so the page being viewed is bold/highlighted/italicized/etc in the menu?

  60. #60: Srini says:

    Sorry all, I couldn’t reply your queries earlier as I was away on a holiday last week. Let’s look at everything one by one.

    @Scott Supak: Thanks for the suggestion. I will make it that way in future versions.

    @Skitzo: It’s not a bug, just a styling issue. You have defined styling for .current-page-item a, but not for .current-page-item a a. So, the latter is inheriting the styling of the former. Contact me if you need further help with this.

    @Melissa: pease refer this.

    @Steve: The page being viewed will be classed as ‘current-page-item’, so in your stylesheet just add .current-page-item {font-weight:bold} or any styling you want.

    @vincent: Sorry I don’t understand. Please explain.

  61. #61: Greg Kedrovsky says:

    I installed WP and set everything up inside a /wp/ subdirectory off of root on my server. I did this to avoid everyone seeing my diddling around to get it all set up. I installed Flex-pages and really liked it, but when I moved my site to root (index.php and .htaccess up one directory level) now the option to “List sub-pages only in parent and related pages in hierarchy” does not work. I get the parent pages, but when clicked there are no child pages shown. When I tell flexipages to display all pages (indented, etc.), they show up fine.

    Help?

    Thanks.

    Greg

  62. #62: Greg Kedrovsky says:

    I moved my index.php and .htaccess files back down into the /wp/ subdirectory, and made all the necessary changes to “move WordPress”… and now Flexi-pages doesn’t work this way anymore (which is how I originally set it up).

    Greg

  63. #63: manuel aldana says:

    hi,

    plugin works so far. thanks (especially to the unfold option of subpages).

    one thing i do miss is the ordering of pages/and subpages. i would like to order by page order attribute of page. in plugin-configuration i cannot find this option. is it not provided or do i need to do something especial?

  64. #64: manuel aldana says:

    sorry, of course it exists (was confused by the naming of order-option).
    order option is called menu-order and orientates itself on the page order attribute.

  65. #65: manuel aldana says:

    is there a way to activate an folding/unfolding functionality? (clicking on parent page-link with sub-pages unfoldes sub-pages clicking again foldes it back).

    currenty only the unfold thing works. when wanting to fold it again i need to click on another link, instead of the same parent-page one.

  66. #66: Mattz says:

    Hi,

    This is are very great plugin ! Widgets are now finally very usefull.

    When do you think you will release a version where we can have multiple flexi widgets in our sidebar ?

    I’m now limited to one and I would like to have some more.

    Thanks for the great work.

  67. #67: Srini says:

    @manuel aldana: That’s a nice suggestion. I’ll consider this for a future version.

    @Mattz: Thanks for the suggestion. Multiple instances feature is requested by many, so the next version will definitely have that option.

  68. #68: Mattz says:

    Hi Srini,

    I don’t want to push you in any direction, but is there a timeschedule for this or do you have no idea yet how to accomplish the Multi-version ?

    Thanks.

  69. #69: Bram says:

    Hi Srini,

    Nice plugin. I’ve implemented it on the website for a client: http://www.caspervanette.com

    But there’s one option that would seem useful to me: If there’s no title given to the pages list in the widget admin it wuld be nice that the H2 tags are also omitted in the final output. These empty H2 tags give a headache in CSS styling for Internet Explorer. Bacause I.E. still reserves white space for these tags.

    For now, I hacked the plugin source:
    on line 88 of [flexi-pages-widget.php]
    [code]echo $before_widget . $before_title . $title . $after_title . “\n”;[/code]
    was replaced by:
    [code]echo $before_widget . $title . “\n”;[/code]

    Just wanted to mention it ;)

    Reply - http://www.caspervanette.com\r\n\r\nBut there\’s one option that would seem useful to me: If there\’s no title given to the pages list in the widget admin it wuld be nice that the H2 tags are also omitted in the final output. These empty H2 tags give a headache in CSS styling for Internet Explorer. Bacause I.E. still reserves white space for these tags. \r\n\r\nFor now, I hacked the plugin source:\r\non line 88 of &#91;flexi-pages-widget.php&#93; \r\n&#91;code&#93;echo $before_widget . $before_title . $title . $after_title . \"\n\";&#91;\/code&#93;\r\nwas replaced by:\r\n&#91;code&#93;echo $before_widget . $title . \"\n\";&#91;\/code&#93;\r\n\r\nJust wanted to mention it ;)’); return false;”>Quote
  70. #70: Mattz says:

    Hi Bram,

    Sorry, I don’t agree with you there. If you have a nice menu with other colored bars above it it’s not nice when you don’t see them if you want to.

    So an option to turn it off would be better ?

  71. #71: Skitzo says:

    Hi Srini, I sent you an email in regards to my previous request per your suggestion in the above post regarding the .current_page_item a vs .current_page_item a a css issue. Still no luck in fixing the problem and I hadn’t heard from you via email, so I thought I’d throw the question out here again to see if anyone else is having the same issue.

  72. #72: idearius says:

    Hi. Thanks for the plugin, Srini.

    Have you thought about making the Exclude section work the other way around, to Include pages?

    In the config screen, where the Exclude word is currently placed, you could fit a small a drop-down list to select between Exclude and Include, so as the user could choose to list all the current and future children of a selected page.

    IE: You select the Members page, and then all member-pages would be listed automatically. As of today, the user can exclude all the pages of a site, except the member-pages, but if an unrelated pages is added, it would be listed too, until the user expressly excludes it.

    Best regards.

    PS: I join the others regarding multiple flexi widgets, but as a second priority :-/

  73. #73: B.Asher says:

    Love the plugin!! Keep up the great work! One question, when you select a page to be excluded with the Plugin, what file does it actually change or where in the database does it save the pages to be excluded? I’d like to make pages excluded manually if possible.

    thanks!

  74. #74: Srini says:

    Skitzo, I did recieve your email, but couldn’t reply you as I was a little busy. I will see if I can solve your problem and then get back to you.

    @ idearius: I currently have no plans of including an ‘Include pages’ option, but what you suggest could be a pretty useful feature. I will see if this can be implemented easily. Thanks for the suggestion anyway.

    @ B.Asher: The exclude pages data is stored in the database table wp_options under the option name flexipages, array key ‘exclude’. But I recommend you not edit this manually unless you are very comfortable editing database tables.

  75. #75: Mattz says:

    Hi,

    Is there already some info about a Beta we can test ?

    We are willing to help I think ;)

  76. #76: calvin says:

    Great Plugin! I use in my site and i love it.

    Thank you very much for your work!

    Best regards.

  77. #77: Carter says:

    Hi, Is there a custom level number that allows me to show only the parent and sibling pages related to the page being displayed (or children pages if it is a parent page)?

  78. #78: Srini says:

    Mattz, did you recieve the email I sent you? Anyway, the next version will be out pretty soon!

    calvin, thanks very much. :)

    Carter, there is no custom level number for what you mention. It’s pretty complex coding for this condition, and I currently have no plans for this.

  79. #79: Berend says:

    styling the .current-page-item does not work here.
    Added the following code to my CSS.

    .current-page-item {
    font-weight:bold;
    color: #DB0000;
    }
    Indenting child pages with:

    li#flexi-pages ul ul {
    margin-left:10px;
    }
    works correct.

  80. #80: ScorpAL says:

    Hi!
    Thanks for update.

    I realy need feature for Multiple instances of the widget.

    :)

  81. #81: voodoo says:

    Hi !
    Great widget, but i’ve got problems with multiple instances. i’ve two sidebars ,each with one widget as navigation. when i click on a page on the left side pages on the right side will unfold, too. strange. how can i fix it ?

  82. #82: Srini says:

    voodoo, no matter on which instance you click, the list will expand if the page has sub-pages (if you’ve selected the “List sub-pages only in parent and related pages in the hierarchy”, that is). That’s how the plugin is designed. I suggest you use a different option for depth or a custom depth number for one of the instances.

    If the above explanation doesn’t answer your question, please elaborate on your problem. Also provide a link to your website if possible so that I can see what it is for myself.

  83. #83: voodoo says:

    hi srini,
    thanks for your quick reply :-)
    sorry, my site is at the moment offline. i try to give another example:
    i’m using wp v2.3.3, a three column theme with two instances of your nice widget installed. it looks like this:

    [left sidebar] [content] [rigth sidebar]

    page01 page02
    - subpage01 -subpage02

    if i click on page01 then page02 on the right unfolds, too.but page02 got no relation with page01.

    i’m using include and “List sub-pages only in parent and related pages in the hierarchy”

    thanks again,

    voodoo

  84. #84: voodoo says:

    page02 is located under [right sidebar], sorry

  85. #85: ScorpAL says:

    Hi…
    I found a some bug.

    Sorry, my English is not very good, bu