File: /var/www/html/wp-content/themes/bch-consulting/config/onboarding.php
<?php
/**
* BCH Consulting.
*
* Onboarding config to load plugins and homepage content on theme activation.
*
* @package Genesis Sample
* @author StudioPress
* @license GPL-2.0-or-later
* @link https://www.studiopress.com/
*/
$bch_consulting_shared_content = genesis_get_config( 'onboarding-shared' );
return [
'starter_packs' => [
'black-white' => [
'title' => __( 'Black & White', 'bch-consulting' ),
'description' => __( 'A pack with a homepage designed with black and white images.', 'bch-consulting' ),
'thumbnail' => get_stylesheet_directory_uri() . '/config/import/images/thumbnails/home-black-white.jpg',
'demo_url' => 'https://demo.studiopress.com/genesis-sample/',
'config' => [
'dependencies' => [
'plugins' => $bch_consulting_shared_content['plugins'],
],
'content' => array_merge(
[
'homepage' => [
'post_title' => 'Homepage',
'post_content' => require dirname( __FILE__ ) . '/import/content/home-black-white.php',
'post_type' => 'page',
'post_status' => 'publish',
'comment_status' => 'closed',
'ping_status' => 'closed',
'meta_input' => [
'_genesis_layout' => 'full-width-content',
'_genesis_hide_title' => true,
'_genesis_hide_breadcrumbs' => true,
'_genesis_hide_singular_image' => true,
],
],
],
$bch_consulting_shared_content['content']
),
'navigation_menus' => $bch_consulting_shared_content['navigation_menus'],
'widgets' => $bch_consulting_shared_content['widgets'],
],
],
'color' => [
'title' => __( 'Color', 'bch-consulting' ),
'description' => __( 'A pack with a homepage designed with color images.', 'bch-consulting' ),
'thumbnail' => get_stylesheet_directory_uri() . '/config/import/images/thumbnails/home-color.jpg',
'demo_url' => 'https://demo.studiopress.com/genesis-sample/home-color/',
'config' => [
'dependencies' => [
'plugins' => $bch_consulting_shared_content['plugins'],
],
'content' => array_merge(
[
'homepage' => [
'post_title' => 'Homepage',
'post_content' => require dirname( __FILE__ ) . '/import/content/home-color.php',
'post_type' => 'page',
'post_status' => 'publish',
'comment_status' => 'closed',
'ping_status' => 'closed',
'meta_input' => [
'_genesis_layout' => 'full-width-content',
'_genesis_hide_title' => true,
'_genesis_hide_breadcrumbs' => true,
'_genesis_hide_singular_image' => true,
],
],
],
$bch_consulting_shared_content['content']
),
'navigation_menus' => $bch_consulting_shared_content['navigation_menus'],
'widgets' => $bch_consulting_shared_content['widgets'],
],
],
],
];