-
Notifications
You must be signed in to change notification settings - Fork 108
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
Online Workshop - Diving into theme.json #908
Comments
@rosswintle has kindly offered to co-host this session. https://www.meetup.com/learn-wordpress-online-workshops/events/288023942/ |
Live stream of my attempts to understand what various settings do: https://www.twitch.tv/videos/1576834601 Questions that came out of this session:
|
This is a huge pain-point and your struggle is real.
So, there are a few things to note:
So, if the "Inner blocks use full width" is enabled then alignwide and alignfull will be turned off for all nested blocks. I believe this setting is assigned to Group and Row blocks, but only 60% certain on that. I hope that makes sense, but reading it back it seems as clear as mud. 🤦 Addendum: I know you indicated that you did not have Gutenberg activated. The UI screenshot I posted is relying upon changes in recent Gutenberg. Therefore, I would encourage you to have it activated. |
This would be somewhere in WordPress core.
This entry 👆 in your If you wanted to tell your current theme to use that specific font family then you would likely want to take the code above one step further with this:
That entry is assigning the If you're curious about how you might register and use a custom font (locally hosted) then here is a great overview: Self-Hosting Google Fonts in a Block Theme |
This I have little experience with and will allow others more knowledgeable chip in.
This is a new addition and would require Gutenberg plugin to be activated. I have not experimented with this new addition yet. Again, I allow somebody more knowledgeable to chip in.
This is something that is currently ongoing in Gutenberg and there is even a push for the upcoming 6.1 release to have more consistency. This is the larger Issue that addresses it, but Typography is here: WordPress/gutenberg#43242 |
Another huge pain point. I would say: experiment with |
Yes (unless things have changed. :P ). See blockbase's theme.json file as an example. https://github.com/Automattic/themes/blob/trunk/blockbase/theme.json Registering them thus allows users to select them as the templates for page/post or swap out template parts into the correct space (headers for headers, etc) |
Thank you @colorful-tones and @pbking for all this insight. |
I think as I work through this course, I'm going to see if I can add some more context/examples to the version 2 living document. |
That doc is new to me and thanks for sharing! |
Slides created for the Workshop https://docs.google.com/presentation/d/1-ek6T5EpZfwDve1_wjFQnMKUHCgwmUp0h4Y7qDPtkEA/edit?usp=sharing |
|
Awesome, thank you @glendaviesnz I plan to review these new 6.1 features when they're merged into core. |
Event Details
Online Workshop Checklist:
The text was updated successfully, but these errors were encountered: