diff --git a/config/import/content/about.php b/config/import/content/about.php new file mode 100644 index 00000000..86994888 --- /dev/null +++ b/config/import/content/about.php @@ -0,0 +1,59 @@ + +

+ + + +
+ + + +

+ + + +
+
+

About Us

+ + + +

Hello! We are StudioPress, and we build themes with an emphasis on typography, white space, and mobile-optimized design to make your website look absolutely breathtaking.

+
+ + + +
+

Contact Us

+ + + +

555.555.5555

+ + + +

+1234 Block Blvd.
San Francisco, CA 94120 + +

+
+
+ +CONTENT; diff --git a/config/import/content/block-examples.php b/config/import/content/block-examples.php new file mode 100644 index 00000000..dc2878af --- /dev/null +++ b/config/import/content/block-examples.php @@ -0,0 +1,110 @@ + +

+ + + +

Block Content Examples

+ + + +

Below are examples of column classes that are available in the block editor.

+ + + +

Two Columns

+ + + +
+
+

This is an example of a WordPress post, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many posts as you like in order to share with your readers what exactly is on your mind.

+
+ + + +
+

This is an example of a WordPress post, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many posts as you like in order to share with your readers what exactly is on your mind.

+
+
+ + + +
+ + + +

Three Columns

+ + + +
+
+

+This is an example of a WordPress post, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many posts as you like in order to share with your readers what exactly is on your mind. + +

+
+ + + +
+

+This is an example of a WordPress post, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many posts as you like in order to share with your readers what exactly is on your mind. + +

+
+ + + +
+

+This is an example of a WordPress post, you could edit this to put information about yourself or your site so readers know where you are coming from. You can create as many posts as you like in order to share with your readers what exactly is on your mind. + +

+
+
+ + + +
+ + + +

Buttons

+ + + +
Button
+ + + +
Outlined Button
+ + + +
+ + + +

Blockquotes & Pullquotes

+ + + +

Good design is as little as possible. Less, but better, because it concentrates on the essential aspects. Back to purity, back to simplicity.


Dieter Rams
+ +CONTENT; diff --git a/config/import/content/contact.php b/config/import/content/contact.php new file mode 100644 index 00000000..2b167198 --- /dev/null +++ b/config/import/content/contact.php @@ -0,0 +1,19 @@ + +

Add a contact form to this page with the pre-installed WPForms Lite plugin. Learn how to create a form using WPForms.

+ +CONTENT; diff --git a/config/import/content/homepage.php b/config/import/content/homepage.php index befbc4a4..d96755a5 100644 --- a/config/import/content/homepage.php +++ b/config/import/content/homepage.php @@ -13,9 +13,9 @@ $genesis_homepage_header_image_url = CHILD_URL . '/config/import/images/mountain-bw.jpg'; // Photo by Haley Powers on Unsplash: https://unsplash.com/photos/rjhvXX7JBPc -$genesis_homepage_faq_image_url = CHILD_URL . '/config/import/images/about.jpg'; +$genesis_homepage_faq_image_url = CHILD_URL . '/config/import/images/home-about.jpg'; -$genesis_sample_homepage_content = <<

We'll teach you how to build and grow an online business.

@@ -132,5 +132,3 @@
CONTENT; - -return $genesis_sample_homepage_content; diff --git a/config/import/content/landing-page.php b/config/import/content/landing-page.php new file mode 100644 index 00000000..0da7d407 --- /dev/null +++ b/config/import/content/landing-page.php @@ -0,0 +1,54 @@ + +
Paris
Photo by Felipe Dolce on Unsplash
+ + + +

This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind.

+ + + +

“There are only two places in the world where we can live happy: at home and in Paris.”

— Ernest Hemingway
+ + + +

This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind.

+ + + +

This is a Sample Heading

+ + + +

This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind.

+ + + +

Here’s a sample paragraph with a custom background color:

+ + + +

This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind.

+ + + +

This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind. This is an example of a WordPress post, you could edit this to put information about yourself so readers know where you are coming from. You can create as many posts as you like in order to share with them what is on your mind.

+ +CONTENT; diff --git a/config/import/images/about.jpg b/config/import/images/about.jpg index 2a0d5a7e..8640cf92 100644 Binary files a/config/import/images/about.jpg and b/config/import/images/about.jpg differ diff --git a/config/import/images/home-about.jpg b/config/import/images/home-about.jpg new file mode 100644 index 00000000..2a0d5a7e Binary files /dev/null and b/config/import/images/home-about.jpg differ diff --git a/config/import/images/landing.jpg b/config/import/images/landing.jpg new file mode 100644 index 00000000..2ad6ff2a Binary files /dev/null and b/config/import/images/landing.jpg differ diff --git a/config/onboarding.php b/config/onboarding.php index 30062726..bade2245 100644 --- a/config/onboarding.php +++ b/config/onboarding.php @@ -11,18 +11,33 @@ */ return array( - 'dependencies' => array( + 'dependencies' => array( 'plugins' => array( array( - 'name' => __( 'Atomic Blocks', 'genesis-sample' ), - 'slug' => 'atomic-blocks/atomicblocks.php', + 'name' => __( 'Atomic Blocks', 'genesis-sample' ), + 'slug' => 'atomic-blocks/atomicblocks.php', + 'public_url' => 'https://atomicblocks.com/', + ), + array( + 'name' => __( 'WP Forms Lite', 'genesis-sample' ), + 'slug' => 'wpforms-lite/wpforms.php', + 'public_url' => 'https://wordpress.org/plugins/wpforms-lite/', + ), + array( + 'name' => __( 'Genesis eNews Extended', 'genesis-sample' ), + 'slug' => 'genesis-enews-extended/plugin.php', + 'public_url' => 'https://wordpress.org/plugins/genesis-enews-extended/', + ), + array( + 'name' => __( 'Simple Social Icons', 'genesis-sample' ), + 'slug' => 'simple-social-icons/simple-social-icons.php', + 'public_url' => 'https://wordpress.org/plugins/simple-social-icons/', ), ), ), - 'content' => array( + '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', @@ -30,5 +45,59 @@ 'comment_status' => 'closed', 'ping_status' => 'closed', ), + 'blocks' => array( + 'post_title' => 'Block Content Examples', + 'post_content' => require dirname( __FILE__ ) . '/import/content/block-examples.php', + 'post_type' => 'page', + 'post_status' => 'publish', + 'page_template' => 'page-templates/blocks.php', + 'comment_status' => 'closed', + 'ping_status' => 'closed', + ), + 'about' => array( + 'post_title' => 'About Us', + 'post_content' => require dirname( __FILE__ ) . '/import/content/about.php', + 'post_type' => 'page', + 'post_status' => 'publish', + 'page_template' => 'page-templates/blocks.php', + 'comment_status' => 'closed', + 'ping_status' => 'closed', + ), + 'contact' => array( + 'post_title' => 'Contact Us', + 'post_content' => require dirname( __FILE__ ) . '/import/content/contact.php', + 'post_type' => 'page', + 'post_status' => 'publish', + 'comment_status' => 'closed', + 'ping_status' => 'closed', + ), + 'landing' => array( + 'post_title' => 'Landing Page', + 'post_content' => require dirname( __FILE__ ) . '/import/content/landing-page.php', + 'post_type' => 'page', + 'post_status' => 'publish', + 'page_template' => 'page-templates/landing.php', + 'comment_status' => 'closed', + 'ping_status' => 'closed', + ), + ), + 'navigation_menus' => array( + 'primary' => array( + 'homepage' => array( + 'title' => 'Home', + ), + 'about' => array( + 'title' => 'About Us', + ), + 'contact' => array( + 'title' => 'Contact Us', + ), + 'blocks' => array( + 'title' => 'Block Examples', + ), + 'landing' => array( + 'title' => 'Landing Page', + ), + ), ), );