Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Gutenberg Starter Theme as a block-based theme #6

Merged
merged 13 commits into from Jan 20, 2020

Conversation

kjellr
Copy link
Collaborator

@kjellr kjellr commented Jan 15, 2020

Here's another one! This uses the Gutenberg Starter Theme as a base, and fills in the default Gutenberg demo post as homepage starter content. Most of the theme files were stripped out, leaving a the code relatively barebones.

Basic steps for testing

  1. Create a fresh WordPress site
  2. Clone this repository or upload a zip into the site’s themes directory
  3. Install the Gutenberg plugin
  4. Enable the Full Site Editing experiment in the Gutenberg > Experiments panel.
  5. Activate the "Gutenberg Starter Theme Blocks" theme from within Appearance > Themes.
  6. Visit the Customizer and hit "Publish"

Your frontend should render things generally the same way Gutenberg looks with no editor styles.

Screenshot

Screen Shot 2020-01-15 at 16 15 27

@kjellr kjellr added block-based theme A theme using HTML templates feedback requested labels Jan 15, 2020
@kjellr kjellr self-assigned this Jan 15, 2020
@kjellr
Copy link
Collaborator Author

kjellr commented Jan 16, 2020

I pushed a few more updates to this today. I think it's probably far enough along to be merged in alongside the other theme in the repo. Would someone mind giving this a test + review?

Copy link
Collaborator

@jffng jffng left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Should we update the screenshot in this PR given our recent discussions about starter content and streamlining the examples of block-based themes? With no starter content, the home page by default will look like this, correct?

Screen Shot 2020-01-20 at 12 42 17 PM

@kjellr
Copy link
Collaborator Author

kjellr commented Jan 20, 2020

With no starter content, the home page by default will look like this, correct?

Yep, that's right. I think it's fine to leave the screenshot as it is above for now, since there's history in the thread.

Thanks for testing!

@kjellr kjellr merged commit 181f62d into master Jan 20, 2020
@kjellr kjellr deleted the gutenberg-starter-theme-block-templates branch January 20, 2020 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
block-based theme A theme using HTML templates feedback requested
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants