WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Flexi Pages] Parent + Children (1 post)

  1. doubleedesign
    Member
    Posted 2 years ago #

    I would like to use the FlexiPages plugin (or something similar, if anyone has any suggestions!) to show one top-level page and all its sub-pages, with any new sub-pages that are added to the site added to the FlexiPages menu automatically.

    As far as I've worked out, this can't be achieved using the widget, so I'm trying to use the template tags. I've been able to achieve one or the other - show the top-level page, or show the sub-pages, never both.

    The top-level page has an ID of 18. At the moment I have the following code in my template:
    flexipages('show_subpages=1&child_of=18&dropdown=1');
    This shows the sub-pages successfully.

    But then if I add include=18, the sub-pages disappear and only the top-level page shows up. Any suggestions would be most appreciated, as I really want the top-level page to be the default that shows up in the selectbox before the user goes to use it.

Topic Closed

This topic has been closed to new replies.

About this Topic