Engineering Week

Good work from our Junior Engineers - thanks to Robert Buckle for visiting us this week get_results("SELECT * FROM $wpdb->posts WHERE post_parent = ".$post->ID." AND post_type = 'page' ORDER BY post_date DESC", 'OBJECT'); if ( $child_pages ) : foreach ( $child_pages as $pageChild ) : setup_postdata( $pageChild ); $thumbnail = get_the_post_thumbnail($pageChild->ID, 'thumbnail'); $date = explode(" ", $pageChild->post_date); if($thumbnail == "") continue; // Skip pages without a thumbnail ?>