ID."&sort_column=menu_order"); if ($pagekids) { $firstchild = $pagekids[0]; wp_redirect(get_permalink($firstchild->ID)); } } } get_header(); get_template_part("template-parts/breadcrumbs"); ?>