Answers.Body: <p>I think you're looking for the <code>getSiblings()</code> method. This will return all sibling entries for the current entry. You can also use <code>getParent()</code> to get the parent entry and <code>getChildren()</code> to get the entries child entries.</p>
  
  <p>An example implementation is below:</p>
  
  <pre><code>{% set siblings = entry.getSiblings() %}
  {% set parent = entry.getParent() %}
  {% set children = entry.getChildren() %}
  
  {% if parent|length %}
    &lt;h2&gt;Parent&lt;/h2&gt;
    &lt;p&gt;{{ parent.title }}&lt;/p&gt;
  {% endif %}
  
  {% if siblings|length %}
    &lt;h2&gt;Siblings&lt;/h2&gt;
    {% for entry in siblings %}
      &lt;p&gt;{{ entry.title }}&lt;/p&gt;
    {% endfor %}
  {% endif %}
  
  {% if children|length %}
    &lt;h2&gt;Children&lt;/h2&gt;
    {% for entry in children %}
      &lt;p&gt;{{ entry.title }}&lt;/p&gt;
    {% endfor %}
  {% endif %}
  </code></pre>
  
  <p>More info on these methods can be found in the <a href="https://craftcms.com/docs/templating/entrymodel#getSiblings" rel="nofollow">EntryModel documentation</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-05-20T10:31:09.567Z
Answers.LastActivityDate: 2016-05-20T10:31:09.567Z
Answers.UserDisplayName: Luke Pearce
Body: <p>When I view a entry that's belong to a small group of children with a parent assigned. When I view the child, I want to display list all children that the child assigned to? </p>
  
  <p>Is there anyway to achieve this method?</p>
  
Tags: <templating>
Title: Show active parent's listed children when viewing it children
ThreadText: # Show active parent's listed children when viewing it children
  
  (Asked by: username_0 on 2016-05-20)
  
  When I view a entry that's belong to a small group of children with a parent assigned. When I view the child, I want to display list all children that the child assigned to?
  
  Is there anyway to achieve this method?
  
  **Tags:** templating
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-05-20. Score: 3 | Accepted answer
  
  I think you're looking for the `getSiblings()` method. This will return all sibling entries for the current entry. You can also use `getParent()` to get the parent entry and `getChildren()` to get the entries child entries.
  
  An example implementation is below:
  
  ```
  {% set siblings = entry.getSiblings() %}
  {% set parent = entry.getParent() %}
  {% set children = entry.getChildren() %}
  
  {% if parent|length %}
    <h2>Parent</h2>
    <p>{{ parent.title }}</p>
  {% endif %}
  
  {% if siblings|length %}
    <h2>Siblings</h2>
    {% for entry in siblings %}
      <p>{{ entry.title }}</p>
    {% endfor %}
  {% endif %}
  
  {% if children|length %}
    <h2>Children</h2>
    {% for entry in children %}
      <p>{{ entry.title }}</p>
    {% endfor %}
  {% endif %}
  
  ```
  
  More info on these methods can be found in the [EntryModel documentation](https://craftcms.com/docs/templating/entrymodel#getSiblings).
  
  
  ---
  
  