Need example of using parent
-
Okay, I’m missing something simple, but I let it rest for a day and still can’t figure it out.
I put the following code on a page that has a few child pages:
[loop parent=”this”]
[field title]
[/loop]Only the first child is listed. I’ve tried deleting the quotes around this and changing “this” to the ID of the page, but neither helps.
I’ve tried an example where the child pages don’t have any children themselves (thinking maybe the grandchildren were causing a problem), still just one page shows in that loop.
Can you give me an example of the code I should use to list the children nof the current page (and grandchildren?).
The plugin is working like a champ in other areas of the site and I’d hate to resort to hard coding (or my own code) for this relatively simple bit.
- The topic ‘Need example of using parent’ is closed to new replies.