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

[Question] Theme template for Gutenberg (starter theme) #21401

Closed
mahnunchik opened this issue Apr 4, 2020 · 7 comments
Closed

[Question] Theme template for Gutenberg (starter theme) #21401

mahnunchik opened this issue Apr 4, 2020 · 7 comments
Labels
[Type] Question Questions about the design or development of the editor.

Comments

@mahnunchik
Copy link

I think it is right place to ask such question because WordPress/WordPress repository has disabled issues.

It would be nice to have starter theme with Gutenberg support for developers. It should simplify and standardize theme development.

Some investigation:

Additional questions:

  • Is Full site editing feature dead?
@maheshwaghmare
Copy link
Contributor

It would be nice to have starter theme with Gutenberg support for developers. It should simplify and standardize theme development.

Right, We need a such Gutenberg ready starter theme. I think for now we can use the _s theme as a starter theme from scaffold command or from the https://github.com/Automattic/_s.

And to add the Gutenberg support we can check the handbook theming for the block editor.

Is Full site editing feature dead?

Nope, The Full site editing feature is listed into the Phase 2. We can see the full site editing experiment details at #20791

I think once the full site editing experiment complete and it is ready to merge into the core then it is integrated into the the theme scaffold command or we have something new package like #19773 which allow use to create a Gutenberg ready theme.

Theme Development Examples — lack of information about Gutenberg ready themes.

I think yes, Because of the full site editing is still in development. It use the block-template-parts and block-templates to render the HTML files which render the static and dynamic blocks.

In the handbook the section template files shows that to create PHP files for the templates like:

  • header.php
  • singular.php
  • single.php
  • etc

But, In full site editing the HTML templates are used to rendering the static & dynamic content. So, The templates will be like:

  • header.html
  • singular.html
  • single.html
  • etc

For now it is not clear that how templates & template parts are integrate and what about the PHP template files. There are lot of questions about implementing the full site experiment. For that the documentation is not updated yet.

You can track all issues of full site editing and all PRs.

Also, I recommend you to see all the closed issues & closed PRs to see what was happening into the full site editing feature.

https://github.com/Automattic/newspack-theme — may it be used as template?

I think there is no difference from the _s and the newspack-theme. From the repository, there is no such template system which render the HTML templates from the Gutengerg.

@mahnunchik
Copy link
Author

Hi @maheshwaghmare thank you for the clarification.

I will use _s as template for now and I'm looking forward for Gutenberg ready starter theme.

@maheshwaghmare
Copy link
Contributor

Yup! I'm also excited about the full site editing.

@talldan talldan added the [Type] Question Questions about the design or development of the editor. label Apr 7, 2020
@hanneslsm
Copy link

hanneslsm commented Apr 9, 2020

_s or underscores — it seems abandoned.

FYI: @Ismail-elkorchi is currently heavily updating _s. The agenda is not quite clear to me but I guess Gutenberg support becomes a essential part.

@carolinan
Copy link
Contributor

It has been very difficult to build a block starter theme because of how frequent the blocks, block CSS and markup changes.
We are in a better position now than we have been ever before. But it is still a matter of who is willing to write a theme, that is going to have to be rewritten over and over and over again? As much as one wants to help the community, it is something that requires a lot of time and dedication.

@talldan
Copy link
Contributor

talldan commented Apr 23, 2020

Closing as I can't see any action items from this, but feel free to continue the conversation.

@talldan talldan closed this as completed Apr 23, 2020
@mahnunchik
Copy link
Author

😢 😭 Looking for best practices for modern theme development 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Question Questions about the design or development of the editor.
Projects
None yet
Development

No branches or pull requests

5 participants