-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional pages and menus to One-click Theme Setup
- Loading branch information
1 parent
c5f9b6b
commit b688ac6
Showing
9 changed files
with
300 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
<?php | ||
/** | ||
* Genesis Sample. | ||
* | ||
* About page content optionally installed after theme activation. | ||
* | ||
* Visit `/wp-admin/admin.php?page=genesis-getting-started` to trigger import. | ||
* | ||
* @package Genesis Sample | ||
* @author StudioPress | ||
* @license GPL-2.0-or-later | ||
* @link https://www.studiopress.com/ | ||
*/ | ||
|
||
// Photo by Fabrice Villard on Unsplash. | ||
$genesis_sample_about_image_url = CHILD_URL . '/config/import/images/about.jpg'; | ||
|
||
return <<<CONTENT | ||
<!-- wp:atomic-blocks/ab-spacer {"spacerHeight":70} --> | ||
<div style="color:#ddd" class="wp-block-atomic-blocks-ab-spacer ab-block-spacer ab-divider-solid ab-divider-size-1"><hr style="height:70px"/></div> | ||
<!-- /wp:atomic-blocks/ab-spacer --> | ||
<!-- wp:image {"id":2141,"align":"center"} --> | ||
<div class="wp-block-image"><figure class="aligncenter"><img src="$genesis_sample_about_image_url" alt="" class="wp-image-2141"/></figure></div> | ||
<!-- /wp:image --> | ||
<!-- wp:atomic-blocks/ab-spacer {"spacerHeight":29} --> | ||
<div style="color:#ddd" class="wp-block-atomic-blocks-ab-spacer ab-block-spacer ab-divider-solid ab-divider-size-1"><hr style="height:29px"/></div> | ||
<!-- /wp:atomic-blocks/ab-spacer --> | ||
<!-- wp:columns --> | ||
<div class="wp-block-columns has-2-columns"><!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:heading {"level":1} --> | ||
<h1>About Us</h1> | ||
<!-- /wp:heading --> | ||
<!-- wp:paragraph --> | ||
<p>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. </p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:column --> | ||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:heading {"align":"right"} --> | ||
<h2 style="text-align:right" id="mce_9">Contact Us</h2> | ||
<!-- /wp:heading --> | ||
<!-- wp:paragraph {"align":"right"} --> | ||
<p style="text-align:right"> 555.555.5555</p> | ||
<!-- /wp:paragraph --> | ||
<!-- wp:paragraph {"align":"right"} --> | ||
<p style="text-align:right"> | ||
1234 Block Blvd.<br>San Francisco, CA 94120 | ||
</p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
CONTENT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
<?php | ||
/** | ||
* Genesis Sample. | ||
* | ||
* Block example page content optionally installed after theme activation. | ||
* | ||
* Visit `/wp-admin/admin.php?page=genesis-getting-started` to trigger import. | ||
* | ||
* @package Genesis Sample | ||
* @author StudioPress | ||
* @license GPL-2.0-or-later | ||
* @link https://www.studiopress.com/ | ||
*/ | ||
|
||
return <<<CONTENT | ||
<!-- wp:atomic-blocks/ab-spacer {"spacerHeight":70} --> | ||
<div style="color:#ddd" class="wp-block-atomic-blocks-ab-spacer ab-block-spacer ab-divider-solid ab-divider-size-1"><hr style="height:70px"/></div> | ||
<!-- /wp:atomic-blocks/ab-spacer --> | ||
<!-- wp:heading {"level":1} --> | ||
<h1>Block Content Examples</h1> | ||
<!-- /wp:heading --> | ||
<!-- wp:paragraph --> | ||
<p>Below are examples of column classes that are available in the block editor.</p> | ||
<!-- /wp:paragraph --> | ||
<!-- wp:heading {"align":"left"} --> | ||
<h2 style="text-align:left">Two Columns</h2> | ||
<!-- /wp:heading --> | ||
<!-- wp:columns --> | ||
<div class="wp-block-columns has-2-columns"><!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:paragraph --> | ||
<p>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. </p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:column --> | ||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:paragraph --> | ||
<p>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. </p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
<!-- wp:separator {"className":"is-style-wide"} --> | ||
<hr class="wp-block-separator is-style-wide"/> | ||
<!-- /wp:separator --> | ||
<!-- wp:heading {"align":"left"} --> | ||
<h2 style="text-align:left">Three Columns</h2> | ||
<!-- /wp:heading --> | ||
<!-- wp:columns {"columns":3} --> | ||
<div class="wp-block-columns has-3-columns"><!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:paragraph --> | ||
<p> | ||
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. | ||
</p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:column --> | ||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:paragraph --> | ||
<p> | ||
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. | ||
</p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:column --> | ||
<!-- wp:column --> | ||
<div class="wp-block-column"><!-- wp:paragraph --> | ||
<p> | ||
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. | ||
</p> | ||
<!-- /wp:paragraph --></div> | ||
<!-- /wp:column --></div> | ||
<!-- /wp:columns --> | ||
<!-- wp:separator {"className":"is-style-wide"} --> | ||
<hr class="wp-block-separator is-style-wide"/> | ||
<!-- /wp:separator --> | ||
<!-- wp:heading {"align":"left"} --> | ||
<h2 style="text-align:left">Buttons</h2> | ||
<!-- /wp:heading --> | ||
<!-- wp:button {"align":"center"} --> | ||
<div class="wp-block-button aligncenter"><a class="wp-block-button__link" href="#">Button<br></a></div> | ||
<!-- /wp:button --> | ||
<!-- wp:button {"align":"center","className":"is-style-outline"} --> | ||
<div class="wp-block-button aligncenter is-style-outline"><a class="wp-block-button__link" href="#">Outlined Button<br></a></div> | ||
<!-- /wp:button --> | ||
<!-- wp:separator {"className":"is-style-wide"} --> | ||
<hr class="wp-block-separator is-style-wide"/> | ||
<!-- /wp:separator --> | ||
<!-- wp:heading {"align":"left"} --> | ||
<h2 style="text-align:left">Blockquotes & Pullquotes</h2> | ||
<!-- /wp:heading --> | ||
<!-- wp:pullquote {"align":"wide"} --> | ||
<figure class="wp-block-pullquote alignwide"><blockquote><p>Good design is as little as possible. Less, but better, because it concentrates on the essential aspects. Back to purity, back to simplicity. </p><cite> <br>Dieter Rams</cite></blockquote></figure> | ||
<!-- /wp:pullquote --> | ||
CONTENT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<?php | ||
/** | ||
* Genesis Sample. | ||
* | ||
* Contact page content optionally installed after theme activation. | ||
* | ||
* Visit `/wp-admin/admin.php?page=genesis-getting-started` to trigger import. | ||
* | ||
* @package Genesis Sample | ||
* @author StudioPress | ||
* @license GPL-2.0-or-later | ||
* @link https://www.studiopress.com/ | ||
*/ | ||
|
||
return <<<CONTENT | ||
<!-- wp:paragraph --> | ||
<p>Add a contact form to this page with the pre-installed WPForms Lite plugin. Learn <a href="https://my.studiopress.com/documentation/wpforms/plugin-usage/create-contact-forms-with-wpforms/" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">how to create a form using WPForms</a>.</p> | ||
<!-- /wp:paragraph --> | ||
CONTENT; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<?php | ||
/** | ||
* Genesis sample. | ||
* | ||
* Landing page content optionally installed after theme activation. | ||
* | ||
* Visit `/wp-admin/admin.php?page=genesis-getting-started` to trigger import. | ||
* | ||
* @package Genesis Sample | ||
* @author StudioPress | ||
* @license GPL-2.0-or-later | ||
* @link https://www.studiopress.com/ | ||
*/ | ||
|
||
// Photo by Felipe Dolce on Unsplash. | ||
$genesis_sample_landing_image_url = CHILD_URL . '/config/import/images/landing.jpg'; | ||
|
||
return <<<CONTENT | ||
<!-- wp:image {"id":1377} --> | ||
<figure class="wp-block-image"><img src="$genesis_sample_landing_image_url" alt="Paris" class="wp-image-1377"/><figcaption> Photo by <a href="https://unsplash.com/photos/Pi3YUQivm6o" target="_blank" rel="noreferrer noopener" aria-label=" (opens in a new tab)">Felipe Dolce</a> on <a href="https://unsplash.com/">Unsplash</a> </figcaption></figure> | ||
<!-- /wp:image --> | ||
<!-- wp:paragraph --> | ||
<p>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.</p> | ||
<!-- /wp:paragraph --> | ||
<!-- wp:quote --> | ||
<blockquote class="wp-block-quote"><p>“There are only two places in the world where we can live happy: at home and in Paris.”<br></p><cite>— Ernest Hemingway</cite></blockquote> | ||
<!-- /wp:quote --> | ||
<!-- wp:paragraph --> | ||
<p>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.</p> | ||
<!-- /wp:paragraph --> | ||
<!-- wp:heading {"level":4} --> | ||
<h4>This is a Sample Heading</h4> | ||
<!-- /wp:heading --> | ||
<!-- wp:paragraph --> | ||
<p>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.</p> | ||
<!-- /wp:paragraph --> | ||
<!-- wp:paragraph --> | ||
<p>Here’s a sample paragraph with a custom background color:</p> | ||
<!-- /wp:paragraph --> | ||
<!-- wp:paragraph {"customBackgroundColor":"#f5f5f5"} --> | ||
<p style="background-color:#f5f5f5" class="has-background">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.</p> | ||
<!-- /wp:paragraph --> | ||
<!-- wp:paragraph --> | ||
<p>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.</p> | ||
<!-- /wp:paragraph --> | ||
CONTENT; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters