Targeting entries in a structure In a structure like the following:

Offices             US          Albuquerque
[offices]                       Boston
                                Chicago
                                Denver

                    Mexico      Acapulco
                                Buenavista
                                Chihuahua

                    Canada      Ajax
                                Brampton


writing this code on the offices overview page

{% for entry in craft.entries.section('offices') %}

&lt;h2&gt;{{ entry.title }}&lt;/h2&gt;

{% endfor %}


gives me an output of everything in the whole structure

when writing:

{% for entry in craft.entries.section('offices').level(1) %}

&lt;h2&gt;{{ entry.title }}&lt;/h2&gt;

{% endfor %}


I get the title from the entry in the first level.

But how do i target a specific entry in the structure?
Let's say only Albuquerque, Chicago &amp; Chihuahua?

I looked around but can't seem to find anything in the docs about that. Who can point me in the right direction?
To get a specific entry you need to know the id or slug of the entry. If the slug for Chicago is "chicago" (you find the slug in the side panel of the entry edit screen), you can get it like this:

{% set chicagoEntry = craft.entries.slug('chicago') %}


But hardcoding slugs and id's into templates is rarely a good idea. If you explain a bit more what you're trying to achieve, maybe we can provide a more helpful answer.

If you're trying to turn the structure into a menu of sorts, have a look at the documentation for the {% nav %} function, it was made specifically for this.