Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created December 4, 2012 23:02
Show Gist options
  • Select an option

  • Save objectivehtml/4210032 to your computer and use it in GitHub Desktop.

Select an option

Save objectivehtml/4210032 to your computer and use it in GitHub Desktop.
Unlimited nested channel entries
{exp:entries:get
channel="events"
}
{title}<br>
{exp:entries:get:1
entry_id="{entry_id}"
channel="events"
prefix="1:"
}
<h2>{1:title}</h2>
{exp:entries:get:2
entry_id="8"
prefix="2:"
}
<h2>{2:title}</h2>
{/exp:entries:get:2}
{/exp:entries:get:1}
{/exp:entries:get}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment