I'm having trouble retrieving the child pages when giving the parent id.

        {exp:playa:children channel="patient-services" entry_id="422"}

This yields no results. In the CP, I have several pages with a 'Obstetrics' as the parent (which has id 422). Hopefully the attached images will show what I'm trying to do. I know this would work better in Structure, but this site wasn't planned well.

enter image description here enter image description here


2 Answers 2


Here are some ideas:

  • Add the field="" or field_id="" parameters.

  • Do the children entries have a custom status set? If yes, you'll need to specify it with status="" parameter.

  • Check the entry dates for the child entries. Is the entry date in the future? Is an expiration date set that is causing the entries not to show?

  • Try removing the channel="" parameter and leave the entry_id="422".

  • Confirm channel="patient-services" is correct.

  • No custom status or expiration dates set on child entries; tried removing channel, confirmed channel is correct. I've never used Playa to relate entries from the same channel to each other this way - is something else missing?
    – 4midori
    Dec 21, 2012 at 2:22
  • Try the field="" or field_id="" parameters. The details are in the docs... but field="" would contain the shortname of the Playa field. or field_id would be the field ID number.
    – Anna_MediaGirl
    Dec 21, 2012 at 5:47

In your screenshot, “Obstetrics” is actually the child, not the parent, yet in your template code, you’re trying to pull in the children of Obstetrics. That {exp:playa:children} tag pair would only pull in entries if Obstetrics had its own Playa fields with their own related entries.

If you want to see all of the entries that are relating the Obstetrics entry via their own Playa fields, you need to use {exp:playa:parents}, not {exp:playa:children}.

  • Thanks Brandon. I decided to move this to Structure because the client needs a more hierarchical setup.
    – 4midori
    Dec 31, 2012 at 5:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.