• Doobeedoo

    (@doobeedoo)


    Hello,

    With GenerateBlocks Query Loop, when I select post type = “Pages”, parent = “Current post”, it is also showing the child pages of the current page child pages.

    Can you add an option to show only the direct children?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support ying

    (@yingscarlett)

    Hi there,

    feel free to add your feature request here: https://feedback.generateblocks.com/

    we will be reviewing them periodically ??

    Thread Starter Doobeedoo

    (@doobeedoo)

    Hello Ying,

    Thank you for your answer

    I posted it here as you asked: https://feedback.generateblocks.com/47

    By the way, I’m not sure it’s a “new feature request”, it’s more some basic WordPress that a Query Loop should be able to manage natively ??

    Plugin Support ying

    (@yingscarlett)

    Does WP’s query loop block has this feature? If not, then it’s something basic ??

    Thread Starter Doobeedoo

    (@doobeedoo)

    Unfortunately, WP is 10 years late on its own software …
    but pages with parent/child and posts with categories/tags are the basic foundations of WP, yes!

    Plugin Support David

    (@diggeddy)

    Hi there,

    that option passes the 'post_parent' parameter into the query loop args.
    Which is the core function for returning Child Pages of the specified Parent ID.

    Here i have a basic setup where i have a parent , 2 children and 1 grand child
    And the resulting the query loop on a parent page only returns the 2 children:

    https://app.screencast.com/oJ6gvTQvDzJO5

    So for me the query loop is returning just the child pages as expected.
    If its not for you then i assume there is some other parameters affecting the query.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.