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 2659 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

147 Comments

  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. felipe says:

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

    http://ustedes.net/portfolio

    thanks!

  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. 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. 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. sec says:

    Missed it. Thanks.

  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. 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. Srini says:

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

  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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. Srini says:

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

  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. 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. 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. 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. dragon says:

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

  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. dragon says:

    I use 2.1.3

  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. 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. Srini says:

    Thanks Michael, I will definitely consider your suggestion.

  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. 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. NK13 says:

    Thanks Srini!

    :)

  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. Srini says:

    Aine, try this,

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

  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. 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. 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. 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. Rachael says:

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

  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. 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. 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. Srini says:

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

  46. anthony says:

    Thanks, #flexi-pages worked.

  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. 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. 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. Srini says:

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

  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. 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. 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. 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. vincent says:

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

  56. Scott Supak says:

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

  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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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. 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 ;)

  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. 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. 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. 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. 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. Mattz says:

    Hi,

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

    We are willing to help I think ;)

  76. calvin says:

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

    Thank you very much for your work!

    Best regards.

  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. 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. 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. ScorpAL says:

    Hi!
    Thanks for update.

    I realy need feature for Multiple instances of the widget.

    :)

  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. 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. 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. voodoo says:

    page02 is located under [right sidebar], sorry

  85. ScorpAL says:

    Hi…
    I found a some bug.

    Sorry, my English is not very good, but I try explain.

    I use Flexi Pages Widget 1.3 and My Page Order 2.2 plugin (http://geekyweekly.com/mypageorder) for simple ordering pages.
    When I order pages with My Page Order 2.2 plugin I have not seen new ordering on my pages with Flexi Pages Widget.
    But in settings of Flexi Pages Widget I have SORT BY: MENU ORDER ASC. And if you look at pages list (Exclude list) at widget setting you can see that you pages ordered right that you want.
    That is strange.

    For applying new pages order I need:

    1. go to Presentation > Widgets
    2. open setting for instance of Flexi Pages Widget and change ASC to DESC
    3. Save new settings for widgets
    4. again open setting for instance of Flexi Pages Widget and change DESC to ASC
    5. Save new settings for widgets again.

    Only after that steps I have new pages order at Flexi Pages Widget.

    I dont know… That is bug or not…

  86. voodoo says:

    yeees !!! it works !!! i changed include to exclude & finally everything is fine ! thx for this excellent widget !

  87. Srini says:

    voodoo, I’m glad it now works for you. Anyway, I will do some more testing with multi sidebar theme and see if everything is okay with the plugin.

    ScorpAL, I checked it and the Flexi Pages widget with the default options seems to work nicely along with the Page Order plugin. Are you sure there is a problem?

  88. ScorpAL says:

    Srini,
    Yep, I am sure.
    I was try it again now.

    Ouch… I try expecting this problem more detailed.
    I have this bug only when CACHE ENABLED in my wp-config.php

  89. Srini says:

    ScorpAL, it’s not a bug. As you have the cache enabled, the settings doesn’t take effect immediately after you change the order with the sort order plugin. It’s pretty normal… I hope the plugin works correctly otherwise.

  90. voodoo says:

    Hi Srini,

    i’m abit confused. which code must i changed to put a “-” in front of the child ? right now it looks like:

    parent
    child

    i want:

    part
    -child

    thanks again,

    voodoo

  91. Srini says:

    voodoo, it has more to do with the theme you are using. Place the following code in style.css of your theme and check with firefox (may not work with IE).

    
    .flexipages_widget ul ul li:before {
      content:"\002D \0020";
    }
    

    Before that, make sure you have not selected the ‘no-indent’ option in the flexipages widget controls.

  92. Laurent Duretz says:

    Hi,

    Thanks for your plugin which fully responds my needs.

    It works fine on my home test site but doesn’t works correctly on the external hosted web site (duretz.net).

    WP version is 2.3.3, plugin version is 1.3.

    I change the theme, deactivate the other plugins, play with the parameters but the behaviour is always the same : only top level pages are listed in the box.

    My wp_config.php doesn’t talk about cache.

    Where could be my error ?

  93. laurent duretz says:

    Hello,

    I confirm a bug due to $post usage out of the Loop in function flexipages_currpage_hierarchy().

    $post point on different posts if flexi widget is placed before or after recent post widget in the sidebar.

    I’m looking for a correction but I don’t know how tho get the post id of the current page.

    Regards,

    Laurent

  94. Srini says:

    Hi Laurentz, thank you very much for reporting the bug. Just as you said, it’s due to $post usage out of the WP loop. It’s a tricky issue to solve, hopefully it doesn’t take much time. I’ll post an update of the plugin as soon as I solve this problem. Meanwhile, if you can come up with a solution for this please let us know here.

    Thanks again for your feedback!

  95. Alex says:

    I have problem with this code: li#flexi-pages ul ul {margin-left:10px;}, after upgrade to flexi 1.3 it’s not working anymore, I tried .flexipages_widget ul ul {margin-left:10px;}, but it has no effect. For example .flexipages_widget ul li {font-weight:bold;} it’ working great.

  96. laurent duretz says:

    Hi Srini,
    Thanks for your new release.

  97. Diana says:

    You are an absolute genius!!! This is EXACTLY what I needed. I’ve been struggling with this for days and was about to write something totally from scratch. I am so glad I managed to find your plugin. Thank you!!!

  98. Srini says:

    I’m glad the plugin has been useful to you. :)

  99. Angela Harms says:

    I love this widget! Thanks. :)

    I try following the style instructions above, and nothing happens. Tried changing to #li flexi-pages-1 too, and it didn’t help. Any ideas? I’m puzzled.

  100. Srini says:

    Angela, try .flexipages_widget ul li

  101. jimg says:

    Great widget!

    Noticing an error with 1.4 with the Mistylook template with a static homepage on wp 2.5:

    Config: Exclude pages with “list sub pages only in parent and related pages in hierarchy” all parent pages excluded, leaving sub-pages visible.

    Problems are as follows:

    1) On all parent pages the following code snippet is inserted, breaks w3c validation, and produces the top of an empty stylized box:

    [code]


    [/code]

    2) regardless of configuration, the sidebar appears on the post homepage - even when specified not to. Could be because site has static homepage.

    I’d be happy to provide the url if you’d like to see.

  102. Srini says:

    jimg, your code has been filtered out, but anyway, I’ll check up the widget with Mistylook and will fix the problem. Thanks for your inputs.

  103. Angela Harms says:

    Thanks, Srini. Unfortunately, it still seems to have no effect. Still love the widget, though! :)

  104. jimg says:

    Ok,

    here is the code snippent i was referring to:

    changing the < to (….

    (code)
    (li class=”sidebox”)(ul)
    (/ul)
    (/li)
    (/code)

  105. Mattz says:

    I try to put some CSS code around each but this doesn’t seem to work out.

    The in the code works, and I can wrap a div around this one, what about the that is in the ? The that is shown in the flexipages file does not seem to work.

  106. Mattz says:

    At the moment I have something going, I only would like to remove the point in front of the LI’s.

    Anyone a good idea ?

  107. Marglar says:

    Hi. I REALLY like this plugin but am having a very hard time figuring out how to style it.

    I’ve added:
    .flexipages_widget ul li {
    width:175px;
    margin-left:-20px;
    list-style:none;
    }
    But it still gives the first item a bullet. Do you happen to have a full example of styling the widgets?

    Thanks

  108. Shane says:

    Hi! When I activate this plug-in & then go to Design > Widgets, I can select the number of flexi-page widgets I’d like, and click the “save” button…but none of the other dropdown lists on the page work. (I can’t select sidebar2, so that I can place the widget there!)

    Anyone else experiencing this??

    Thanks!

    Shane

  109. chris says:

    first off, dandy plug-in!

    is there any easy way to not display the title if there are no sub-pages to list?

    i would like to use this for sub-pages only so i have excluded all top-level parent pages and used the list sub-pages only option.

    the thing is i do have some pages without sub-pages and for these pages it still displays the title without any pages to list.

    thanks!

  110. Srini says:

    Marglar, styling largely depends on the theme you are using. It’s very difficult to have a styling guide that fits all the themes. I think you gotta experiment a lot more :) … look up http://www.w3schools.com/css/css_reference.asp for help.

    Shane, no idea why this happens. :?

    chris, let me answer you a little later.

  111. chris says:

    thanks Srini, looking forward to hearing from you. cheers!

  112. Kristian says:

    Great Plug-In! :)
    But there seems to be a problem when I Include pages. If I use Exclude, everything works fine, but the otherway around the sub-pages wont show. A simple soution would be to just use the Exclude function, but when using the Plug-in “Private Post” I need to be able to include pages, when the to plug-ins does not work very well together..

  113. hunter says:

    Hello Srini,
    I have been searching a long time for a way to build a system in the quite complicated web-structure which I am using. Your widget helped me a lot, thank you! Unfortunately I have encountered a problem and I wasn’t able to solve it although I spend a few days with it.

    I’m using flexi – pages in a three-column template. Your widget is placed in the left sidebar right three times below for different page themes. The problem is that, if I click in one widget on any page, a structure of sub –pages unrolls. But the structure of the sub-pages unrolls in the other two widgets too; in fact the whole structure of all three widgets unrolls. And I want to unroll only the sub-pages under the page on which I clicked. I hope that I explained it understandable. If you know how to solve this problem please let me know, I will be very grateful to you.

    Thank you and greetings

  114. Srini says:

    jimg, chris and Kristian, the issues are resolved now in 1.4.1

    hunter, I have tested the plugin extensively with 3col themes and it seems to work perfectly. It would be helpful if you can provide details of your page structure and the options you select for the different instances of the widget you use. It would also be good if you can provide a link to the site where you are using the plugin, or at least a screenshot. You can contact me or email me, the address is this domain at gmail.com.

  115. Esther says:

    Hi Srini,
    thank you for one of the most useful plugins! However, after upgrading to the latest version one page was not displayed anymore. I have flexipages set to custom depth level 2 and want to include the top level pages of a certain category only. For some reason one of those top level pages was not displayed anymore (I repeatedly tried to include it to no avail). After downgrading to the latest version everything is now working fine again. Any idea what the reason could be?
    Keep up the good work … great plugin!
    Thanks,
    Esther

  116. Srini says:

    Esther, thanks for the feedback.

    All top level pages should be displayed for level 2 unless excluded. Is there anything special, anything different about the page that’s left out? If the older version works well for you, you can continue with that, but if you can provide more details about the page structure and the options you have selected, I will try and find out if there is a defect with the plugin. You can contact me or email me, the address is this domain at gmail.com.

  117. Dheer says:

    Hi Srini,

    I really like this plugin and was attempting to use your code to create a similar widget for tag clouds (basically passing args for wp_tag_cloud()). Unfortunately my experience with plugins is not too good and was hoping to know if it would be possible for you to help create such a plugin.

    In my case I have over 300 tags and I am attempting to only include a few tags to display in the form of a list (type=list).

    Do let me know if a solution may be possible or is you could set me off in the right direction.

    Regards,
    Dheer

  118. Sue says:

    Thanks for this plugin. It was just what my site was needing. I no longer have a long list of articles showing on every page of the site. The list only shows on the articles parent page. Very nice! It also is playing nicely with my Amazon aStore. It’s not interfering with the navigation within the store. Thank you again!

  119. Srini says:

    Dheer, let me know exactly in which part you need my help. You can contact me. I’ll see how we can get it from there.

    Sue, thanks for using the plugin. I’m glad you like it.

  120. Chris Dohman says:

    Thanks for the quick update Srini, works like a charm!

  121. Carina says:

    Hi Srini, first I’d like to thank you for creating such a useful plugin for us. I’m trying to put it to use in a more CMS like site but ran across a problem which I cannot figure out. My template uses a menu bar in the header, so naturally I have to limit the pages that get displayed there. All pages I don’t want to show up, usually child pages, have to be excluded from navigation. I use the Page Link Manager plugin for this task. But in the sidebar, where I would like to have a navigation structure that includes the sub-pages I just cannot get them to show up anymore. Is there an easy workaround for this problem?
    Thanks much!
    Carina

  122. Srini says:

    Hi Carina. I’m not sure if Page Link Manager plugin will work along with flexi pages widget. I suggest that you use wp_list_pages template function in the header for the menu bar. Put the code <?php wp_list_pages('depth=1&title_li='); ?> in the header.php file wherever you want the menu bar to appear and deactivate the Page Link Manager plugin. This is the solution I can think of now, but did I understand your problem first of all? :|

  123. Carina says:

    Thanks for the tip, this worked fine. Now I just need to organize my structure a bit which is a good idea anyway. Finanlly I can put your plugin to good use. Thanks so much!

  124. Cormac says:

    Fantastic! Exactly what I was looking for. Many thanks.

  125. blackproof says:

    good plugin but i wanted to ask you weather you could just add a funstion where the pages are listed and all collapse and expand with a click that would make plugin look more good and occupy much space
    using jquery i think so

  126. Not A Niche says:

    Hey Srini,

    your plugin is fantastic and I use it for a long time already. Is it possible to implement accordion functionality in this plugin. Like to one of dezinerfolio
    http://www.dezinerfolio.com/2007/07/19/simple-javascript-accordions/?cp=all#comments

    That would be really great.

    Thanks for your great work!