• Resolved Sea Jay

    (@jcollier)


    I use your plugin for all page listing — except for one thing.

    I sometimes need to create a listing of subpages from a hierarchy, but only 1 level of depth, not subpages below that.

    Is there a way to do that with this plugin? (I am currently using Page List, but would prefer to use yours for this, as well. For reference:)

    https://wordpress.org/plugins/page-list/#other_notes

    depth – how many levels in the hierarchy of pages are to be included in the list: [pagelist depth=”3″]; by default depth is unlimited (depth=”0″); Displays pages at any depth and arranges them in a flat list: [pagelist depth=”-1″];

    If not available now, perhaps a future version?

    With much appreciation,

    -Jay

Viewing 1 replies (of 1 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    Thanks for the request.

    Display Posts includes a post_parent parameter that (I believe) accomplishes what you want.

    Example: [display-posts post_type=”page” post_parent=”8″]

    That should list pages that are direct descendants of the page with an ID = 8.

Viewing 1 replies (of 1 total)

The topic ‘Request: List depth’ is closed to new replies.