• gambit37

    (@gambit37)


    Great idea for a plugin, but it has a fundamental flaw: it breaks page/sub page connections. Instead of creating the expected structure:

    <ul>
    <li>One
      <ul>
        <li>One sub</li>
      <ul>
    </li>
    <li>Two</li>
    </ul>

    it generates this:

    <ul>
     <li>One</li>
     <li>Two</li>
     <li>One sub</li>
    </ul>

    I guess this is by design, and not a bug? I wonder if it can be improved, so that it replicates the standard behaviour of wp_list_pages and nested lists?

    https://www.ads-software.com/extend/plugins/page-lists-plus/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Technokinetics

    (@technokinetics)

    I’ve used Page Lists Plus on a number of sites with nested lists without seeing this problem, and at the moment I’m struggling to replicate the error.

    If anyone else has seen this, or has used PLP with nested lists without seeing this, then it would really be useful for me to know. A link to a site showing the problem would be even more helpful.

    Thanks.

    – Tim

    Thread Starter gambit37

    (@gambit37)

    Hi Tim, I sent you an email about this: The problem is actually when you hide a Page from the navigation, if it has any child pages they will be displayed at the end of the list, since their parent is now “missing”.

    Can you make it so that child pages get hidden also, or add some kind of option to toggle this behaviour?

    Technokinetics

    (@technokinetics)

    Thanks; now I see what you’d like changed. I agree that it would be better to hide the children of hidden Pages, and that’s what the next release will do.

    – Tim

    Thread Starter gambit37

    (@gambit37)

    Great, thanks for looking into it ??

    Just an update: As of v1.1.2, PLP’s default behaviour is to exclude the descendants of excluded Pages. This should work better for most users, but can be disabled (through the “Exclude children of excluded pages” option on the Settings > Page Lists Plus page in the dashboard) if need be.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Page Lists Plus] Breaks nested lists’ is closed to new replies.