Skip to content

Instantly share code, notes, and snippets.

@bradpotter
Created December 20, 2018 21:34

Revisions

  1. bradpotter created this gist Dec 20, 2018.
    32 changes: 32 additions & 0 deletions onboarding.php
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,32 @@
    return array(
    'dependencies' => array(
    'plugins' => array(
    array(
    'name' => __( 'Atomic Blocks', 'genesis-sample' ),
    'slug' => 'atomic-blocks/atomicblocks.php',
    ),
    ),
    ),
    'content' => array(
    'homepage' => array(
    'post_title' => 'Homepage',
    'post_name' => 'homepage-gutenberg',
    'post_content' => require dirname( __FILE__ ) . '/import/content/homepage.php',
    'post_type' => 'page',
    'post_status' => 'publish',
    'page_template' => 'template-blocks.php',
    'comment_status' => 'closed',
    'ping_status' => 'closed',
    ),
    'aboutpage' => array(
    'post_title' => 'About',
    'post_name' => 'about',
    'post_content' => require dirname( __FILE__ ) . '/import/content/aboutpage.php',
    'post_type' => 'page',
    'post_status' => 'publish',
    'page_template' => 'template-blocks-about.php',
    'comment_status' => 'closed',
    'ping_status' => 'closed',
    ),
    ),
    );