Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter mockingbirdAlex

    (@mockingbirdalex)

    I actually have a follow-up question. I’m currently displaying all my pages with two nested loops as follows:


    [loop type=”page” clean=”true” list=”true” exclude=”children”]
    [field title-link]
    [-loop parent=”this” clean=”true” list=”true”]
    [field title-link]
    [/-loop]
    [/loop]

    However, this creates whitespace between each bullet point. It appears the space occurs because I am entering the second loop on every bullet point, even if there are no children. Is there a way to check if a given page is a parent before going into the loop, or remove this whitespace another way?

    Thread Starter mockingbirdAlex

    (@mockingbirdalex)

    Thank you for the response. I think I aimed a little too high making something fancy when it didn’t need to be so I’ll just keep children in my list.

Viewing 2 replies - 1 through 2 (of 2 total)