\n" . "\n" . '

01 23 45 67 89

' . "\n" . "\n" . "\n" . "
\n" . "\n" . '
Shop Desks
' . "\n" . "\n" . "
\n" . ""; $headerPartId = wp_insert_post([ 'post_type' => 'wp_template_part', 'post_status' => 'publish', 'post_name' => 'header', 'post_title' => 'Header', 'post_content' => $headerContent, ]); wp_set_object_terms($headerPartId, 'extendable', 'wp_theme'); // A static front page so `/` is stable. Its content is irrelevant — the CTAs // under test live in the header part, which renders on every template (so the // default "Hello world!" post at /?p=1 is the site-wide cross-check). $frontId = wp_insert_post([ 'post_type' => 'page', 'post_status' => 'publish', 'post_title' => 'Header CTA Home', 'post_content' => "\n" . '

Header CTA home.

' . "\n", ]); update_option('show_on_front', 'page'); update_option('page_on_front', $frontId);