I have a Structure that has the URL setup like this..
Top-Level Entries - {slug}
Nested Entries - {parent.uri}/{slug}
How do I list all entries that have the same segment1 of their URL as to what is on the current page the user is on.
i.e if I am on page http://example.com/vacation
I want to list all structure entries that have 'vacation' as the first segment of the URL.
i.e
/vacation/snow
/vacation/coastal
but it would not show any entries from the structure that are like this:
/advice/what-to-bring
/advice/weather-warnings
/contact
So basically I want to do this...
if segment1 = entry url segment1 display entries.