Child page from 2 different parent pages

Like AmbitiousAmoeba mentioned, you’ll need to perform a few get_pages calls to lookup the pages for each child, merge the results together, and iterate over those results. I worked up an example for you, because it’s fiddly trying to merge arrays when they have matching indexes, the only thing you should need modify are the … Read more

Guidelines for adding static pages

The WordPress Dashboard comes with separate sections for Edit Posts (your new News & Blog pages) and Edit Pages. The latter is for your current static content. Styling of the frontend (what the visitor sees) can be done in the stylesheet file. You would only need custom Page templates if you want the Pages to … Read more

Check to see if page exists problems

Why are you comparing $post->post_name to $this->title? You should be comparing slug to slug. Try changing your comparison from this: if( strtolower( $page->post_name ) == strtolower( $this->title ) ) …to this: if( strtolower( $page->post_name ) == strtolower( $this->slug ) ) Also, I might suggest keeping with the WordPress object conventions with your dynamically created pages, … Read more