Skip to content

Instantly share code, notes, and snippets.

@objectivehtml
Created November 12, 2012 18:24
Show Gist options
  • Select an option

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

Select an option

Save objectivehtml/4060981 to your computer and use it in GitHub Desktop.
<ul>
{exp:assigned_entries
channel="some-channel"
assigned_entry_id="X"
prefix="var"
}
<li><a href="{var:url_title}">{var:title}</a></li>
{/exp:assigned_entries}
</ul>
// This would grab all the entries from "some-channel" that shared the same categories as the entry with an id of "X"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment