Take the tour ×  I'm setting up an events page in a wordpress
site I'm building.  Let's take a look at the page menu
hierarchy:  First of all there is a Events landing page. It will
display four regions where events are held. Inside the region
are the events.  Menu example  This page is working as intended.
The problem arrises when you click through to these pages and
what is now shown.  When you click through to a region, I want a
list of the events in that specific region to be shown. For
example if you are on the page of region 2, I want all the
events in region 2 listed.  I've made sure I've set this up
correctly in the backend, with parent pages and such.  I'm using
an example taken from the codex of wp_list_pages and I have
created a new events template and created a new sidebar for the
events template. I have added this within the sidebar of the
events template (sorry a bit of a mouthful!):     $children = wp
_list_pages("title_li=&child_of=".$post->ID."&echo=0&depth=1");
if ($children) { ?> <ul class="