Content Elements Tags

If you want to use a Playa field within Content Elements, use the following template:

{playa}
   <ul>
      {children}
         <li>{title}</li>
      {/children}
   </ul>
{/playa}

Tag Parameters

The primary tag pair supports almost all of {exp:channel:entries}tag parameters, as well as the following:

child_id
The child entry ID(s) to include. Prefix with “not” to define entries to exclude instead.

Note: Playa sets the disable tag parameter to “categories|category_fields|member_data|pagination” by default. So if you want to display categories, member data, or pagination tags in your Playa tag pair, you’ll need to override that parameter.

Variable Tags

The primary tag pair supports almost all of {exp:channel:entries}conditional variables, single variables, and variable pairs, as well as the following:

{if no_children} ... {/if}
Outputs the contents only when there are no child entries returned.