<p>Ignoring the obvious "use a Structure" answer, I suppose you could fake a "hierarchy" by placing a <code>child</code> and <code>parent</code> entry field on each of your Single sections and manually assigning entries as relationships.</p>

<p>Then your Twig template could would just be checking those fields and building the family tree based on the relationships.</p>

CC BY-SA 3.0
2016-02-10T08:38:33.167Z
That's an idea.  Can you share how you would use Structures for like child pages that are all like single one-off pages that each have different template/layout? (same comment I posted above)
biko
CC BY-SA 3.0
2016-02-09T18:07:45.567Z
2016-02-09T18:07:45.567Z
Brad Bell
<p>Take a look into <strong>Entry Types</strong>, I'm pretty sure that's a much better way to handle what you're trying to achieve:</p>

<blockquote>
  <p><a href="https://craftcms.com/features/entry-types" rel="nofollow">https://craftcms.com/features/entry-types</a></p>
</blockquote>

<p>So you'd have a Structure section (let's call it "Pages"), and within that Structure you have multiple Entry Types. You could have a distinct Entry Type for each page type ("About", "Contact", etc).</p>

<p>Once you've got that, it's easy to serve up different templates for each Entry Type:</p>

<blockquote>
  <p><a href="https://craftcms.com/support/entry-type-templates" rel="nofollow">https://craftcms.com/support/entry-type-templates</a></p>
</blockquote>

CC BY-SA 3.0
2016-02-12T06:58:06.943Z
Thanks for this.  This seems the most logical and least hacky solution!
biko
CC BY-SA 3.0
2016-02-10T23:10:40.123Z
2016-02-10T23:10:40.123Z
Lindsey D
<p>I'm trying to create parent/child Single sections without using Structures.  So in other words, create a Single section and assign it a parent Single section.  Is this possible?</p>

CC BY-SA 3.0
2016-02-09T04:19:01.710Z
Why? The short answer is "no, that's not possible"... because that's what Structures are for.
Lindsey D
CC BY-SA 3.0
2016-02-10T08:37:13.527Z
How would you use Structures for like child pages that are all like single one-off pages that each have different template/layout?
biko
CC BY-SA 3.0
2016-02-10T23:12:59.363Z
Just added an answer, which I think addresses the heart of the issue.
Lindsey D
<structure><sections><singles>
Parent/child Single sections
# Parent/child Single sections

(Asked by: username_0 on 2016-02-09)

I'm trying to create parent/child Single sections without using Structures. So in other words, create a Single section and assign it a parent Single section. Is this possible?

**Tags:** structure, sections, singles
> **Comments:**
> **username_1**: Why? The short answer is "no, that's not possible"... because that's what Structures are for.  
> **username_0**: How would you use Structures for like child pages that are all like single one-off pages that each have different template/layout?  
> **username_1**: Just added an answer, which I think addresses the heart of the issue.  

---

## 2 answers

### Answer by username_1 on 2016-02-10. Score: 4 | Accepted answer

Take a look into **Entry Types**, I'm pretty sure that's a much better way to handle what you're trying to achieve:

> <https://craftcms.com/features/entry-types>

So you'd have a Structure section (let's call it "Pages"), and within that Structure you have multiple Entry Types. You could have a distinct Entry Type for each page type ("About", "Contact", etc).

Once you've got that, it's easy to serve up different templates for each Entry Type:

> <https://craftcms.com/support/entry-type-templates>

> **Comments:**
> **username_0**: Thanks for this.  This seems the most logical and least hacky solution!  

---

### Answer by username_2 on 2016-02-09. Score: 4

Ignoring the obvious "use a Structure" answer, I suppose you could fake a "hierarchy" by placing a `child` and `parent` entry field on each of your Single sections and manually assigning entries as relationships.

Then your Twig template could would just be checking those fields and building the family tree based on the relationships.

> **Comments:**
> **username_0**: That's an idea.  Can you share how you would use Structures for like child pages that are all like single one-off pages that each have different template/layout? (same comment I posted above)  

---

