WordPress.org

WordPress Planet

October 17, 2021

Gutenberg Times: Changelog #53 – WordPress 5.9 Go/No Go decision, Gutenberg releases 11.6 and 11.7, and Themes and Styles for the Editor

In this episode, Birgit Pauli-Haack and Grzegorz Ziółkowski discuss WordPress 5.9 Go/No-Go Decision, Gutenberg Releases 11.6 and 11.7, and ongoing discussions about Themes and Styles for the Editor

Show Notes / Transcript

Subscribe to the Gutenberg Changelog podcast via your favorite podcast apps!
🎙️ Spotify | Google | iTunes | PocketCasts | Stitcher |
🎙️ Pod Bean | CastBox | Podchaser | RSS Feed 

Show Notes

Announcements

WordPress 5.9 Updates

WordCamp US

Community Contributions

What’s Released

Gutenberg 11.6

Gutenberg 11.7

What’s in active development or discussed

Gallery Block Refactor Dev note by Glen Davies

FSE Q & A – Submit your questions!

FSE Theme Switching

Stay in Touch

by Birgit Pauli-Haack at October 17, 2021 01:37 PM under Live Q&A

October 16, 2021

Gutenberg Times: Changelog #52 -Planning, Scope and Team for WordPress 5.9, Roadmap for WooCommerce Blocks and Gutenberg 11.5

In this episode, Birgit Pauli-Haack and Grzegorz (Greg) Ziolkowski discuss Planning, Scope and Team for WordPress 5.9, Roadmap for WooCommerce Blocks, Gutenberg 11.5 Release and more 

Show Notes / Transcript

Subscribe to the Gutenberg Changelog podcast via your favorite podcast apps!
🎙️ Spotify | Google | iTunes | PocketCasts | Stitcher |
🎙️ Pod Bean | CastBox | Podchaser | RSS Feed 

Show Notes

Announcements

Gutenberg 11.5

What’s discussed and worked on

To get weekly updates via email, subscribe to our Weekend Edition.

Did you like this episode? Please write us a reviewhttps://lovethepodcast.com/gutenbergchangelog

 

If you have questions or suggestions, or news you want us to include, send them to [email protected].

Please write us a review on iTunes! (Click here to learn how)

Transcript

Birgit Pauli-Haack: Hello and welcome to our 52nd episode of the Gutenberg Changelog podcast. We’re recording this on September 16th, 2021. In today’s episode we will talk about the planning scope and team for WordPress 5.9, the roadmap for WooCommerce blocks and of course this week’s Gutenberg 11.5 release. 

I am Birgit Pauli-Haack, WordPress developer advocate and curator for Gutenberg Times. Again, I’m delighted to have with me on the show co-host Grzegorz, or Greg, Ziółkowski, JavaScript developer at Automattic and WordPress core contributor. Hi, Grzegorz, how are you doing today?

Grzegorz Ziolkowski: Hello, Birgit. I’m fine. I’m looking forward to my vacation that starts this weekend. I’m going to Greece. It’s first time since two years going abroad, so I am really excited but also not so happy about all the paperwork that is necessary to travel these days.

Birgit Pauli-Haack: Yeah, with all the COVID and vaccines and all that kind of thing, is that what you’re referring to with paperwork?

Grzegorz Ziolkowski: Yes. I have five forms to fill in for myself and my family. It’s strange. I guess you know that because you traveled from the States to Germany a few weeks back.

Birgit Pauli-Haack: Yeah. Yeah, we did. I scheduled my test that I have to do because the United States changed how they let people in. Now I have to have a test that’s not older than three days to get in although I’m vaccinated. It’s strange. It’s all strange.

Grzegorz Ziolkowski: Yeah, yeah. At least I don’t have to do any tests because I’m also vaccinated. That’s on the good side here.

Birgit Pauli-Haack: Yeah, on the way in we only needed to show our vaccination records and be done with it. On the way back it’s going to be both. 

Announcements

Anyway, we start our episode today with an announcement, with an announcement that Josepha Haden Chomphosy published the preliminary planning for WordPress 5.9. That’s supposed to be released December 14, 2021. Yes. It’s again just before the holidays and many sites will wait until January to update, but most sites it turns out update right away. We did this, had this exercise now for the last four years I think as far as I can remember.

Grzegorz Ziolkowski: Yes, even WordPress 5.0 was released on December 8th, 9th, I don’t remember exactly.

Birgit Pauli-Haack: 6th?

Grzegorz Ziolkowski: Maybe 3rd. It was in December and we had the same discussion, why it’s happening just before Christmas.

Birgit Pauli-Haack: Right. Yeah.

Grzegorz Ziolkowski: We are a worldwide project, it is not only Christmas for people, some people don’t even know what that is and they just have their own holidays.

Birgit Pauli-Haack: Yeah. The world does not stop when WordPress releases. We found that out with 5.0. The internet did not break and everything was going smoothly. I know there are a few US agencies that want to close down over Christmas and they just … yeah, I don’t think it’s a hard sell for them to say we do all the upgrades in January when we come back.

Grzegorz Ziolkowski: It’s perfectly fine.

Birgit Pauli-Haack: Yeah. I think so too, yeah. 

Again, as they did for 5.8, there will be a go/no-go decision for what will be in the release. That is scheduled to happen on October 12th. That’s about four weeks ago, in four weeks, sorry. That’s in four weeks. The feature freeze will be November 9th and then beta one is supposed to be ready for November 16th. People get cracking.

Grzegorz Ziolkowski: I think this series is a bit smaller in the scope, so I think that those dates make a lot of sense. I think the schedule for the 5.8 was a bit longer, especially between the feature freeze there was two weeks, but at the end of the day I don’t think that matters that much.

Birgit Pauli-Haack: Mostly not for Gutenberg because you patch back to the WordPress right away when you have bug fixes, yeah. 

The scope follows pretty much what Matías Ventura published earlier this month as the preliminary scope, so we will have blocks with intrinsic web design, then the navigation menus, interface, the user interface for the theme JSON. Theme JSON was introduced for theme developers for 5.8 and 5.9 will have the first version of the interface so users can also configure their themes and their block editor through that. There’s also refining of editing flows for block themes, a new default theme and additional design tools from the block editor. 

Then there are a few, Josepha called them hopefuls that might get in but they might not get in. Part of it is the pattern insertion and creation features so that you can submit patterns to the directory and then also insert them directly from the inserter. Right now you have to click the copy button and then copy/paste them. For 5.9 the meta team is aiming for insertion into the block editor. Then also unzip/rollback fail-safe, there’s a whole team working on that, more PHP unit tests and then improved compatibility with PHP 8.0 and 8.1.

Grzegorz Ziolkowski: The last three items aren’t related to the Gutenberg at all, but in some ways they improve the overall quality on WordPress core, so it’s maybe somehow related.

Birgit Pauli-Haack: Right. Right. Yeah. That’s that. The team is, release lead is again Matt Mullenweg with Josepha being the coordinator I think.

Grzegorz Ziolkowski: And the marketing team lead.

Birgit Pauli-Haack: And the marketing team lead, yeah, with that. Who else is there already in the posting?

Grzegorz Ziolkowski: I’ve seen that a few days before and the list was still missing a few names. I don’t know if it was updated since then.

Birgit Pauli-Haack: That was quite a while ago. Here we go. September third was it published. The team, to go back to that, release lead is Matt Mullenweg, marketing and comms is Josepha Haden, technical writer is Jonathan Bossenger and those are the leads that are filled in. I think the rest is going to come together when the meeting is, the board chair meeting later on. All right.

Grzegorz Ziolkowski: Yes. There’s still time to volunteer if some of our listeners want to jump in and help with the release, even as people who just watch the process and be ready for the next major release to take this leadership role.

Birgit Pauli-Haack: Yeah. Josepha asked for volunteers for triage lead and the release coordinators. If you don’t triage the bugs or the tickets that are supposed to go into 5.9 and see how they’re going you’re not going to get a release together. The coordinators are really important to get all the teams ready and working on this. I think there are a few volunteers already on the post in the comments section, but you can still throw your hat in the ring. That is about 5.9. I think the next date for that to watch is October 12th with the go/no-go because that will determine what exactly will come into the release from the navigation screen, new navigation blocks, see how far the gallery block, the new gallery block, refacted, is going. That’s still in the experiment. There are a few other things that might or might not come.

Grzegorz Ziolkowski: Yeah. I think the most important one would be the navigation block and the navigation screen. That’s quite a huge project that has evolved for quite a while.

Birgit Pauli-Haack: Yeah. I think over almost two years. It’s also, I just saw and we’ll see it in the updates later there are some discussions going on that our listeners might want to chime in in terms of backwards compatibility. 

We promised also a Woocommerce roadmap regarding blocks. Darren Either from the team put a nice blog post together with a lot of information about that, what is happening and what is in the near future or what is soon happening. The high priority is to build robust blocks for checkout and cart, the shopping cart, that not only gives the store and their customers a much better user experience but also allows for extensibility for third-party tools. The blocks will become the default way to handle checkout and carts soon. They were a little bit cagey with dates and something, but it’s definitely something to watch out for. They will also have, for the transition, fallbacks to shortcuts and the shortcuts for cards and checkout and then if the extension isn’t optimized for blocks.

Grzegorz Ziolkowski: Yeah. We will include also a link to the GitHub repository that contains all the blocks. There are a few of them. They are very advanced I must say. In the WordPress core we have a lot of blocks, however they are more on the side of editing content so the complexity comes only in the block editor, whereas Woo, they do something really impressive on the front-end so those blocks are interactive, they are optimized in terms of performance. There’s some really impressive work on their side. I’ve been watching that for quite a while, this is in the works for over two years now, and they are improving. Their initial implementation, it was mostly bringing back compatibility from shortcuts, that was transitioned from shortcuts to blocks. I remember the first prototype, it was creating the safe implementation, the short code and that was just not working. Their block editor experience was the change but the rest has stayed the same. They have evolved in so many ways.

They also shared some ways for the users and shop owners, the checkout flows are now much more smoother and that leads to better conversion rates, which is the whole goal of this concept. It’s also, now you have the ability to preview how cart and checkout looks from the editor. It sounds, in our context when we talk all the time about the block editor the preview is something you just take for granted, but here we are, it’s improvement in their workflows. They were also talking about the iterations they are doing and how they are trying to use InnerBlocks to structure or architect their blocks. That’s also a great way when they are presenting in the post how it empowers users to add their own integration pretty easily. You have now a checkout form and you can inject any type of blocks, you can add a heading in any place you want, you can add, I don’t know, an image. Whatever you like you can add there and also reorder items like change headings. It’s something that wasn’t possible before and this just opens new possibilities.

I’m also happy to see that this flow is now becoming the default one, because it was present but it was only for some extensions that were in Woocommerce store by default. Now it’s open also to plug-in others. That’s the biggest change.

Birgit Pauli-Haack: Yeah. I really like how Darren put the post together. He has many, many screenshots in there so you get really a good picture of what’s going to happen. Check it out. There’s also some work being done to prepare Woocommerce for the site editing feature that’s coming to 5.9 somehow, or 6.0. I think it was good for the Woocommerce team to wait until the block editor was a little bit more stable and had more features for extensibility. I’m glad that they found it now worthwhile to put it together and that the user experience is up to the quality that they wanted to. That will open up the signal also for other plug-in developers and also gives quite a nice set of example code that you can study if you are into reading code. As Greg said, we’re going to share not only post the show notes, but also the GitHub repository so you can check it out.

Now I have the last announcement, then we get to the release, our next live Q&A on the Gutenberg Times YouTube channel will be October 7 at 16:00 UTC, 11AM Eastern and 18:00 Central Europe Time. Sorry. Got all the times mixed up again. That is pretty much the story of this week for me. I go either way and I always go wrong, so I need to read it and pronounce it right. October 7, 16:00 UTC. We will discuss with experienced WordPress theme developers how they transition from building a classic theme to a block based theme and using theme JSON and also full site editing and the global styles as far as it’s already available. 

We will have as a guest Ellen Bauer. They published just recently their Aino theme. That is their block based theme and they have additional features in there that will cover that. Carolina Nymark, who’s on the themes team and also worked on the 2021 blocks, TT1 Blocks theme, that’s the block based 2021 product. She also has a site called full-site editing where she teaches full-site editing to theme developers. It’s great to have her on the show. Then the last one is Andres Norén who designed the 2020 default theme last year. He’s working on a new theme as we speak. Oh yeah, by the way, his theme Eksell is actually powering the Gutenberg Times site for, I don’t know, half a year now. I’m glad to have those two, Ellen and Carolina and Andres, on the show on October 7th.

Grzegorz Ziolkowski: Yeah, I think the line-up is just so great. I’m looking forward to this Q&A session. I think you did a great job convincing all the people who have so much experience building full site editing themes to be on the show.

Birgit Pauli-Haack: Yeah. I’m really happy that they all make the time to educate our community on this. Also not only to be on the show, to take the time, but also take the time and work through this because we all know that, if you are an early adopter, you basically do all the bug testing and quality assurance for the team, but you also have to invest a lot more time because of course documentation is not yet complete or changes. It’s a major undertaking and I’m glad that these three are coming to the show and telling us what they have found.

Grzegorz Ziolkowski: Yeah. There is also this bright side that you are on the bleeding edge of innovation and you are part of the process and you influence how this all shapes up.

Birgit Pauli-Haack: Absolutely.

Grzegorz Ziolkowski: I think it has more pros than cons.

Birgit Pauli-Haack: Oh, absolutely. Looking back, the three years, block editor, most of the early adopters have had, really a jump on the new technology and, yeah, were supported by big acquisitions or hired just right away because of their expertise that they have shown. It will be similar to theme developers that are early adopting these new features, even if it’s a little bit of a heartache or a headache, more a headache. It’s the cutting edge, indeed. Sometimes it’s the bleeding edge, you’re right.

Grzegorz Ziolkowski: Yeah. In this context, which makes me very happy, is that all three invited guests, they are in the community for quite a while and they seem to be aligned with the vision and they are adjusting their themes to be up-to-date, which is really impressive.

Birgit Pauli-Haack: Yeah, they totally get the vision. All three of them have published quite a bit of their learnings. Yes, I will share a few links in the show notes so you can check them out, but definitely sign up for, register for the live Q&A so you get also your questions answered.

What’s Released – Gutenberg 11.5

That brings us to the Gutenberg 11.5 release. We are, as of today there is not a final release yet because there’s some problems with the build sequence.

Grzegorz Ziolkowski: Yeah, it’s some turbulence like during the flight. I mean everything is ready, it’s just the process didn’t end up successfully and it’s more of the technical challenge of the release process itself than something is wrong. Yeah, I hope at the time when this podcast will be produced and ready then the release will be out, hopefully today. We said the date for recording before assuming that everything goes out on Wednesday as usual.

Birgit Pauli-Haack: Yeah, yeah. Well there was, the 11.5 release candidate is out or has been out for a week, so that’s what we are basing things on. There weren’t any changes on it from the features or the PRs, it’s just the build process.

Grzegorz Ziolkowski: Yes.

Features

Birgit Pauli-Haack: All right. We have a few new features. Do you want to talk us through it?

Grzegorz Ziolkowski: Yeah. Let’s start with the block support changes. In the previous episode we mentioned that gap block support feature. That was still an experiment. It was implemented on the team JSON side, but it was disabled by default. Now we have this support, there’s a UI for that. It’s pretty simple. In the dimensions panel, if I recall correctly, we have this control that allows you to change the gap between blocks. The name is still to be settled as far as I know because it has some, in the world of design there is something similar that might be confusing, but it was, you just change the numbers and it just increases the spacing between blocks. 

Related to that there is also a change in the group block. At the moment the group block has this layout option, layout control that allows you to change how it is presented. By default it just uses, every block in the group is in its own row, however this new feature is just integrated with the inserter that inserts a group block with every block in the same row. They are aligned, next to each other in one line, which is pretty nice for some complex designs. This is just, it was there in the group black, it’s just the new way of discovering this feature in the inserter, in the slash inserter when you are typing in the prompt in the editor.

Birgit Pauli-Haack: Yeah. It’s the first implementation of the Flex layout that I think Riad actually put the basis in for with 11.4. Now this is the first iteration where one block is actually using that. Of course there will be more. In the PR, if you want to follow up on that, there are some links back to the Flex layout.

Grzegorz Ziolkowski: Yeah, but I think the Flex layout we talked about one or two episodes before.

Enhancements

Birgit Pauli-Haack: Right. Yeah, but there was not a block that came with it out of the gate. It’s also part of what’s in 5.9 being the intrinsic design of pages. There will also be, another change is actually that the bug report form, which is one of the most important forms on the GitHub repo, has received some changes. The ones that are here in that release are more cosmetic but I wanted to point it out, the new template feature of GitHub is now used and they created a new bug report form to remind people of all the information that would be helpful if someone would take on an issue to fix it. I encountered quite a few issues where we needed to find out what actually the user used, what versions they are or what are the steps to reproduce it. Those are very important information. If we have to read minds what’s actually happening, we might not get to reproduce the error or the quirkiness that is and we have to go back and ask for further information. That is just delaying the time of the fixing. 

Following the form is now much easier and you don’t forget anything. I also wanted to point that out for those who are in the GitHub repo. Let us know, or let the team know when there is something to be fixed or not working right.

Grzegorz Ziolkowski: Yeah, that’s a nice change. Usually it sends up someone needs to ask for more details. After a few weeks, if there is no answer, the issue is closed, which isn’t something we really want. It is just the reality because we cannot reproduce the issue.

Birgit Pauli-Haack: Yeah. There’s no questioning the experience of the person who posts it, it’s just we need to see it, we need to be able to reproduce it to locate where the code change needs to happen to actually fix it. It’s just saving a lot of time and being very specific in what’s not working. Yeah. Yeah. Next the block library has got some new enhancements. One of them is using the block gap between column blocks, so that is another iteration of a new feature. Now you can….

Grzegorz Ziolkowski: Yeah, but this has only changed on the CSS level for now. As the rich table in the PR set, it’s a stop gap for block gap.

Birgit Pauli-Haack: Nice, yeah.

Grzegorz Ziolkowski: Fun with words. Yeah, but that’s the direction, I guess. Most of those layout related blocks should start using those design controls, elements, to make the experience more cohesive. That in general is the direction where it’s heading.

Birgit Pauli-Haack: Yeah. There was an article in the WP Tavern about what controls somebody could use, should use or should be having out of default and not changeable, who’s having control over themes? I think there were some misunderstandings. Matías went into the comments section and clarified a few things regarding that. If you come across an article go into the comments and see what Matías has to say as well. Matías Ventura, the spark of Gutenberg, just to reiterate that. 

The video block got an enhancement to use the existing video poster image on insert. The video block has become quite powerful and quite flexible. There are six or seven different settings that you can have in the sidebar that you can switch on and off. This issue or feature is now that, once you assign a poster image to the video the first time, it remembers it. When you embed it into a page or post again, because it’s in a different context or it’s in a series of videos or something like that, you don’t have to assign the poster image again, it will remember it. It’s all about the effort to streamline the content creator’s workflow.

Grzegorz Ziolkowski: There is also a change in the query pagination next and previous blocks. They are very low level blocks that construct the query pagination, which is part of Query Loop Block, but it shows how flexible the InnerBlocks paradigm is. There is now an arrow attribute that syncs next/previous block arrows.

Birgit Pauli-Haack: Yeah. It was there before, but it wasn’t really good, visible in the sidebar or for people to check on. Now they are real settings that are big buttons that you can click so it changes. You were always able to change the text of your pagination from next to previous page or something else. You say low level, but it’s also quite an important block because, when you get to full-site editing and you write your own templates and you have a list of block posts from a category or from a tag and you have multiple pages of those, you want that query pagination to be available and also be usable. It’s quite interesting, especially for publishers that have online magazines or so.

Grzegorz Ziolkowski: There’s also a change in the post outer block. You’ve got duotone support. At first I was surprised seeing that, but there is an avatar or the image of the user which got this feature, which is, again, a good to have way to apply similar effects to all images on your page.

Birgit Pauli-Haack: Yeah, or just make it blend in more into the overall design because it’s a small avatar. To normalize it amongst all the others that you have on your site. There’s also, the wide alignment control now is only available if the theme provides the layout wide size setting. I think that’s a change to, so you can adjust that setting through the theme JSON again and not have to … yeah, you don’t have to do it through the functions PHP now.

Grzegorz Ziolkowski: Yeah. I think in the past you would enable full and wide at once, so it just gives you more grand control over those features.

Birgit Pauli-Haack: Yeah, you can now decide, okay, I only want the wide but not the full, or you only want the full but not the wide kind of thing. Yeah. That’s a good point. Yeah. Thank you.

Grzegorz Ziolkowski: There is also a quite important change for the navigation screen that’s being in the works and preparing for the final release. They are the undo and redo buttons in the editors, it’s the same feature that you have for the post content editor in the headers, it was just missing there. Definitely an important change.

Birgit Pauli-Haack: Oh yeah, yeah. All in the streaming of the content creator’s workflow. Streamlining, yeah.

Grzegorz Ziolkowski: Yeah. It’s also related to the keyboard shortcuts. Some of you probably use command Z and command X. No.

Birgit Pauli-Haack: The redo? I don’t know. I never redo, I only do undo.

Grzegorz Ziolkowski: Yeah, command Z is the most popular one because you want to go back.

Birgit Pauli-Haack: Yeah, I need to find out what the keyboard….

Grzegorz Ziolkowski: Yeah, check this out in the Gutenberg editor when you go to the header and there is three dots, menu, then you have keyboard shortcuts as one of the options. That’s the simplest way to check all the shortcuts and learn new if you don’t know them yet.

Birgit Pauli-Haack: Yeah. Yeah. There were other changes to the navigation screen. I just wanted to remind our listeners that it’s not yet in the plug-in per se, it’s still in experimentation so you need to go to the Gutenberg menu and the WP admin experiments section and then check the navigation screen so you can test it for yourself and try and help us get it tested and do a lot of bug fixes, bug reports there. There is also a change, the REST API team is working on creating the end points for the navigation editor for the menu. At the moment I think it’s all through the admin Ajax. The final version will use the REST API like any other places in the block editor.

Yeah, speaking of screens there’s a widget editor. It now received a widget group block for the widget screen which is quite nice now to follow the idea of classic widgets where you have a heading and then a widget. You can change the title of it and now you can add the heading and the widget into a group and then get it a little bit more contained and keep it together, style them and have a background of it and all that. It’s more what the user was accustomed to when dealing with widgets, the widget group helps with that.

Grzegorz Ziolkowski: Yeah. I would say it’s more to bridge the experience for everyone familiar with the widgets old screen. It seems like a good change in that regard.

Birgit Pauli-Haack: I like it, yes.

Grzegorz Ziolkowski: I don’t know how it works technically. When you insert a widget does it wrap it with the group out of the box now?

Birgit Pauli-Haack: Yeah. I think you can highlight, like you do in the post editor, you highlight the things that you want to group and then you transform it into a widget group.

Grzegorz Ziolkowski: Okay.

Birgit Pauli-Haack: Yeah. The widget group has all the group block settings as well in the sidebar. All right. 

There are some enhancements for the global styles or fixes. Now you are able to disable text and background colors via the theme JSON. I thought you were doing that before, but maybe it didn’t work.

Grzegorz Ziolkowski: Yeah. As far as I know it’s related to some mock-ups that were presented. The idea is that you would be able to disable almost all the color customizations one by one. Maybe that worked only for the link before. There’s a few.

Birgit Pauli-Haack: Yeah, yeah. I think they changed a little bit the logic on how sub-components are shown in the color panel. Link color is enabled when the block supports it, the theme supports it, it’s launched by default. Yeah, it needs to be switched on or even the presets contain some solid value or the custom colors are used. Presets have some color. You need some color presets and the same is true for the text color, the background color and the gradients, although the gradients, you need to have either the custom colors in there or it’s empty, it’s disabled. For both the link color, text color and background color the block needs to support it, the theme needs to be supported and the defaults are different for each of them. Then the presets need to contain values for it. That’s quite a good set of logic there. 

Yeah, they streamlined all that logic and then now they are making the global styles available for all themes. That’s in PR 34334. I like that number, 34334. The preset classes for colors and font sizes were in the block library and they are now part of the global styles sheet that’s loaded later. That’s a change in the style sheets that are included by default. Then the preset classes look like the preset dev class. There are some changes. If you need to target those classes you might want to look at this again here. There is a post.

Grzegorz Ziolkowski: I just shared a link with you from André is who one of the lead developers on the global styles project. He explains how the experience of using WordPress presets looked before team JSON and how it’s changed, how it got simplified. That would be a good read in this context. Also in the same PR that we are talking about, this 34, 334, there is a dev note sketched already that will be published later in the release process of WordPress 5.9. It also just covers what you, Birgit, just said. It’s pretty complex, so I guess that’s something that you should process at the time of learning how to use those presets.

Birgit Pauli-Haack: Yeah. Then the media placeholder experienced another change. For now you can create a URL, if you wanted to add an image through the URL of the image you only could use absolute links. It needed to start with HTTP because it was a URL input type on the placeholder and that has changed to a text input type in some verification. Also now you can actually use local URLs. If you know the URL of your image that you want to add to a gallery or to a post, you can now use local URLs and don’t have to put in the domains, which is actually good when you move the site or move the site to a different domain, or you have just an image that’s somewhere in a different place than on the WP content uploads directory. That’s definitely a good thing that’s ….

Grzegorz Ziolkowski: Yeah, I personally was surprised that when you are using an input HTML tag, when you set the tag to URL it expects the full URL. That was the original issue that caused….

Birgit Pauli-Haack: Right. Caused this change, yeah.

Grzegorz Ziolkowski: … this change. Yes.

Birgit Pauli-Haack: Yeah. I think it was only Firefox, but the browser developers are really tightening up the browsing experience. That was a part of their verification so you wouldn’t be able to add it to that.

Grzegorz Ziolkowski: There is also a quite important change for team developers. Now there are default editor styles that are applied to teams without team JSON and without editor styles. Sounds complex, but it’s just something that is even considered for the minor WordPress edits like 5.8 to now. It just adds some basic styles to all sides just to ensure that the experience is better for the block editor in particular.

Birgit Pauli-Haack: Yeah. This plays well out of the box even if the theme editor, the theme developer has not updated a style sheet for the theme. I think that’s a good place for the adoption of the block editor that we are all working towards, that more and more people adopt that, especially in the themes. If it’s nice looking out of the box and they don’t have to go back to the theme developer to style a column or to style images or the widened and full width or the media and text, that there are quirks, I think that’s a good decision now that theme developers can control it through theme JSON and their own editor styles. They can just the default styles. Yeah, that’s good work there.

New APIs

Ah, here it is. Of course, every time, and you hear me say this on this podcast quite a bit, every time you have a new feature you also need to provide the opt out of the feature. Here it is, allow themes with theme JSON to opt out of the block gap styles. There is a mechanism there how you do this.

Grzegorz Ziolkowski: Yeah, I think it’s also related to the fact that it was opt in add styles, so now that’s probably, it has become a default so now you need to have a way to disable that if you don’t like that.

Birgit Pauli-Haack: Yeah.

Grzegorz Ziolkowski: Now we moved also to the new API sections with this item on the list.

Birgit Pauli-Haack: Oh, yeah. Yeah. We have so many sections in this release note.

Grzegorz Ziolkowski: Yes, it’s very long this time.

Birgit Pauli-Haack: It’s very nice, yeah, but it’s also … it’s pretty much in the settings of your theme JSON. It’s settings, spacing, block gap, null. That’s how you opt out of that.

Grzegorz Ziolkowski: Quite a common way for all those global style related features. That’s the only item in the new API. Now it’s time for bug fixes. As usual, the list is very long.

Bug Fixes

Birgit Pauli-Haack: There seem to be not really big boo-boos that we have fixed. You find in the list under the block library fixes for the gallery block. I wanted to point out that those are referring to the gallery Refactor. This is the newly created gallery block. It’s still an experiment in the Gutenberg plug-in. If you want to do the navigation screen and test the new gallery block, you have to enable them also on the experiments screen of your Gutenberg plug-in.

Grzegorz Ziolkowski: You can always test the new gallery block on the new navigation screen and that’s two things at once tested properly.

Birgit Pauli-Haack: But don’t do this in production. It’s called experiment for a reason. Yeah.

Grzegorz Ziolkowski: I mean for new websites I wouldn’t worry at all about enabling the new gallery factor block. I think the fact that it’s in experiment still is only because of backward compatibility. 

Birgit Pauli-Haack: Yeah. I would not say only. It’s a big part. It’s a big part and it’s also part of the headaches that they have, but it’s also … if you want to switch it on and you need a list of test instructions, I’ll link in the show notes to the GitHub issue 29882, 29882, because there’s a list of 40 tests that you can do, everything that you can do with a gallery block, you should do. We are preparing, on the developer relations team we are preparing an official call for testing that would hopefully get more people involved. We will also reach out to the plug-in developers to make sure they know about the new plug-in, new gallery block and update their features. 

I know that the developer team has already tested the full plug-ins like CoBlocks and Jetpack blocks gallery blocks, but there are many, many more that need to be tested. If you have questions about that, feel free to DM me. Send me a direct message on WordPress Slack at BPH. Again, the test instructions that are right now out, that also the developers use, is the issue 29882, 29882. Of course we’ll link in the show notes. I just want to make sure that everybody knows this is coming and it’s cool. 

What’s the Refactor? We talked about it before, but we always have new listeners. The gallery block as it is now is just a feature parity with the old classic editor gallery block where you have a list of images and then they’re all pulled in, but you’re not able to do much with those images except for moving them. You’re not able to adopt styles that are only for one image. The new gallery block is now a collection of single image blocks with which come all the features that you can do from an image block like obviously duotone, be it applying styles, applying backgrounds, adding a different link to each image and all these nice features. It’s a much richer experience for editors and you have much more freedom for it. It needs quite a few testings. Because of that switch of the InnerBlocks the extensions will change as well. I tested it about two months ago and I found that the gallery plug-ins that I used were working fine, but I’m not using all of the gallery blocks. It might have changed because there was some development on that. Yes.

Grzegorz Ziolkowski: Yeah, definitely the best part here is that now it doesn’t matter whether you are changing a dual image not a standalone block or it’s part of the gallery block, you have everything unified, the same controls, the same capabilities. It’s pretty cool to see that working this way.

Birgit Pauli-Haack: Yeah.

Grzegorz Ziolkowski: Also all the extensions that you have for the image block are now also in the gallery block which is cool.

Birgit Pauli-Haack: Yeah. Cool is the right word.

Grzegorz Ziolkowski: Yeah. We are still on bug fixes. One of the changes that landed is for the writing flow, it’s in the block editor now. When you merge two blocks together the current position of the cursor is put in a better place than before. I don’t know what exactly was the issue, but it’s very annoying when you need to use arrows to move the cursor to the proper position when you change this type of modification, like when you have two paragraphs or similar text-related box.

Experiments

Birgit Pauli-Haack: Yeah. Then we get to the experiments but we have been talking about experiments before. Now you are able to put in the navigation block the site title as well as the logo and that makes it much nicer to assemble a header for a site when you use full site editing with that. It’s now really easy to have a logo and the site title and then the menu all in one line. Try it out and see if that works for you.

Grzegorz Ziolkowski: Yeah. I’m looking forward to see how the gallery block will evolve because the same feature that you have now in the navigation block could work there as well. I can imagine that you could inject a site logo also inside the gallery because why not, that would be also in some ways … you could have some designs where that would work. In general, the idea of InnerBlocks, this is what we really want because it just opens so many possibilities for designs that weren’t possible before. You had to hard code that in HTML in your PHP files and now it’s at your site, you just need to move some blocks around, insert something and then it just aligns nicely.

Birgit Pauli-Haack: It’s a good point, because now you could have, a three by three grid of images at the center could actually be a poem or something like that that is not an image but a text. The InnerBlocks really open up quite a few more possibilities, especially on the gallery block. That’s why the Refactor is so important and also that’s why it takes a little longer to merge into the plug-in because there are some things that need to be changed for backwards compatibility.

We also get, the social links now use the Flex layout. That means you can arrange the social links either vertically or horizontally I think and also have the block gap in between so you can have the distances also controlled. All kinds of different things are available now in the social links block.

Grzegorz Ziolkowski: Those design tools are really powerful. I’m looking forward to having them all stable and released as part of WordPress 5.9. I hope it happens.

Birgit Pauli-Haack: We need testers. We need people who test things. The more bugs you find, the better the release will be in 5.9.

Documentation

Grzegorz Ziolkowski: Now we are at the documentation. This section, do you see something that is a bigger one? There is a lot of typos that were fixed or some tooling that was improved like ESLint, something that is more in general for the Gutenberg project. Some improvements to bring the documentation up to date, like replacing, we select calls from WordPress data package to use, a react hook which is called useSelect.

Birgit Pauli-Haack: Yeah. Good point.

Grzegorz Ziolkowski: Yeah. I guess there isn’t anything very important that we have to mention today. Again, there’s a code quality. This section, it’s very long.

Code Quality

Birgit Pauli-Haack: But that’s your favorite section, right?

Grzegorz Ziolkowski: Yeah, I mean it depends what’s inside it. There are some changes to bring code up to date, similar to what I said about using most recent APIs that were developed and some errors which is … for those who don’t know there are some special validations for the code quality that helps us catch some bugs. Whenever they show up or the tools get updated and they are better at catching those bugs we try to fix this as soon as possible.

Birgit Pauli-Haack: Excellent. Yes.

Grzegorz Ziolkowski: There’s a lot of refactoring that doesn’t have any impact on the user interface but helps for the longer, in terms of long term support for the project.

Various

Birgit Pauli-Haack: No, I get it. That brings us also to my favorite section, the various section. There’s one item in there that I wanted to point out, that’s the vertical heading levels menu. When you insert a heading into the block editor, you get a list of levels, H2, H3, H4, H5, H6. Now you can have, the heading can now be vertical. I think it’s by default vertical now instead of horizontal as it was before so it only covers a certain different amount of content when you have the toolbar right next to the block. It’s quite nice to look at that. You just go with the mouse pointer up and down instead of left and right. That was a bit ….

Grzegorz Ziolkowski: Yeah. I think initially in the first release it was also vertical, but then, at that point, there were only H2, H3 and H4 options in the menu so it was short and it was quite easy to … on the visual level it would look better, but then you had six options like right now and there was also text for each of them. It just was too much to see H1 and heading one, this is why those iterations were applied now.

Birgit Pauli-Haack: Yeah. It also came from the query block, when you have other, not only the heading block but also the post title block or the archive title, then the context of that menu was a little bit different and you were covering up too much of that query block that you tried to template things.

Grzegorz Ziolkowski: Right, right.

Birgit Pauli-Haack: Yeah. That was the other part. The heading is now multi-usage so to speak and not just a mere heading block. Yeah.

Grzegorz Ziolkowski: Yeah. The last item is a very important one. I hope that’s not the case for our listeners, but if you are using WordPress 5.6 then the Gutenberg plug-in won’t be supported anymore in that version. You need to have at least WordPress 5.7 to be able to still use the Gutenberg plug-in.

Birgit Pauli-Haack: To use the newer version of the Gutenberg plug-in.

Grzegorz Ziolkowski: In general we recommend using the latest one because that makes everything so much easier, but we also know that, when there’s a new major version, some sites cannot be immediately updated. We wait for one more major release, but in the future we consider that this period of time would be shorter, maybe two months, three months, something like that. It also depends on the major release cycles. Now this year we have only three major releases. The plan initially was to have four. That wouldn’t be that much of an issue. With three releases it’s just too much time when we have to support code that is no longer necessary in the plug-in.

Birgit Pauli-Haack: Yeah. To make this specific, if you are on 5.6, only Gutenberg plug-in until 11.4 will work with your WordPress. You can use the plug-in but you won’t get the updates after, unless you upgrade to the next version, 5.7, in your WordPress. I don’t know if I made it clearer.

Grzegorz Ziolkowski: Yeah. I don’t know, I don’t want to test that, but ….

Birgit Pauli-Haack: Well if you have any questions, yeah.

Grzegorz Ziolkowski: Encourage everyone to stay on the latest major version which is 5.8.

Birgit Pauli-Haack: Yes, 5.8.1, yes. All right. 

This was the Gutenberg 11.5 Changelog. It’s quite an interesting mix on that, but most of them are design tools and theme related and some of them are related to some blocks and also for the content creator flows. It’s a nice release again with a lot of people bringing … we have quite a few new contributors now on the Gutenberg repository which is a nice change.

What’s in Active Development or Discussed

Now we are coming to the section of what’s in active development or discussed. Because it’s so … the next big thing that comes into WordPress is the navigation block and screen, or that’s what everybody’s hoping. Daniel Richards posted an update on what are they working on. Of course it’s slow progressing and they’re migrating the navigation editor, I mentioned it before, to the REST API. Those changes have been merged and it’s all updating now. Lots of UI changes that are working now, the top bar, the editor top bar being updated, the main block inserter added and then fixes for the block styles. 

Now I can put the important part, good discussion is on the way, he writes, on how to provide backwards compatibility for custom fields on existing menu screens. That covers the part where now the plug-in advance custom fields has a section where you can augment the menu, in the classic menu, with additional fields and additional information. The discussion on that issue is how far should that … the team works under the assumption that it needs to all be backwards compatible and it’s the issue … if you want to follow up and not go to the show notes, 31551 is the issue with the navigation screen menu items custom CF options. There’s a discussion, Elliot Condon, the lead developer on the plug-in, is in the discussion as well, so help make this, we need you to also chime in.

Then what they’re working on next is that they want to have … in the current editor, menu editor you can say, “Okay, give me all the posts or all the pages.” You’re bulk adding links to your menu, that’s still in the works for the navigation screen, the block-based navigation screen and also to have theme JSON controls to configure the navigation block further. That still is in the works.

Grzegorz Ziolkowski: It sounds like a lot of work to me.

Birgit Pauli-Haack: Yeah. Those all … yeah.

Grzegorz Ziolkowski: Yeah. I’m sure all of those tasks are in progress, however to take them to the finish line is going to be quite a huge challenge because we have four weeks between go/no-go dates, so it really depends. Also I could envision that the new navigation block would be included in core but maybe not the navigation screen. There is a lot of ways to proceed in this regard. Let’s see how it works. I hope that the screen will be enabled. Opt in is the only option they consider, similar to the widget screen, that you need to enable yourself.

Birgit Pauli-Haack: Yeah. Yeah. I think so, especially with the backwards compatibility. These menu plug-ins that are out there, it’s not only the advanced custom fields plug-in that modified the menu pieces or menu entity or the link entity in the menu screen or menus, there were other plug-ins, albeit the Mega Menus, albeit some others. They need to be backwards compatible. Oh, the other part was naming menus. When we build sites we sometimes have a footer menu, a header menu and a main menu and we need to name them and make them available to pull in into any other screens there and make them available for full-site editing as well. There are a few things that this powerful feature in classic WordPress, it’s hard to reproduce it and be as flexible as it is now.

Grzegorz Ziolkowski: Okay. That’s all about the announcement. I just wanted to remind that I’m taking time off. Unfortunately that coincides with the next Gutenberg release. Together with Birgit we decided to skip recording in two weeks. We cover two Gutenberg plug-in releases in one episode and that should be available for you in four weeks.

Birgit Pauli-Haack: That’s right. We will take a break from the podcast. I hope you are subscribed to the newsletter of the Gutenberg Times so you can still get some updates in between, or just visit the website in between. 

Before the end of the show I want to remind you that there is actually a live Q&A coming up on October 7 at 16 UTC, 11 Eastern, when we discuss the building, going from building classic themes to building block based themes with Ellen Bauer, Carolina Nymark and Andres Norén. We will entertain you there and answer all your questions. I’m thinking I will ask them to actually stay for, instead of 60 minutes to 90 minutes, because we will have some demos and we want to make sure that we answer all your questions.

There will be a link on the homepage of the Gutenberg Times and of course we will have it in the show notes. 

As always, the show notes will be published on GutenbergTimes.com/podcast. This is episode 52. If you have questions or suggestions or news you want us to include, send them to [email protected]. That’s [email protected].

Grzegorz Ziolkowski: I just wanted to remind that you also can reach out to us on Twitter. My handle is G-Z-I-O-L-O. You, Brigit, is B-P-H, right?

Birgit Pauli-Haack: Right. Right. Well I say thank you, Greg, Grzegorz, it was again a great pleasure talking to you. I wish you a wonderful vacation in Greece. Until the next time.

Grzegorz Ziolkowski: Thank you, Birgit and our listeners for being with us. You, Birgit, I wish you a pleasant flight back home. See you all in four weeks.

Birgit Pauli-Haack: All right. That’s it. Thanks for listening. Goodbye. 

by Birgit Pauli-Haack at October 16, 2021 07:45 PM under WordPress

Gutenberg Times: Changelog #51 – Automattic Becomes a Sponsor, new Gallery Block, Theme.json, and Gutenberg 11.4 Release

Birgit Pauli-Haack and Grzegorz (Greg) Ziolkowski discuss Automattic becoming a sponsor of Gutenberg Times and Gutenberg Changelog, Classic Editor, Frontity, Theme.json, the Gutenberg 11.4 Release and more.

Show Notes / Transcript

Subscribe to the Gutenberg Changelog podcast via your favorite podcast apps!
🎙️ Spotify | Google | iTunes | PocketCasts | Stitcher |
🎙️ Pod Bean | CastBox | Podchaser | RSS Feed 

Show Notes

Announcements

Community Contributions

What’s Released

WordPress 5.8.1 RC, final release September 8th, 2021

Gutenberg 11.4

What’s in active development or discussed?

The theme.json horizon by Matias Ventura

Discussion on Twitter and beyond: Building Blocks with JavaScript and PHP

Did you like this episode? Please write us a reviewhttps://lovethepodcast.com/gutenbergchangelog

 

If you have questions or suggestions, or news you want us to include, send them to [email protected].

Please write us a review on iTunes! (Click here to learn how)

Transcript

Birgit Pauli-Haack: Hello, and welcome to our 51st episode of the Gutenberg Changelog podcast. In today’s episode we’ll talk about Automattic becoming a sponsor of Gutenberg Times and the Changelog, theme.json, Gutenberg 11.4 release and a lot more. 

I am Birgit Pauli-Haack, curator of the Gutenberg Times, and I’m here with my co-host, Grzegorz Ziolkowski, JavaScript developer at Automattic and WordPress core contributor. Hi, Grzegorz, how are you today?

Grzegorz Ziolkowski: I still feel energized and extremely excited after all the big news shared this Monday in the context of the Gutenberg project. Maybe you should speak first. How have you been lately? Has anything interesting happened?

Birgit Pauli-Haack: Yeah. That’s funny. Yeah, it’s been a wonderful week, though. 

Announcements

I have fabulous news and some of our Gutenberg Times subscribers already know that. People who follow me on Twitter know this, but I’m thrilled to announce that on Monday, August 30th, I started as a developer advocate at Automattic. Grzegorz and I have been co-workers for five days now.

Grzegorz Ziolkowski: Yay! Congratulations. I can’t think of anyone else who fits better for this role. 

Birgit Pauli-Haack: Oh, thank you. You’re too kind. Like many people who responded and shared on Twitter, many are podcast listeners, as I said, and I was overwhelmed by all the kindness in the WordPress community. Thank you to everyone. Sometimes Twitter really shares its love and I took it all in. Well, it was overwhelming, and a lot of people have reached out. And so thank you. 

So, Automattic is now main sponsor of the Gutenberg Times, the Changelog podcast, and our live Q&As and my work working on it. 

Being part of the WordPress developer relations team feels like coming home to me. And I’m deeply grateful for Automattic for offering me that position. The best is yet to come for Gutenberg and publishing with blocks. I’m elated to be part of an astonishing team that takes the worldwide WordPress community to the next journey.

Grzegorz Ziolkowski: Yes, so I’m really glad that you will be able to dedicate 130% of your work time to help people to get to their next level when hacking with Gutenberg. And I’m highly impressed with what you were able to achieve as a volunteer, in addition to other duties that help you to pay the bills. So I can also imagine how much of an impact it will make on the community now. I said there is more news to share. What else has happened?

Birgit Pauli-Haack: Well, on Monday, Frontity announced they joined Automattic too. So Grzegorz, can you describe what Frontity framework is, and how this fits into the Gutenberg roadmap?

Grzegorz Ziolkowski: So for those who don’t know Frontity, it’s a … how they call it? Server-side dynamic framework for headless WordPress sites and blocks. So in some ways, it’s similar to Gatsby for those who know the space of headless or decoupled WordPress. The biggest difference is that Gatsby, it’s a static site generator, which means it generates HTML files, JavaScript files, and it just runs on your server, so you don’t need Node.js server, whereas Frontity uses Node.js. 

So it allows you to create a sort of front-end theme that is for WordPress, and that’s run in Node.js. And it uses the content you create including the content with blocks, and it adds some additional functionality to it like nice page transitions. It adds some dynamic features like for images and there are plugins that can apply some changes to that so it’s really interesting. And the best thing here is that Frontity as a framework, in their announcement post, they said that they are planning to pivot their efforts to WordPress core.

Birgit Pauli-Haack: Yes, but so Frontity runs in ReactJS too, right? Not only Node.js but ReactJS, okay.

Grzegorz Ziolkowski: Yes.

Birgit Pauli-Haack: Yeah, no, that’s awesome. So Matias Ventura, he’s a member the developer experience team at Automattic and lead architect at the WordPress Gutenberg project. He wrote that, “I’m really impressed with the effort and care the Frontity team has put into the work over the past few years. We are at a cusp of exciting new opportunities for Gutenberg and I cannot wait to start collaborating together on making the experience of developing with it a joy to behold.” So that sounds like a great pivot for Frontity to just be a framework to actually bring everything into Gutenberg, as you said, yeah.

Grzegorz Ziolkowski: Yeah. So I see it more like they bring their experience. And they will try to replicate some of great ideas they had in the Frontity framework, and find ways to achieve the same goals inside WordPress core, which would benefit so much bigger audience. I’m thinking about developers, but also for users on the WordPress. And I’m also beyond excited about the plan they outlined in the post.

So they said that, “Automattic offered to sponsor our team to work directly on the WordPress open-source project, and in particular, to contribute our expertise in developer experience, front-end tooling, performance and user experience to the WordPress core itself.” So this is exactly what I just said. And actually for me, who is focused around experience with building blocks, it’s really great how this expertise can bring the project to the next level, and our efforts to making full-site editing so performant and optimized for bringing only the assets you need, bringing what’s missing the most now is that the block editors is focused on the WP Admin but on the front-end side, we need more interactivity and more better experience of global sites, the first step but Frontity bringing their own experience can fill the gaps in other areas.

Birgit Pauli-Haack: Yeah, yeah. And I have seen that there are also developer relations people with Frontity, so I’m glad we will definitely be able to learn from them. What I missed early on was talking about the developer relations team. It’s actually now a band of five with Anne McCarthy and Daisy Olsen being there for almost over a year just wrangling the whole thing by themselves. And then Tara King was joined, and then Ryan Welcher and myself, so we are band of five. 

And I think there are two people coming away from Frontity, but I’m not quite sure yet. We haven’t even as a team yet have … because we’re all new. So we’re all in support rotation right now at Automattic and at the WordPress forums. So I think next week is going to be the bigger week where we’ll co-organize everything a bit better. Yeah, so but there’s exciting news for the future of Gutenberg and there’s also some good news for some other site owners, agencies and developers. The WordPress core committers officially extended the support for the Classic Editor plugin all through 2022. 

This gives everyone another year to migrate to blocks. Josepha Haden Chomphosy wrote, “Still, if you have been putting off using the Block Editor, this is an excellent time to give it another shot. Since it first appeared in 2018, hundreds of WordPress contributors have made a lot of updates based on user feedback. And you will be pleasantly surprised how far it’s come.” Of course, most of our listeners know that, about all the huge changes because we haven’t been shutting up about them. But it’s definitely an interesting year now for the Gutenberg project and migrating to Gutenberg because all of a sudden, it has a much better picture of the final version or the final vision. Not the version, it will never be done, but yeah, final vision. 

And also, now that quite a few APIs are settled, there is a great creativity amongst developers and we’re going to talk about it a little later in the show. But on the WordPress Tavern, Justin Tadlock also interviewed core committer, Jonathan Desrosiers. And he had some more details on their approach towards maintaining the plugin beyond 2022. So we will share that link in the show notes like we will all the other links in our Announcement section here, that’s now quite big. Yes. Anything to comment there, Grzegorz?

Grzegorz Ziolkowski: Yeah, I mean I wouldn’t be surprised if there were listeners of this podcast that still use the Classic Block plugin. And this is mostly because you might have a site that is no longer developed and it just doesn’t make too much sense take therefore to migrate that to blocks. So there are always use cases like that. So I’m really happy that the support is extended. But eventually, I think that it would be good to say that it’s only a plugin. And if you want to, just keep it installed, and the community should take over the effort, because it’s a lot of work to keep it up to date. And it’s not something that we want to have forever.

Birgit Pauli-Haack: Well, and funny, you mentioned that. I have quite a few sites, and it might surprise everybody to hear that, quite a few sites that are actually on Classic Editor. We have taken them over about two years ago or some of them three years ago. And the theme is that Franken theme, like where all the plugin functionalities within the theme. And then there are plugin that we could build and separate out. But the theme, it does the custom post types, and then relies heavily on advanced custom fields.

Even they have a blocks kind of building thing, there is no migration work done between former advanced custom field sites to migrating to blocks. That’s one thing. I own this one site where there are thousands and thousands of posts on them that there’s no bulk, reliable way to migrate those over. One site is so old, or that was designed in 2012. So it’s not even responsive now, or the responsiveness is kind of really clunky, but the content creator has used a lot of HTML tags within his postings. And it’s an elaborate layout. Making that into Gutenberg blocks is very, very, very hard. But those are the projects I will be handling sooner or later.

But yeah, there is a good reason to stay in Classic Editor for another year or two or three. But yeah, you’re right. Once in a while, it’s probably needs to be taken over by the community. And there are actually a few plugins already in the repository that go a little bit further than the Classic Editor. One of them is by John Starr, and it says Disable Gutenberg. And it also covers the classic widgets section from that. So yeah, just a little side note, yeah.

Grzegorz Ziolkowski: One question. 

Birgit Pauli-Haack: Mm-hmm.

Grzegorz Ziolkowski: So why don’t you stop upgrading WordPress, like keep it on 4.9 and just take the security updates? Isn’t that the best option to feel safe about the future of the site?

Birgit Pauli-Haack: Well, I think sooner or later that most people would actually appreciate Gutenberg as a user interface and getting block patterns rather than a section of, I don’t know, two pages of ACF Meta Boxes and they don’t have a clue how it looks, as long as they don’t hit preview and see how it looks on the front-end. And so, I think the advantages of using Gutenberg for even a big site that has a lot of layouts would be even better. So a migration sooner or later needs to happen. 

Also, not only for that, but also we have new editors come online, all the knowledge is kind of outdated, or they see it on other sites. And that’s a WordPress skill now, to work with Gutenberg. And now they come to a publication that doesn’t use them, it’s anachronistic. It takes the fun out of it, pretty much. It takes the fun out of me when I need to use the Classic Editor because, “Oh, it would be so much easier to do it in Gutenberg and we can do so many more things.” So sooner or later, we need to think about migrating these large sites.

Grzegorz Ziolkowski: Yeah. So I guess the reason is that you want to stay with the latest WordPress to get all the updates and make sure that the plugins are still compatible, and they also get updates, right?

Birgit Pauli-Haack: Right.

Grzegorz Ziolkowski: Yeah, I mean, it makes a lot of sense. I’m just mostly curious. 

Birgit Pauli-Haack: Yeah, no, I totally get it. Yeah. Especially that-

Grzegorz Ziolkowski: Yeah, I guess we can move on. 

Birgit Pauli-Haack: … I think we have to otherwise we’re getting a little long, yeah.

Community Contributions

Grzegorz Ziolkowski: We can move on to Community Contribution. So I only wanted to highlight two full-site editing themes that I found out about recently. One of them is called Frost and the other one is Aino, I don’t know if I pronounced that right. And they are very interesting. And we’ll leave the links in the show notes as usual. And one of those themes had a very interesting idea because it was like a master theme that had a collection of block patterns. 

So it’s like you have many different target groups in one theme, but you can select that through pattern, which is pretty interesting idea. It’s like a sort of block patterns directory inside the theme, which is something new. I like those explorations in the community that happen right now with all the new possibilities. So Aino is also targeting e-commerce websites. So that’s also quite fine. 

Birgit Pauli-Haack: Yeah. So Aino has been built by Ellen Bauer and Manuel Esposito, I think, the theme developer shop out of New Zealand. And Ellen Bauer was already part of our live Q&As talking about full-site editing early on. And Frost WP is the full name of the site, frostwp.com, started by Brian Gardner. And Brian Gardner has been around the WordPress community for ages. He was the original founder of the Genesis framework, which was then sold to WP Engine. 

And he has started now, with the full-site editing in mind, a new theme base called Frost WP. So both themes are not done by new people. They evolve their own coming from the Classic theme going into full-site editing theme and going in full speed. So it’s really exciting to see them grow and work.

Grzegorz Ziolkowski: Yeah, pretty inspiring to see those full-site editing themes growing. And I also wanted to report that I did my homework, and I caught up with the new Tell Me About Blocks podcast, which is hosted by Michael Schneider. I guess he’s from Germany, right?

Birgit Pauli-Haack: I think Australia, but I haven’t done my homework yet. I haven’t connected with him yet, which will happen. Michael, if you listen to this, expect a ping from me.

Grzegorz Ziolkowski: Yeah, so if you look for inspiration how to build blocks, or extend their capabilities inside the WordPress Block Editor, then I strongly recommend listening to both published episodes. I enjoyed the one with Rich Tabor a bit more because he has outstanding experience in the field and he profoundly understand the project’s visions. So I wouldn’t feel comfortable saying that he’s a representative of the Gutenberg core team and put him on the spot and talk about Gutenberg. He deeply understands how it all should work.

Birgit Pauli-Haack: Yeah, and I followed Rich Tabor from the beginning of his CoBlocks plugin that came out quite early. He built it with Jeffrey Carandang together. Listened to him at the Boston WordCamp in 2019. And he had some great philosophical ideas on how to build blocks in terms of what needs to be in the toolbar, what goes into the sidebar, and how to approach metadata and options data that need to be built into the Block Editor as well and how to handle those. 

So it was quite an interesting way. So he publishes also on richtabor.com, with blog starts about theme.json, about his experience, and what he thinks how everything should work and how it works. 

What’s Released – WordPress 5.8.1 RC

Yeah, this brings us to our What’s Released section, and we have a release candidate for WordPress 5.8.1. And it was released two days ago on September 1st, and it has 41 bug fixes to core and about 20 bug fixes to the Block Editor. Although there are 20 release pull requests as you mentioned before we started recording, Grzegorz, not all of them are part of the bug fix. Some of them are just PRs that need to be added so the other PRs would work.

Grzegorz Ziolkowski: Yeah, so Gutenberg developed so fast that we introduce some technical changes that just are related to, let’s say, code quality, and then it makes it difficult to backport the actual bug fixes. So that’s why it took 20 commits, instead of let’s say, 10 or 15.

Birgit Pauli-Haack: Yeah. So we will share the show notes to the release candidate post on the core Make blog with all the track tickets and PRs that went into it. The release date for it is September 8th, unless, of course, any additional fixes to be made. But that’s expected to be Wednesday, September 8. 

Gutenberg 11.4 Release

And then we had Gutenberg 11.4 release.

Grzegorz Ziolkowski: Finally. 

Birgit Pauli-Haack: Finally?

Grzegorz Ziolkowski: Finally, the Gutenberg plugin.

Birgit Pauli-Haack: Yeah, do you want to start out with what the most important things are?

Grzegorz Ziolkowski: It’s one thing that I marked like we said and big font is the change that converts the Gallery block to use Image block. So it’s a concept of having composed log of several blocks, I mean, two blocks at the moment. So this change is still behind an experimental flag. So you need to go in the WP Admin to the sidebar. And there is Gutenberg, and there is Experiments page, and you need to mark the checkbox and save the settings to enable this new version of the block. 

There are several reasons that were covered with the dev note that we talked about, I guess in the last episode. We will include the link to the dev note. This change is planned for inclusion in WordPress 5.9. So we encourage all the block authors and theme authors to check out this new version, because there will be some incompatibilities. It’s mostly because the markup has changed, and it might break some CSS styles. 

There are also some plugins that do transforms between Gallery blocks to something else or vice versa. So that needs a lot of testing, it was tested extensively already, because it’s a huge change, which brings a lot of opportunities. And the best way to check it out is look at the release post for the Gutenberg plugin, which shows that demo, and it’s really nice. 

It shows how you can move images, you can change every individual image the same way as you modify a single image. So, that’s a great way. You can use drag and drop now inside the Gallery block. It’s just an excellent change. And of course, the plugin authors can do any change they wanted. Usually they can allow you to use other blocks inside the Gallery block, it’s very exciting.

Birgit Pauli-Haack: Yeah, it’s totally … I love to see…. I have experimented with it a bit. And yeah, I like that you can have a different style for each image. So you can have rounded corners for one and circles for a speaker list or something like that. Or each image can have a separate URL now. So when you do a speaker section, that each speaker gets its own link to the profile or the session; just thinking about online conferencing right now, I guess. But it’s really exciting to see how that works. 

I actually tested this PR a couple of months ago. And I was really amazed how it worked quite well with some of the plugins that you mentioned, Grzegorz like CoBlocks Gallery, or others that had a gallery modification. The three ones that I worked with, were quite compatible with it. I know that Glen Davies, who spearheaded the refactor of the Gallery block also did additional testing with that. He tested them with the Jetpack blocks and Lightbox for the Default Gallery & Image Block.

So, I mean, he also made a point in testing the three default themes, as well as Astra and Arbutus. So it’s all in the developer note that he published and which you will find a link in the show notes as Grzegorz said. Yeah, but I’m really excited about this. I think this is such a great way to put a huge photo gallery together and make it work on a website, yeah.

Grzegorz Ziolkowski: Yeah, and just to add more, so now in the Gallery, you can apply image editing, so you can crop the individual image. You can add duotone effects. It’s so powerful because of this change.

Birgit Pauli-Haack: Yeah. And all you learn with the Image block, you can certainly apply to the Gallery block now. And you don’t have to use two different ways on image handling. So that’s definitely an advantage of reducing the cognitive load and expand the horizon a bit. Yeah. So what else is in there? Good. All the next things seem to be like an anticlimax to that. 

Enhancements

But the Cover block now; you can allow an alt text now for your Cover blocks, which is a great accessibility necessity. The Block Lists is now improved, the iframe block, patterns and template previews. So it’s easier to see what you’re getting when you go through the list. What else?

Grzegorz Ziolkowski: There are a couple of changes to Post Featured Image. So it was pretty basic before but now there is support for duotone. They added the scale property, so which allows you to change how this Post Featured Image is displayed inside the block. And as far as this Post Featured Image can fit to the space it has, it can be somehow like constraint and something like that. So there is some contextual help now added to make it clear what it does, really. And there is now, for other blocks, there is font weight support that was added to several blocks, like Post Date, Post Terms, Site Tagline, and the Button. And yeah, basically, it’s a constant effort to add those features to more blocks.

Birgit Pauli-Haack: Yeah, to add more controls to more blocks. Yeah. So I think what I learned with Gutenberg was that well, first, one block gets an extension like the font weight controls, and then once that is finalized, it will be replicated for the other blocks, or other blocks get the support for that, and then it’s tested, how that would work out.

So, I really like that to kind of have additional testing in there before it’s rolled out to all the blocks. Yeah, and that way, the Button block received the spacing support that uses axial padding. So you can have also horizontal and vertical padding for the buttons now within your Buttons block, which is a feature that was requested quite a bit for Gutenberg. And because many, many block suites actually had that built in almost from the beginning, but so now it’s in core. Yay!

Grzegorz Ziolkowski: So this is….

Birgit Pauli-Haack: … Yeah.

Grzegorz Ziolkowski: Yeah, mark, also some changes, because we have those editor feature preferences. And they were reimplemented now on the Widgets page, on the Site Editor page, on the Post Editor page and now they are extracted. And the idea is to have one common interface to use on all screens and share the logic. So that needs to be tested by all the users because there might be some bugs. I would expect that because there is some technical challenges in how to migrate that and store it in the browser. So when whenever you refresh the page, you have still the same settings, they are stored in the local storage.

Birgit Pauli-Haack: When you talk about feature preferences, do you have an example of that?

Grzegorz Ziolkowski: Yeah, sure. So when you open the more menu like the one on the top, on the right side, and then you have fix my toolbar to the top, disable the full screen mode, and things like that, so some of them are present on all screens, some of them are specific to the given screen, but the code that powers that is now in one place.

Birgit Pauli-Haack: Oh, okay. So for all the three editors, it’s all at one place. And if you change it for one, you know where to change things? Is that answer the past or it’s now getting closer to thinking about taking those preferences out of local storage and put it into user metadata or is that still a ways off?

Grzegorz Ziolkowski: Oh, this one is actually in progress for two years or something like that.

Birgit Pauli-Haack: Right, right. But I can understand.

Grzegorz Ziolkowski: So we are aware about this limitation. So the first exploration was to use cookies. And because there is some API already that uses cookies in WordPress. However, cookies have limitations in the browsers. In some of them it’s four kilobytes and in turns out that it’s not enough for the settings that we want to store. So yeah, there is a REST API-based approach that is close to land, but it never happened. And definitely….

Birgit Pauli-Haack: … No, I can see why. Yeah, I can see why it didn’t happen. Because the editors’ screens were not yet finalized. Because many people knew that there will be a Widget screen, there will be a Navigation screen and then there will be a said editor screen. And the other preference were not yet settled completely over all for different editors. So I can see why it didn’t happen. But it was also not kind of clear to me that that’s the reason. Yeah because-

Grzegorz Ziolkowski: … It’s also complex from the user perspective because now it’s the question. So now, you said that you don’t want to have full screen mode. The question is, “If you don’t want to have it only on one of the screens or it should be applied to all screens?” And now we have it in one place, we could consolidate that and give this option that this option should apply to all screens. But that would now like these user-experience questions. 

And there’s also other questions. So once you pick something; now I am on the mobile that have a small screen. Do I want to have fullscreen there, or it should apply only to the desktop? So there are so many combinations that make it really hard to build a good API.

Birgit Pauli-Haack: … Yeah. I imagine. And there’s also the question, “Okay, if we do it for our editor team, but when I’m an administrator, do I want to change that setting again?” Yeah, that’s another level there. So I can see why that hasn’t been finalized. But then if you really want to have your editor screen, I don’t know what Marias Jensen does, he has this plugin where he stores these kinds of preferences, actually, in the user database, how he manages that. So it’s interesting to see, yeah once that’s explored, where it goes. But for this release, all things are now in one interface package. So that’s a big start in that direction.

Grzegorz Ziolkowski: Yeah, but the changes are applied per screen. So when you change the… what is it, your toolbar displayed, it will only apply to the given screen for now. But in the future, it has to be decided and we are looking for feedback. So new listeners, if you want to chime in, just open an issue and propose how you would like to see.

Bug Fixes

Birgit Pauli-Haack: Yeah, I like that. This brings us to the Bug Fix section, and there were quite a few small bug fixes. We are pointing today to the design tools section, which fixes a bug that now allows zero values for those theme.json styles. So the theme.json style generation. So, a quick side note. I had a conversation with a Jason Crist, who is on the theme team at Automattic and he said we need to make a more a … he didn’t say we need but I learned that it might be helpful to say, JSON, when you mean the JSON file, and Jason when you mean the person named Jason. It’s really hard to do this, or you change your name to JSON, like Jason Bahl did, the WPGraphQL plugin developer. Anyway, so what’s up with zero values in the theme.json styles?

Grzegorz Ziolkowski: So global styles it’s like a new specification of CSS written in JSON. And you know that the issue was that it was possible to write the string 0px, like pixel, but when you were providing a number or the string with zero, it would filter it out because JavaScript or PHP would consider it empty. And so, they fixed that and those values are also allowed.

Birgit Pauli-Haack: So like I could open that I don’t want any gradients by adding the gradient but leave the array empty and it would actually disable gradient?

Grzegorz Ziolkowski: Maybe, I don’t know about that basically. But for the field or property, it was quite important. To have padding equal zero is quite common if you don’t want to provide the unit all the time.

Birgit Pauli-Haack: Mm-hmm. Excellent. 

Performance

And that brings us to the Performance section of the changelog, and there is one that now provides a batch function to the data module to batch actions. I recognize the words, but what does that mean?

Grzegorz Ziolkowski: It’s like there’s a new API in the WordPress data package that allows you to combine several actions, which means changes to the state of the application. So that prevents that on every change, you would have re-render of your UI. So it just waits until other actions get applied and then sends the signal, “Okay, components, you can check out for changes now.” So instead of having several renders that most of them would be wasteful, it just waits for the better time for do it. And it’s pretty common technique that I’m surprised we didn’t have it before. And all agreed about that. 

Birgit Pauli-Haack: Yeah, yeah. Okay, good. And does it add to performance gains?

Grzegorz Ziolkowski: Yeah, on the PR did. However, when I looked at that post and the metrics chart, at the bottom of it, I didn’t see any differences. So it’s really hard to see impact of one PR, because there are other that could downgrade the performance. 

Birgit Pauli-Haack: Good, excellent, thank you.

Grzegorz Ziolkowski: In theory, it should make a difference when applied on a larger scale.

Birgit Pauli-Haack: All right, now you’re going to take us into the Experiments?

Experiments

Grzegorz Ziolkowski: Yeah, I can talk about some of the experiments because I developed two of them, I guess. And so one change that we are looking into is when you have these blocks, like Gallery is now a good example. When you turn on the experiment, you have Gallery block and an Image blocks. Sometimes, you go to the Image block, and you just want to apply something to all blocks like let’s say, there’s some alignment option in the Gallery block you want to take the space of the full canvas, or the… how it’s called, a full and wide, or like regular. So it’s like going back and forth between parent and child block, it’s pretty annoying. 

The idea is that you could do two things. One is dock the toolbar that it always is anchored to the parent block. The toolbar is always displayed in the place when you have the Gallery block. When you enable this option, then the alignment would be also actually shared with the child block. From the child block, you could change the alignment or alter the Gallery block. And yeah, this is something for the toolbar control that is already in place. It’s still experimental. We are looking also and adding the same functionality to the inspector control, so all the controls that are in the sidebar. 

For now, there were also new refactoring to bring their groups. So that is also interesting from the plugin author’s perspective because if you have more structured way, then first you will be able to target those groups to insert your controls. At the moment, you can either add it to the general sections like next to all other controls or to the advanced one, which is pretty limiting. And in the future, we think that there will be a lot of groups that have more structured way of handling those controls. 

One exploration is to add dimensions control so I can see a follow-up with the typography or colors. It’s a better way to have these controls distributed and the user experience also would be better because you could easily remember where to find something. And that also brings another possibilities like very frequent requests from the site owners to disable some of the controls, and we don’t have controls over third-party changes. So you could at least disable the group now, and that would be a great way. And usually, that’s what you want instead of doing granularly, just tell that this group shouldn’t be there.

Birgit Pauli-Haack: No, it’s really helpful to have the single block also be part of the parent block toolbar to control those properties over all their child blocks, that’s really great. The next part was the blocks spacing. Now the global styles also have a block spacing gap configuration that you can control through the theme.json file. And it also adds support for the layout to control the gap between blocks. Tested out, global styles are still in the experiments as well. So you need to switch them on. But it’s getting really interesting now that global styles is prepared for 5.9. It’s not clear that it will be in 5.9. But we want to definitely test all those things for the user controls, and especially also to switch off user control.

Documentation

That brings us to the Documentation. There were mostly minor changes to the handbook, but one item got me excited that says, “Alphabetize the glossary entries.” Especially from a higher-level point well, there is a glossary. I looked at the PR and it’s actually the glossary on the core contributor’s handbook that has been alphabetized. So if you ever want to know what a committer is or what CRUD means or what a dev note is, the glossary, and I will put the link into the show notes, so you don’t have to dig it out. 

Well, you can look it up there. It’s quite extensive, and I really like it. Now it’s alphabetized, so you might as well find stuff. Of course, for the alphabetization to work, you actually need to know what the name of the thing is that you look up. So it might be worth reading through the glossary from A to Z is probably a good way to expand on that. Yeah, anything else in that part that you want to point out?

Code Quality

Grzegorz Ziolkowski: No, no, in fact, in the Code Quality section, that is next, there are eight items. But those are also some minor changes that I didn’t find anything to highlight.

Tools

Birgit Pauli-Haack: All right, that brings us to the Tools section. And there are quite a few PRs that have the same beginning, and that is, “Automated Changelog” and I’m really happy about that, because we go through the changelog, and if it’s well organized and structured, Grzegorz and I, we can really work through this quite easily. So you have been working with people there as well or was it somebody … Yeah.

Grzegorz Ziolkowski: Yeah, that was quite a nice team like Dave Smith, Hector Pietro, myself, and Dan Richards. So yeah, we teamed up and everyone contributing in some way. So now the changelog you see in the release post, and also in the show notes we share, it’s mostly automated. So that’s very exciting that you can see everything in this form now.

Birgit Pauli-Haack: Excellent. Yeah. And then there were some changes on the GitHub contributor template, that the form to fill out an issue has been simplified for the bug report with a form template, so you can lead along and don’t miss any information. So it short-circuits the communication line. Once you report it, developers don’t have to come back and ask you for additional information. So filling that out is really helpful and speeds up the process. And you don’t forget anything when you fill out the bug report. 

Grzegorz Ziolkowski: Yeah. It’s a nice change from GitHub, that they provided a way to make this process more like filling a form. So it’s much simpler from the user perspective because they know what they have to provide rather than skipping the previous version, and everyone just ignore most of the points.

Birgit Pauli-Haack: … Yeah, yeah. And it’s easier, you don’t have to remove stuff from the issue template to get it all fixed up. Yeah. No, really good work.

Grzegorz Ziolkowski: Yeah, there’s one more change that I personally find very interesting. So whenever you have a block is parsed, then if the contents saved in the database no longer matches how the block should be represented in the post, there are some deprecation logs in the browser’s console. Most of the users they don’t see, but it’s important for developers.

However, it was after we introduced block patterns that they don’t get updated after they’re created, usually. So those logs started to pollute those browser consoles. So now, they are grouped together. Especially, it’s important when everything went well, so you don’t really have to report that however we do that for the information of the developers, maybe they want to update that. That’s a good reminder, but….

Birgit Pauli-Haack: Yeah, yeah. I can see that the block patterns of course, changed all the time, even in the content and going back to the block patterns, not the same original. But I think that whole process is also a major pain point for developers to get into block development using JavaScript. The deprecation process per se, I don’t know if it’s unstable or it’s just very verbose and laborious. I know quite a few developers have decided to just use PHP for the rendering, and not go through JavaScript for the render, and create dynamic blocks, quasi-dynamic-static blocks, so to speak. And looking is going to be helpful, yeah.

Grzegorz Ziolkowski: In this context, when you are using Cover blocks, and they get new features, and because of that, it requires new HTML markup to represent that, because you have those deprecations encoded, whenever someone inserts the button that was created two years ago, when you insert that into your post, you would get the most up to date version of that block, which is what we want to achieve and that’s why it’s so important. Of course, when you are working on a site that you have different needs, then dynamic blocks is probably something that you want to have, however, in the context of using patterns, that has some downside when it’s dynamic because you just need to have something that you….

Birgit Pauli-Haack: Yeah, yeah. Totally. Yeah, definitely. So there’s also one, well, pain point with that to just kind of surface it a bit more is when you have a changed block, the deprecations does not kind of go back to the block that was used two months ago and had a different HTML, it just does not recognize as a mistake, but it does not update the block, or the render or the content that was built with the block. 

And I think that’s was also something that it’s hard for a developer to… or it was hard for me to figure out, “Okay, I built this block. And now I make an update and a new version of it. But all the previous usages of the blocks are not getting updated.” And that’s how you do when you have server-side rendering, it always uses the latest codebase for that. So, that was an interesting problem that surfaced with the JavaScript blocks.

Grzegorz Ziolkowski: Yeah, I know we deal with those issues all the time when we update the markup. It’s just the most painful… Also, for a core developer, believe me, it’s not simple, but the benefits which I covered are more important in this context. 

Birgit Pauli-Haack: All right. Okay, so what’s next on our changelog? That’s it?

Grzegorz Ziolkowski: It’s kind of related.

Birgit Pauli-Haack: Oh, no. Yeah. 

What’s in Active Development or Discussed

Grzegorz Ziolkowski: Yeah. So in this section, What’s in Active Development or Discussed, we have a very interesting debate on the internet. It’s still related to building blocks, but from the different angle than we covered in previous episodes. So it all started with the tweet from Mark Jaquith. And so, he poses the idea, as he explained, “What if building custom blocks for the Block Editor was as easy as supplying attributes and a block of HTML? What if this produced React-editing code and PHP-rendering code without a build step?”

Birgit Pauli-Haack: That’s just magic.

Grzegorz Ziolkowski: Magic. There was also a code snippet shared which was like a PHP class that had those attributes and a function that renders the aforementioned HTML. It’s a pretty nice idea. That’s funny because Riad was almost at the same time working on a prototype of something similar. And he shared his explorations on GitHub in the new repository he created there.

And the idea is almost the same. But instead of it using PHP, Riad asked, “Well, what if you use something that’s platform agnostic in a way that it doesn’t bound to a certain programming language, but something that we could use in PHP in JavaScript, but also in React Native or in any other languages you want?” So I really like how this discussion has developed. I also talked to Riad about his idea. 

He walked me through, and it’s really interesting what he does is he just implements what Mark said. So he uses a JSON file. And in this JSON file, he also represents HTML, something sort of like HTML code, that then gets converted with the tool that he created into PHP, JavaScript and CSS that’s just represent your block. Yeah, a bit mind-blowing.

Birgit Pauli-Haack: Yeah, he calls it Blocky, and we’ll share certainly the link in the show notes that’s on GitHub, for youknowriad’s user base kind of forward slash blocky. It’s not an automatic thing or something or a WordPress thing. But yeah. And then there was another discussion. I think there was this discussion was between Mark and Helen Hou-Sandi as well. Yeah. And what does she tried to do? She blogged about it.

Grzegorz Ziolkowski: Yeah, the idea was just to start discussion and set a good tone. I think that she shared also an example using Mustache-style tokens, which is something well known. It’s used in other projects like WP-CLI but also in Gutenberg in create-block tool. Yeah, but she does make the clear that it’s not about this particular templating system or the way it should be done. It’s more general. It’s like an example to better visualize the ideas. 

But yes, I like the discussion, where it’s going, and the ideas that pop up. And there was also a comment from Lars Gersmann. And he said, “What if you would use pure ES6 template strings for rendering the components?” So it’s like just another way of represent. And this one is pretty interesting because people don’t like JSX when building blocks, which is a sort of another templating system to represent a code. 

But in this context, there is something built by Jason Miller from Google. And it’s called HTM, and which basically, is something that some people use instead of JSX, which doesn’t require build step. So having this representation, of course, in PHP it doesn’t look so promising in that context. However, if you would have this templating system and a way to integrate that with PHP, you could do really interesting things. Like in JavaScript, you wouldn’t need a build step, you would just write this string as something that resembles HTML and it magically would convert to React components.

Birgit Pauli-Haack: Yeah, yeah. I’m glad that now those conversations happen. But I think it also needed to have much advanced … you couldn’t have that conversation three years ago because you wouldn’t have the APIs in place to even do a proof of concept or kind of push it a little bit further. And so, it’s clear that that needs to have mature APIs and additional experience to push this a little bit further and make it more open for different variations to build blocks. 

Pascal Bichler also chimed in. And he had this additional approach to saying, “Okay, using React components in the editor, but use web components that use the same API to render the front-end.” So it sounds like duplication, but on the other hand, web components are maintained by a large standard body and are not dependent on the implementation of the framework, like the React framework, or you can use web component with other frameworks as well. So if you would change the … God forbid, the editor to a different component system, you still could use the same front-end. That’s kind of interesting way to … that’s a larger look at things, way larger than I’m capable of, but yeah, it’s just another way to organize things there.

Grzegorz Ziolkowski: Yeah, it aligns with what Mark proposed, to have one our presentation don’t get like, it behaves differently in the editor, differently on the front-end. But maybe it could be different if you are in a native app, on your phone, it would could have a different representation. It’s very interesting times to be in and engaged in those type of conversations.

Birgit Pauli-Haack: Yeah, for some who do day-to-day development, it seems to be more an academic discussion. But I think it would be really helpful to read Helen Hou-Sandi’s blog post, and of course, we’re going to share it. And she made a big point of saying this discussion is not between two WordPress core committers, like Mark Jaquith is and she is. She has been a lead developer for quite a while on the open-source project. This is just a discussion on programmers who do agency work to organize how they do custom blocks within the team. 

And that certainly, should be interested to some of the agencies that also work with us and have been on the fence of using Gutenberg or have tried to solve some of the problems and to get additional input from those that Helen Hou-Sandi works for 10up and Mark Jaquith is, I think, a freelance developer. So from their point of view, it’s definitely worth a read. 

All right. If I look through our notes here, I have just one thing that I wanted to point out that is Matias Ventura, who is called the spark of Gutenberg in one of the publications, posted a short blog post, but it’s giving the theme.json file its horizon, pretty much. And he covers there when themes are going full-site editing, or using the theme.json file for controlling all the different places of the theme, it has some consequences on interactivity because you now can build an interface on top of it. 

On consolidation, you can remove the overhead of repetitive declarations about block features, and then compatibility, that language of blocks is by default compatible with third-party blocks, which I find is a quite compelling argument to switch over to theme.json because the plugins then also can connect with the theme and be more…. We talked about it, Grzegorz before here, that if you have an additional custom post type or a different content that you want to put on the front-end, you can tap into the theme.json to style i, or keep it in style with the local theme without having to do a lot of your own CSS put to it. 

It definitely has a performance gain on rendering those block themes and starting to roll out them. And it has a flexibility component to it, a visual parity. Talking about patterns, he talks about portability, accessibility, and also the admin section. So it’s quite an interesting post to look at from a bird’s eye view on the theme.json and what it will mean for WordPress and WordPress development. So that’s my before you go, end of the show thing. Do you have anything that you want to point out, Grzegorz? 

Grzegorz Ziolkowski: No, I just wanted to emphasize the portability that we also discussed in the context of blocks, it’s just the same. How much this would change the landscape that you could have this meta language that allows you to write blocks that can be run in so many different places, not only inside the WordPress web app, but also on mobile devices, and in so many other places like in Drupal or whatever the future will bring.

Birgit Pauli-Haack: Yeah, so I was wrong. I have two more things that are I wanted to just point out before we end the show. First… Oh, it’s actually three, no five… I never stop. Okay, so let’s wiggle that down. It’s Anne McCarthy has published the summary of the testing call for the header and the navigation block. It’s very interesting, the summary will be shared, but it also points out some of the pain points that still need to be resolved with navigation block and the screen. 

Then speaking of theme.json and portability, she is preparing with a team, also the next call for testing, which is not so much a testing of features, but a testing of a broader picture. And that is how themes switching will work or was supposed to work or what’s expectations about it? Because that’s certainly something would be relevant when we go into 5.9, or when it’s released, could be 6.0. But how does theme switching change now with theme.json and full-site editing? Meaning which of the templates that I as a user build, I want to keep when I switch the theme? Or is there a header that I want to keep when I switch the same kind of thing?

So how that’s supposed to work and that will be really great if you’ll have a lookout, we probably will talk about it at the next show. And then this third one, what I wanted to do is… And I totally forgot about it. So this is the end of the show. Yeah, no, it doesn’t come to me. 

So thank you so much, Grzegorz. It was a great show again, and we got some very interesting technical insights in how to approach some of the harder work at developing Gutenberg. So I think that was really helpful for me, especially, I learned a lot today. And then as always… Sorry, go ahead.

Grzegorz Ziolkowski: It’s always good to discuss those difficult topics, but it’s very inspiring, also to see how the community explores all those ideas, so I’m glad to follow all those discussions.

Birgit Pauli-Haack: Yeah. So as always, the show notes, and they will be quite long, will be published on the gutenbergtimes.com/podcast. This is episode 51 and if you have questions and suggestions on any of it, please send them to [email protected]. That’s [email protected]. Well, thank you so much, Greg. It was good talking to you. And thank you to our listeners for being with us. If you like the show, please share a review on iTunes or on Stitcher or Google, so more people will get to be learning more about Gutenberg.

Grzegorz Ziolkowski: Yeah, thank you everyone for listening. And see you in two weeks.

Birgit Pauli-Haack: See you in two weeks. Bye.

by Birgit Pauli-Haack at October 16, 2021 07:45 PM under WordPress

Gutenberg Times: Changelog #50 – Preliminary Roadmap to WordPress 5.9, Gutenberg 11.3 release and Navigation Screen and Block

Birgit Pauli-Haack and Grzegorz Ziolkowski discuss the preliminary roadmap to WordPress 5.9, Gutenberg 11.3 and Navigation Screen and Block

Show Notes / Transcript

Subscribe to the Gutenberg Changelog podcast via your favorite podcast apps!
🎙️ Spotify | Google | iTunes | PocketCasts | Stitcher |
🎙️ Pod Bean | CastBox | Podchaser | RSS Feed 

Show Notes

Preliminary Road to 5.9 by Matias Ventura

Designing Intrinsic Layouts by Jen Simmons—An Event Apart video

New Podcast: Tell me about Blocks with Michael Schneider

Proposal: Brand guidelines for Learn WordPress content Hugh Lashbrooke & Courtney Robinson

FSE Program Testing Call #9: Handling HigherEd Headers by Anne McCarthy

Gutenberg 11.3

The cost of WordPress plugins on the performance of the editor by Riad Benguella

Building an Editor by Sharing Code Between Android, iOS, and Web with React Native by Matt Chowning

A Discussion With Gutenberg Project Lead Matías Ventura on the Barrier to Entry by Justin Tadlock

Did you like this episode? Please write us a reviewhttps://lovethepodcast.com/gutenbergchangelog

 

If you have questions or suggestions, or news you want us to include, send them to [email protected].

Please write us a review on iTunes! (Click here to learn how)

Transcript

Birgit Pauli-Haack: Hello, and welcome to our 50th episode of the Gutenberg Changelog podcast. Today, we will talk about the preliminary roadmap for WordPress 5.9, the Gutenberg 11.3 release, and the navigation screen and block, and so many more things.

I’m Birgit Pauli-Haack, curator at the Gutenberg Times, and I’m here with my co-host, Grzegorz Ziolkowski, code wrangler at Automatic and WordPress co-contributor. Good morning, Grzegorz. How are you? Thank you for agreeing to record this early and accommodate my in-laws’ schedule. It’s fabulous weather for a bicycle tour tomorrow. So we’re doing it today. How are you? 

Grzegorz Ziolkowski: Hello, Birgit. I’m great. It’s Wednesday, and we are before the official release of the Gutenberg plugin, but it looks like everything is ready. We are recording anyway. So the weather here is similar. It’s maybe not for bicycles for me, but there’s a lot of activities outside. I hope to play basketball in the evening with my friends. So that’s great, as always.

Birgit Pauli-Haack: Yes. Physical exhaustion in the heat. Yes.

Grzegorz Ziolkowski: In fact, the weather is great, because it’s hot during the day, but the mornings and evenings, they are quite chilly.

Birgit Pauli-Haack: Oh, that’s awesome. Yeah. Good. 

Announcements

So first, we have some, I mentioned it, Matias Ventura published a preliminary roadmap for WordPress 5.9. Now, that 5.8 is out with some of the full-site editing in there, some block designs, block patterns, he has some thoughts on what needs to happen for the next release. 

His post divides up the work in six sections. We’re just going touch briefly on it, but do chime in Grzegorz anytime. So the first thing he mentioned is blocks and intrinsic web design, that he feels that the responsive tool, and of course not only he feels that, every theme developer feels that, that the responsive tools are still missing for blocks. And that needs to be addressed in regards to intrinsic web design, which is an evolution from the responsive designs and is about page layouts.

And he considers, three context matters is really the point here, that if a block isn’t displayed on screen, or on the phone, it still needs styling to consider the context. So it would be displayed as an inner block in a column display. It definitely also needs a different styling than when it’s in a single row by itself. That needs to be addressed. 

I looked up the expression intrinsic web design, because I wasn’t all that familiar with it. It was quite….

Grzegorz Ziolkowski: I don’t know that one as well. So I’m curious to hear more about that.

Birgit Pauli-Haack: Yeah. And it was coined by Jen Simmons, she brought the grid layout to us as a responsive design plus, and it’s fixing some of the shortcomings and hacks of the responsive designs. Without going any deeper, and here a couple of years ago, she did a great talk at the Event Apart, and we will have the video link in our show notes about that, where she breaks down how we address a flow layout or flex layout, grid layout, and then so forth. 

But that’s definitely something that needs to get into the Gutenberg blocks, now that we are approaching page layouts with the site editor, there needs to be done some more work, as Matias says. 

Grzegorz Ziolkowski: In terms of technical aspect, is it less about using media queries to style your website and more about to make the design change according to the space it has? It’s more based on what’s the neighbors of your block, if it is something that is in the column, then classical media queries wouldn’t work because it’s still too narrow?

Birgit Pauli-Haack: Exactly.

Grzegorz Ziolkowski: That makes a lot of sense.

Birgit Pauli-Haack: And the viewpoints, of hard coded viewpoints that you see in a lot of designs, they not always apply, because the tablets get bigger, the phones get bigger, the phones get smaller, and then you watch it on a big screen, which is beyond the normal computer screen. The context changes so much on that.

I know that there are brilliant people in the Gutenberg team that can address it, but you needed to have the whole thing. I hear the rumblings that a developer needs to override the block, or a theme developer needs to override the block styling to get it into his own theme displayed nicely and all that. That is all part of that.

Because the whole context of a page layout wasn’t yet clear how the column block or how a cover block with multiple inner blocks would be handling that. That’s certainly a problem to have and to be solved. I think that’s what I learned from Matias’s post, it’s very, very high on the priority there.

It also comes in with the panel directory now, that it’s available now, it needs to have a better integration with the inserter. And also get some multi-block transformer improvement, that you can transform maybe a cover block into a block pattern or a paragraph block or a quote block into a block pattern. And that flow also needs to be integrated into template parts and page layouts to add block patterns into those. 

Grzegorz Ziolkowski: Yeah, I guess the most important part is that some of the block patterns that are in the directory aren’t so easy to use, because you need to copy them. I hope to see some improvements on that side. I guess that’s doable. It’s not that far away from that place. 

Birgit Pauli-Haack: And the meta team and the Gutenberg team worked on that already with the block directory, where you can search for a block in the inserter and then grab it and get it into your content. I think some basic architecture was already done there. 

Grzegorz Ziolkowski: But it was only for a subset of blocks that were marked as core specific. So that’s a different story to make it work for everything that is sent to the directory.

Birgit Pauli-Haack: Well, the directory itself, the pattern directory right now only allows for core, for patterns that are built with the core blocks. It’s a similar process, there is no danger that the block that’s in the pattern wouldn’t be on the site. Well, unless it’s switched off. Yeah, there’s a block manager that it switch off… That’s definitely some issues that will need to be solved one way or other, or it will bubble up as a bug later on. 

The third section that the Gutenberg, it is the navigation menus that will be the main focus for 5.9. It’s the new navigation screen as well as within navigation blocks. And there are definitely still some experience and display improvements necessary and reduced complexity was an expression that Matias uses in his post. And also that definitely needs to be tested, tested, tested, with as many themes as possible. 

Speaking of which, and you will hear me talk about it today multiple times, is that there is already a testing call. Anne McCarthy already posted the ninth call for testing for the full-site editing outreach program, and that is actually covering headers and navigation. We start with that already.

The fifth one, section four, Ventura’s roadmap or WordPress roadmap then is creating an interface for the theme JSON file. Right now, writing theme JSON manually in code is tedious. And the next step is to actually finalize the UI and the whole system is, we talked about it before, we covered it under global styles, where the user gets the chance to set those theme settings and configuration with the interface in a sidebar, in the site editor, that is also coming to 5.9. And the team has been working on that for quite a bit. 

The fifth one is header design tools, colors, typography, spacing and layout. And one of the main goals would be a consistent access to the similar tools across blocks, and including third-party ones. And that the parameters and the settings are normalized between block JSON files and theme JSON file, when there’s block support or theme support, that they use the same taxonomy there.

Grzegorz Ziolkowski: We had a lot of experimental features enabled in 5.8. I hope all of that is going to be stabilized, and we will have a consistent API. We are on a good path towards this goal. I’m positive about this one. 

Birgit Pauli-Haack: And there’s a lot of testing also done, actually, I think Anne McCarthy also published a survey, we will highlight in the show notes, the results of it, where they connected with some theme developers on how they are using the theme JSON and what they liked and what they don’t like. So that is also great input for that phase of preparing for 5.9. 

The sixth section in Ventura’s roadmap 5.9 post was to formalize the editing flows for block themes and having a clearer information architecture for all the features, like editing templates, styling pages, creating whole template parts and all that. There was some great input from the full-site editing outreach program. So that will be iterated a lot, and also finalize the theme level blocks that have been experimental or have not been published for the… They’re in the plugin, Gutenberg plugin, but they’re not in WordPress core yet. 

So that concludes the preliminary. That’s a very big word there, roadmap for WordPress 5.9. The schedule is not out yet.

Grzegorz Ziolkowski: Yeah, I guess the original plan was to have the release in December this year, but I don’t know, there isn’t a very detailed plan about that. So still probably involves and we will learn about that soon. 

Birgit Pauli-Haack: I’m thinking the core meeting later today would bring another preliminary schedule there.

Yeah, so if it stays with the schedule for December, then there will be future release in October, eight weeks before the release. That’s only two months away. So that’s a big roadmap for that. I’m sure there will be a cutoff date where we say, “Okay, this comes in or it doesn’t come in, or it’s ready or it’s not ready,” like we had it for 5.8. 

Community Contributions

We have a few community contributions today, we want to talk about. First, there is a new podcast. It’s called Tell Me About Blocks. And it’s an interview podcast about building extensions for Gutenberg, the WordPress block editor. And you can learn from guest experiences, creating block plugins, themes and block patterns. Michael Schneider is hosting that. It’s a monthly podcast. 

So July was the first episode and was with Keanan Koppenhaver. He’s a WordPress contributor and agency owner and plugin developer. He talks about his experience to do the Block-a-saurus plugin, which he just played around with the block editor to make it a little bit more fun. He’s also the maintainer of the Kanban for WordPress plugin that’s in the plugin repository. 

In the second episode, Michael Schneider interviews Rich Tabor, and talks with him about the making of the latest plugins, Markdown Comments, and the to-do list plugin for the block editor, which are more collaborative plugins for the admin section of the editor, rather than for front end. I haven’t listened to the second one yet. Have you heard about it Grzegorz?

Grzegorz Ziolkowski: I only learned about this podcast yesterday. I subscribed. So I’m planning to listen to both episodes, because this is the area I’m the most interested about, in the development of the block editor and WordPress in general. I’m looking forward to it.

We talked about the contributions from Rich, in particular about the markdown comments block, and the path, the journey that he had to send all his work to the block directory. So I’m just keen to learn more about the process and the experience in the form of the podcast that we all love, right?

Birgit Pauli-Haack: Yeah, and so we wish good luck to our fellow partner, Michael Schneider, in Tell Me About Blocks. And you can read up about it, tellmeaboutblocks.com. It’s all one word, no dashes, no underscores, anything, tellmeaboutblocks.com. So you can subscribe to yourself, because you are listening to our podcast, so you are interested in podcasts.

There’s a second announcement in the community contribution, which is from a team, of the WordPress team from the learn.wordpress.org team. And Hugh Lashbroke and Courtney Robertson have a proposal for brand guidelines for the Learn WordPress content. They asked plugin and theme creators if they want to contribute a course to the site. And the proposal handles the brand guidelines. 

So if there is, how they will handle shoutouts to other products that are outside of wordpress.org, but in the space. I think that should have your attention, and read through it and see what you think about it. Because definitely, the training team could use some help from more practitioners. It should be worthwhile for the brands as well.

Grzegorz Ziolkowski: And we need more tutorials how to build for the block editor, how to use the block editor. It’s all there, but it’s rapidly changing. We need to record new content. It’s only in your hands, and we are waiting for that. 

Birgit Pauli-Haack: Yeah. You make some great impact if you contribute that way to the WordPress project, and it’s what you already know. So you don’t have to learn a whole new thing. But you can influence millions of WordPress developers who wait for your wisdom. 

What’s Released – Gutenberg 11.3

So that brings us to Gutenberg 11.3 release. 

Grzegorz Ziolkowski: It’s still not out at the time of the recording. But we hope that it happens in any hour today. And anyway, we can cover what’s already in their release. This time, there isn’t anything in the changelog that would be marked as a new feature, although some of the enhancements listed are in the space of something that could be considered as a new feature.

Enhancements

There is now a new color picker, an experimental component. We talked before about this project, that has this code, G2, like next generation of components. And the work is towards building a better UI for all those controls that you use with blocks, with global styles and such. And it’s still experimental. But the plan is to have different color pickers. 

So you can check out this work to see the difference that is there and if you like it or not, give some feedback. It’s still in the works, in development. So you have impact on that and can drive the future work on that one.

Birgit Pauli-Haack: The G2 initiative is to make components much more accessible out of the box, so to speak, that a developer who uses those components, not only the Gutenberg developers, but also plugin developers and external developers can use those components and have an accessible experience, a more accessible experience out of the box. At least that was the new initial focus from Q and Sarah. 

Grzegorz Ziolkowski: And in general, there’s more to it. This concept of intrinsic web design, this is all about making this new set of components that they follow those principles. They adjust according to the context. 

And the other part is the team that is behind that. They are trying to unify the public API. At the moment, we must admit that some of the components were created a long time ago, and they were more like a realization of the current needs than the vision for the future. But this project helps us to bridge that gap, and make it much easier to use for all developers.

Birgit Pauli-Haack: Well, thank you. So one of the enhancements is also the post featured image block received basic dimension controls for the image, which was something that was requested quite a bit. And that is when you use the query loop block or the post template, where you display the series of blocks and the featured image with it. You can also use it in the single post template, if you have a block-based theme. 

Grzegorz Ziolkowski: Yeah, so just to remove some confusion that we discussed before the recording, is that this feature doesn’t quite work with classic themes. So it doesn’t have any impact on post featured images, unless you start using block-based themes, and all those designs.

Birgit Pauli-Haack: I think we need to, some of the enhancements that you said, we need to point out that this is not for classic themes. 

Grzegorz Ziolkowski: And there’s also a small change, a visual change, there are new icons for usable blocks and template part blocks. This is a special type of box that store the content in the database, and in the past, we had this logo looking like a Lego block. And now it looks like a stacked diamond. And the difference is only that one of them has the filled in background color, or something like this. 

So a subtle difference, it shows that those two blocks are similar, but a bit different, the usage is different. It’s more for design and usable block is more for sharing the same content. 

Birgit Pauli-Haack: Yeah. And the stacked diamonds represent that it’s more a block collection than just one block. So the reusable block are the ones with just the outline of the stack diamonds, and the template parts display is the filled in stack diamonds. And you can distinguish them in the list view of the site editor or your post editor to identify them better. 

Grzegorz Ziolkowski: I think that was the main motivation, because the list view is now persistent. When you have it opened, those visual cues are really important. 

Birgit Pauli-Haack: The next item is for the block editor. Now, for the internal links, there’s also the rich previews enabled. So when you link to a post that’s on your own site, once you did the linking, and you come back to that post and hover over it, it gives you a nice little window with the title, the featured image and an excerpt. And it also gives you a little link where you can unlink that post again.

This is similar to a Google Doc linking mechanism. It really speeds up the quality control of your content when you go back and double-check on some of the links, is it really the right post and all that. And it takes care of, it uses the meta description and the Open Graph meta tags for that rich preview. So if your site doesn’t use those, you won’t get the rich previews, and it wouldn’t show. But most WordPress sites use them out of the box anyway. 

Grzegorz Ziolkowski: I think it’s a game changer for content creators. I use this command plus trackpad click feature to check if the link that I used is correct one. You no longer have to do it, you just hover over the link and you have the hint for visible at your….

The other thing is that the button block, it has now padding block support. This one is quite different in how it has changed, because it’s not only a new feature that was added to the sidebar, but I think this is also the one that introduces a bit different UI experience. Is it this one or did I miss that?

Birgit Pauli-Haack: No, it’s the next one. But this one is the padding. Now, padding has been around for quite a bit, padding and margin for cover block. And now it also comes to the button block. So it’s the sub block of the buttons block, where you can set the padding for all buttons or for the whole dimensions of the button, like the padding 20 and it adds them to the top, to the right, to the left and to the bottom. 

Or you can unlink those sections, and then individually change the top left, right and bottom padding, as well as the padding for the button. You were talking about the next piece, there was the dimensions panel.

Grzegorz Ziolkowski: Dimension panel.

It’s interrelated, because the new dimensions panel, it’s using two features, it’s controlling two features, which one of them is the padding and the other one is margin. The idea is that, with so many new controls showing up, for some blocks, it’s too much to process when you look at the sidebar. So there is this exploration that is already in the Gutenberg plugin, that allows you to use the drop down menu to pick what’s displayed inside the panel. 

So you can decide whether you want to display both the paddings and the margin or only one of them. And there is also this reset all feature, that just goes to the default state. So according to the discussions that are in this PR, you can find out that this type of interaction is considered for all other panels like typographic and color. 

I’m looking forward to how it changes, because it’s something that site owners requested for so long, to have better control over those features. Once we have that, apply to all features, it will be much easier to give also some coding APIs that will allow to control that from the code, so you could easily turn off all the features you don’t want to have on the side. 

Birgit Pauli-Haack: Yeah. And it’s also part of what Matias mentioned before in his roadmap post, that the consistency of having the controls all look alike. So once a user learns them, he can apply his knowledge to all kind of different places where that control can be used. And also how to handle a margin that is now different from a cover block to the theme parts sidebar. So that’s part of this normalizing and being more consistent in all the tools. 

So those are the enhancements.

Bug Fixes

Then we have a few bug fixes. There are quite a few bug fixes in this release. I just wanted to highlight one of them, that is that the custom gradient picker for left to right languages is now fixed. So now gradients work well, better again, from left to right languages. I’m a fan of gradients and everybody should have access to it.

Grzegorz Ziolkowski: It’s definitely a very nice feature. And there’s other bugs I want to mention in the template editor. And now, we show only post template actions for user with correct capabilities. So sometimes those features are very powerful. So you want to have better control who can access them. It’s something that is constantly looked at and improved. There’s so many new features added, it’s very easy to miss that part, that there should be permissions.

Birgit Pauli-Haack: Yeah, this alleviates some of the anxiety that theme developers have, that any user can mess up their beautiful theme with changing some of the templates. But it’s now only restricted to the admin. That angst can be alleviated.

Performance

There were also quite a few performance improvements that come with this Gutenberg release 11.3, and one of them is the lazy render block types in the inserter. It only shows block types that are necessary now. Have we talked about it before? I think that is an additional iteration of that.

Grzegorz Ziolkowski: It might be something different. As far as I remember, this one is the same solution that was used for block patterns. So block pattern does the previews and so on. It’s a lot of data to process. There is a special handler that just splits the list of all block patterns into chunks, and this solution was implemented also to the block inserter and improved the performance, like perceived performance of the inserter immensely. 

So the difference you can see is that you will see small parts of the block types in the inserter at first, and the rest will just be iteratively added as the browser has free cycles to process that. So that makes the experience … because you can already start processing the block items in the inserter as they are rendered. In the past, you would have to wait until everything is ready. That’s a big improvement. 

Birgit Pauli-Haack: So what I see in that PR is that Riad created a little page or website that measures the block editor performance and it’s titled, Is Gutenberg Fast Yet? I think we talked about it before. 

Grzegorz Ziolkowski: Yes. 

Birgit Pauli-Haack: And where he sees the different items, how much time they use. And so he does some incremental improvements there and highlights all the different things that are keeping Gutenberg from being fast. It’s quite interesting for those who are interested in that kind of analysis, look at the PR in the site, and maybe you can help him figure out some of the performance hogs to make it even faster. 

Grzegorz Ziolkowski: Yeah, also, speaking of Riad and all his efforts to improve the performance of the editor, he also posted on his blog, about the cost of WordPress lag is on the performance of the editor. So it’s a really good read, especially if you are one of the authors of blogs, and he just shows the results of measuring the impact of the most popular plugins.

Also, he covers the plugins that add the functionality to the blocks, like additional features and how it impacts the performance. He covers also some recipes, how you can measure it on your own, when you are developing. The state of major plugins is really good, it has improved. As he was preparing this post, he reached out to some of those plugins, and they improved the performance, based on his findings. So it shows how the community is really into these performance improvements. That’s really great to see how it evolves. 

I recommend checking out this post. He shares his approach how to process all that. There is also, it’s a follow-up post, because in the past, he had another post when he explained all the impacts of different approaches that you take when building blocks, using data stores, using rendering, and it’s very complex. 

If you are really into block development, those two posts is definitely a must-have, if you want to provide the great experience for users, because performance is one of the most important aspects of that. 

Birgit Pauli-Haack: I’m just scrolling through that, thank you very much for pointing out this post. I haven’t seen that yet. So definitely, we will share the link in the show notes. And it’s definitely an eye-opener in how plugins change performance. And he has some nice spreadsheets there, where you can look things up, and also how you can, as you said, how you can measure your own as well, if you develop a plugin for that. 

Yeah, thank you. It’s also improved performance through the parser of removing the automatic custom classnames handling. What does that mean? I’m not so quite sure I understand it.

Grzegorz Ziolkowski: It’s quite complex. But the difference here is that this was the responsibility of the block editor before, and Riad moved this logic to the block parser. It’s happening earlier in the process. And because of that, it allows to skip some of the….

In some cases, when you have the classic block or you have the HTML, I don’t remember, other blocks, you know that for some blocks, you don’t have to do this processing, because they are not using this automatic classname handling. So you can skip that, that’s one improvement from start.

But also this ensures that the logic is executed only when really necessary. So when the block is valid, you don’t have to run that at all. But with the previous solution, it also was always applied. It had a really big impact when the post was really big.

So, it’s very technical, and it’s something that a small group of people can really help with. But Riad, he’s just the king of performance. He knows who to do all this.

Birgit Pauli-Haack: He loves to hear that, the king of performance. No, but it also shows that it only can be an iterative part that you can get it perfect, and you can get it to be more performant after the fact.

Experiments

That brings us to the experiment section of these release notes. It will highlight the template part placeholder now when you create a new template part with the site editor. So experiments has the full-site editing in there, and the navigation screen are the only experiments right now in the Gutenberg plugin that you have to switch on. 

The site editor itself is actually already switched on. I don’t know why it’s still in the experiments there. But when you create a new template part, say a header or maybe a sidebar item, it now asks you for a title as well in the create flow. So you don’t get as many untitled template parts as you got before. You can think about the title right when you create it. That’s definitely a improvement of the flow.

Grzegorz Ziolkowski: Yeah, I also hear that the template part is going to be promoted to the stable feature. So it means that will be included in WordPress 5.9, for sure. And maybe that even will happen in the next plugin release. So, 11.4. And that’s great, because this is a very exciting feature. It will open a lot of possibilities, even for classic themes. 

Birgit Pauli-Haack: Yeah, and now that it’s coming out of experimental means there are more eyeballs on it, to test it and to figure out what needs to be changed, or if it needs to be changed and what bug fixes are there. 

So the navigation link block, that’s a child block of the navigation block, now actually also has the ability to remove a link, which is certainly in the process of creating a navigation, a useful tool. Now, it’s there. 

Documentation

Grzegorz Ziolkowski: I think that brings us to the documentation section. And there is one item I wanted to highlight. Because we have those block patterns that you can search from the block patterns directory. And of course, some site owners don’t want to have them. So now there is a document explaining how you can disable that.

That part was missing, but it was possible from the release, WordPress 5.8. So it’s now covered. If you don’t like that, you can check out how to disable that. 

Birgit Pauli-Haack: Yeah, as any WordPress feature that is new, not only needs a way to enable it, it also needs a way to disable it, to make it as flexible as possible for all the WordPress instances that are out there. 

Which brings us, so there are quite a few other smaller changes to the documentation that you can check out for yourself, because they are just changes to existing documentation pages. 

Code Quality

Code quality, there is one highlighted that is the remove of the experimental prefix, and rename the theme JSON files.

If you’re theme developers, you now can remove the underscore, underscore experimental prefix on your theme JSON files as well. It will not read anymore from the experimental theme JSON file either. 

Grzegorz Ziolkowski: Yes. And there is a small change in the API. So in the core data, there was a method to get authors, and it wasn’t very flexible. But it’s now deprecated in favor of get users, that allows you to pass the flag to return only authors. But also, it has a lot of other features that makes it better use. So it’s only changed to consolidate the API and make it easier to discover. 

Birgit Pauli-Haack: Excellent. Thank you. Do you want to go through the tools section? 

Tools

Grzegorz Ziolkowski: There is one big change in that regard. So there is a lot of complaints about build tooling. And you related to that, because I was one of a few folks that were involved in updating Webpack to version five, and it was a pain. We started the first try in January, I guess, but it failed because of several issues. 

And now we finally made it, and it’s going to be…. So the change is in the Gutenberg plugin already, and it has a good impact on the bundle size. It has decreased. It was 30 kilobytes or less that’s going to be sent to the user, which is a big win. So yay for Webpack 5.

Birgit Pauli-Haack: Yay.

Grzegorz Ziolkowski: But there’s more to it. This change will also be applied in the WordPress scripts. We should expect NPM publishing for this package later this week. And so basically, if you are using default config files, everything should be good. If you are using your own custom config, then if you want to upgrade to the latest version, be prepared for some troubles, because it isn’t easy. Webpack isn’t backward compatible, to the degree that the WordPress is. It’s just what it is.

Birgit Pauli-Haack: Yeah, as we say, there will be dragons. 

Grzegorz Ziolkowski: For sure, if you have a custom config, it’s not easy. I’ve been there already. And the next step, of course, will be to do the same update in WordPress core. There’s three places to update. I understand the frustration from people who try to use those tools by themselves. You have a lot of courage. 

Testing

Birgit Pauli-Haack: And then there’s one other features that we will highlight from the testing section. And that is that the mobile team added a guide for integration testing, if I say this right, and it turns out to be quite complex. 

Grzegorz Ziolkowski: Yeah, in general, we talked a lot last time about the barrier of entry for developing for WordPress. The way to start, even writing tests for the mobile apps is just on completely different level. It’s like a skier wrapper or something like that. It’s just so complex. 

I guess this shows how the, not new web, but how the world evolves. You no longer only care about the browser, but there is also the phone, the tablet, and building apps for that. So if you are curious to learn how you could contribute to the native apps, if you are interested in this type of development, that’s definitely a good way to check and play with all those tools and see how complex the setup can be, if you are going outside of the web bubble. 

Birgit Pauli-Haack: I’ve never really ventured into the native apps development. But I had hoped that React Native would be a path to go. And then I read, oh, by the way, this brings us to the end of the changelog. And we are now more in the section of active development, what’s discussed. 

What in Active Development or Discussed

And we will share a post to Matt Chowning that he wrote about building an editor by sharing code between Android, iOS and web with React Native. It only brings you so far to reuse code base. And it seems that the mobile team recreated some of the Gutenberg experience, recreated them from scratch, reusing components, but not reusing some of the code base.

It’s quite an interesting read, finding out how complex that whole thing is when you do it through a phone screen and operating system. 

Grzegorz Ziolkowski: Yeah, but the good point that the team, the WordPress mobile team is very happy about choosing React Native, and they emphasize that the speed of development is really good, because they can share the logic part of the editor that is developed for the web version. All the JavaScript code, they can reuse, and they don’t have to write it from scratch. 

And what’s even more important, whenever there is a performance improvement, they get the same improvement on their side. And also, from my perspective, whenever they find something that is not working properly, they contribute back, so all parties win here. That’s the beauty of that setup. 

Birgit Pauli-Haack: And everybody benefits from that. The mobile version is also part of the overall Gutenberg GitHub repository. So there is some synergy there as well. 

All right. So two weeks ago, there was this big discussion about barriers to entry. And in our weekend edition, 180 and 181, on the Gutenberg Times, I shared quite a few blog posts and discussions on podcasts about that topic. So if you want to dive into it some more.

But Justin Tadlock from the WordPress Tavern, interviewed Matias Ventura, the Gutenberg Project lead on that. And it’s an interesting read, in that regard, that it really depends on the knowledge of who is developing for the web. And it’s a different perspective from someone like me who started with HTML, where only HTML was around. And it took about a couple of years before CSS came in. And then it took another couple of years before I needed to write some early JavaScript. 

I only had to add one little thing to my whole toolset. But it was also the speed of things. But latest in 2004, ’05 or ’07, I was left behind on all the cool development. And now caught up with it through WordPress, because that’s when we started, in 2010, we started with WordPress. And it took me about five years before I even had to touch code on a WordPress install to make a feature work. 

So it really depends on where you come from. I jump from a ColdFusion development base to a very rudimentary PHP, to good JavaScript knowledge. The barrier is different for me, from someone to build a plugin, from someone who has 10 years of PHP experience and knows all the intricacies of WordPress, because for 10 years, she has been developing in that space. So that’s one thing. 

And Matias also points out that the theme creation, and the new on ramps for theme developers is so much lower than it was the last 10 years for theme development in WordPress. Because now you can start with the block-based templates, you can do block patterns, you have the theme JSON to control some of the features.

And you could basically write a new theme without touching code, because the site editor gives you all the tools with it, or at least that’s the vision in 5.8. The 5.9 will come close to it. And then with patterns, you can account any theme in any case very easily with just assembling a few blocks. 

He also mentioned … go ahead.

Grzegorz Ziolkowski: I think it’s very interesting to hear the vision from Matias, because he also shared this preliminary scope for WordPress 5.9. He knows what’s the end goal. And that’s much easier to see the landscape, how it will look in a few months when you will be able to fully benefit from all the latest development in the space of block themes. And that’s one way of looking at that. 

Also, I think that in general, if you look at the development for the web 10, 15 years ago, you didn’t compete with mobile apps, and they didn’t exist at all. Everyone was using Nokia or other phones that only allowed you to play Snake or something similar, that was it.

And so the mobile apps, tablets, they change the perception what you can do, how you interact with those devices, and all the gestures and stuff like this, and animations and the performance. That was so much better because it uses some native technologies. So if you combine all those aspects together, it’s really hard to tell that the development should be still simple and the barrier of entry should be simple.

It cannot be, because we have so much bigger expectation as users these days. So of course, there are some libraries that help with that, but exploring the libraries, finding the right one and integrating that, it’s another level of complexity here. 

Birgit Pauli-Haack: I also think there’s a level of decision paralysis, because if you have too many choices on the libraries, the chance that you pick the wrong one is really high. And then for some people, that is an existential decision. And if your business depends on it, it makes it an existential decision that a lot of other people depend on that. 

I can see that, but it’s not only WordPress. All we know is WordPress, but it’s in all the areas that are out there that develop for the web. 

Grzegorz Ziolkowski: Go on. 

Birgit Pauli-Haack: Well, all I wanted to say was, when I look at what all needs to happen at the same time and play together, all the little pieces, it’s actually a miracle it works at all.

Grzegorz Ziolkowski: That’s true.

Birgit Pauli-Haack: Because so many things could work. We should all be blessed that we actually can get something together that works well for millions of people. 

Grzegorz Ziolkowski: Yeah, I think we all were happy about the limitation of the web 15 years ago. You had the basic HTML, CSS was very basic. Now, there is CSS4. So the number of features that were added in the meantime is, scope is so gigantic, and you have to learn fifth method of positioning elements on the page. And also, you have JavaScript that has evolved, there are new features in the language.

Even PHP, if you look back, PHP 4 or 5, it’s a completely different language than PHP 8 that you have now with types and some strict checks and so on. And the tools that are around, that we didn’t have the interest back in the day, now it’s wildly popular. And end-to-end testing was very hard in the past. Now, you have so many tools to pick from. 

So it’s up to you what you pick, because you could still use only PHP, HTML and CSS and some basic JavaScript and that should be fine. But the question is, if users will like it, or in terms of on the front end experience. But also, if the customers for all the businesses that WordPress supports, will be still happy to continue using very simplified interface, that is very technical. 

Birgit Pauli-Haack: Yeah. I think there’s so many things for many people. I think we will have a link to the WordPress Tavern article with the interview with Matias in our show notes. It’s definitely worth a read. And that brings us I think to the end of the show.

Grzegorz Ziolkowski: One more thing, definitely look out for the Gutenberg Times newsletter, because it has a lot of links to those discussions. This week, you should expect more because those discussions still happen on the web, on Twitter, so be aware and look forward to it. 

Birgit Pauli-Haack: I’ll have those in the show notes as well. This week’s weekend edition is not going to happen until next week, because I’m still….

Grzegorz Ziolkowski: A suspense, nice.

Birgit Pauli-Haack: A suspense on that, because I’m still on vacation and I’m visiting family in Europe. But before we end, again, please heed the call. If you have some time, heed the call to the FSE testing call for number nine, working with the headers and navigation coming to the site editor to Gutenberg. We will need your input, we need to learn from your experiences and also from your expectations. What you tried to do, what you were able to do, and what didn’t work and what you expected how it would work. I think that would be really, really helpful for the team to come out of experimental stage and get into the main plugin with the navigation screen and block.

As always, the show notes will be published on the Gutenberg Times podcast at gutenbergtimes.com/podcast. This is number 50. We’re halfway to number 100. And if you have any questions and suggestions or news you want to include, send them to [email protected]. That’s [email protected]

Thank you so much, Greg, for spending this morning with me. I hope you have a wonderful afternoon. Thank you all for listening. I’ll say goodbye.

Grzegorz Ziolkowski: Thank you, Birgit. Thank you, all our listeners and see you next time. 

Birgit Pauli-Haack: All right. Bye-bye.

by Gutenberg Changelog at October 16, 2021 07:45 PM under WordPress

Gutenberg Times: Changelog #49 – Gutenberg 11.2, Drag and Drop, Flex Layout, Core Data Shortcuts and Modern WordPress Development

Birgit Pauli-Haack and Grzegorz Ziolkowski discuss Gutenberg plugin release 11.2, drag and drop, flex layout, core data shortcuts and modern WordPress development.

Show Notes / Transcript

Subscribe to the Gutenberg Changelog podcast via your favorite podcast apps!
🎙️ Spotify | Google | iTunes | PocketCasts | Stitcher |
🎙️ Pod Bean | CastBox | Podchaser | RSS Feed 

Show Notes

Gutenberg 11.2

What’s in active development and discussed?

Did you like this episode? Please write us a reviewhttps://lovethepodcast.com/gutenbergchangelog

 

If you have questions or suggestions, or news you want us to include, send them to [email protected].

Please write us a review on iTunes! (Click here to learn how)

Transcript

Birgit Pauli-Haack: Hello, and welcome to our 49th episode of the Gutenberg Changelog Podcast. In today’s episode, we will talk about the Gutenberg plugin release 11.2, and drag and drop, flex layout, core data shortcuts, and modern WordPress Development. 

I’m Birgit Pauli-Haack, curator at the Gutenberg Times. I’m here with my co-host, Grzegorz Ziolkowski, code wrangler at Automattic, and WordPress core contributor. Good morning, Grzegorz, how are you doing? I am so glad that we have the same time zone together for the next two or three episodes. And good morning to our listeners, we are glad you join us again for this episode. How are you this morning, Grzegorz?

Grzegorz Ziolkowski: Good morning, Birgit. I’m so happy to be recording this one in the morning for the first time, it’s such a refreshing experience and something new. Everything is great here, and I guess the weather is similar at your place now, like in Poland, it’s changing rapidly everyday. Yesterday it was sunny, then raining, today it’s cloudy. So, you have everything. How about your place? How do you enjoy it?

Birgit Pauli-Haack: Yeah. We are on the same weather, it changes through the hour, we have one hour, we have sunshine, then we have thunderstorms and then it comes back. It’s almost like Florida. But I’m here in the makeshift office at my parents’ house, it’s kind of working from home home. It’s a little bit different, because it’s a big household, of course. And it took us an evening to distribute the fast internet that comes in on the second floor to the basement. But there is something like, it’s wired through the power grids, it is actually spectacular. It hard lined in through the network, it’s very interesting what they put together.

Grzegorz Ziolkowski: No, that’s really interesting. I’m keen to learn more after the show about that because I don’t have the cable to my office and sometimes the wifi isn’t great enough. And I miss that when I was preparing everything, I’m glad that there are some other ways to do it.

Birgit Pauli-Haack: I’ll be happy to get deeper into that. 

Communication Contributions

So, for our show today, the first section today is a community contribution, and I appreciate Chris Wiegman and Marcus Kazmierczak blogging about WordPress development in 2021. And they’re trying to define the barriers to entry for WordPress users, are they low, or they are high. I think we all are getting a few blurry lines, depending on what kind of stakeholders, or what kind of users you’re talking about. I haven’t read all of the blog posts, and I definitely need to read them again. But Chris Wiegman started the discussion on Twitter and I quote him, “The deeper I get with modern WordPress development, the more I understand why newer devs don’t like to work on it. This is not the same project that I was in, in the past. The learning curve is now extremely high, regardless of past experience.” Chris Wiegman on the Twitter verse, and we’ll link to that tweet in our show notes.

And there are quite a few that chimed in on it. There was Alain Schlesser, Rich Tabor, and others.

Grzegorz Ziolkowski: Matias Ventura.

Birgit Pauli-Haack: Matias Ventura….Yes, Jessica Lyschik as well from Germany, and Marcus Kazmierczak, I might have put just his name, last name, but I need to ask him how to pronounce his name. He wrote a blog post about modern WordPress development and, pretty much as an answer to Chris Wiegman, and Chris Wiegman actually put some more thoughts into it on his blog, with changing WordPress ecosystems. What do you think about, you came from a different content management system to WordPress, how many years ago?

Grzegorz Ziolkowski: I started like with development with Drupal and it was like, maybe 10 years ago. And the entry level for Drupal is so high that going back to WordPress seems like you are in a familiar place and everything is so simple. So it really depends on your background, if you have a strong PHP background, then it might be easier to start with Drupal then maybe WordPress. If you don’t have any experience, it’s going to be hard no matter what you would like to do. So, it’s definitely a very complex topic. One thing that I would like to emphasize that WordPress has this badge with the fields of each of ours. So one of the sections is designed for the majority, it says that the way that WordPress is structured should be optimized for the end users rather for the developers.

And this is happening with full-site editing. And that’s why there is no, this impression that writing for the, like extending the block editor is hard and it’s something that definitely needs more attention, but it’s also a very complex thing to operate in this area of a very rich user experience and having so many features that so tightly related to the DOM, to the browser. So, it’s not an easy place to be when you are a developer. So I suspect that if you would like to achieve even like half of the goals that the Gutenberg gives you in the classic editor, I don’t think that it would be doable at all.

Birgit Pauli-Haack: And I like how Marcus iterated that the competition between WordPress, is for WordPress and it has had a remarkable growth rate, even in the last four years, going up to 42% and the competition is not Drupal, or Wix, or Squarespace. The competition lies through the social networks who made it so easy to create a post like on Instagram connect with Venmo, and then have a shop up there. So, following that path, there is an expectation from the users to also make it as easy as possible, and intuitive as possible. And of course the block editor is for quite a few developers, a moving target, the goalpost kind of still moves, because the team hasn’t finished developing it. It’s still on its way. And listening to Matt Mullenweg, he says, it’s going to be a 10 years, two years or four years, into a 10-year project.

So it would be that way and probably settle down quite a bit, but there is always keep moving, but I’m also wanted to outline, I found a tweet by Matt Edgar, who’s an editor and writer, and he says I fear that WordPress goes the Microsoft Ballmer way, where it’s all about developers, developers, developers, and not about users, users, users. So, that’s the whole other extreme there. And right now it seems to be on a middle path. I’m not sure it’s the right path, but it’s at least kind of, if you offset both sides a bit. There’s something new coming by. 

But Chris Lema actually posted a, his latest blog post was about using WordPress without writing any code. And so that’s the goal pretty much, but he is actually preparing for a presentation on a non-WordPress conference. And, that don’t use WordPress all that much, but wants to make a case for WordPress.

So that blog post was very interesting to me as well, figuring out how to do this without, yeah. There’s a few plugins that he uses, but most of it is based on the native blog editor. So I think there is a great discussion going on and we all need to be a little bit more taking, and someone who has been successful with WordPress for 10 years and doing what they’re doing, bringing them all along, but bringing them piece by piece and also teach a lot about the new tools there, like react, yeah. MPM and all these new cool features that are hard to learn, sometimes when you haven’t been in this space for a long time. Yeah. I see it for myself, I came to WordPress from a total different programming language. And I programmed my own content management system until I saw WordPress offering so many features out of the box on their free plugins.

I wasn’t able to charge my clients that much for custom developers when there is a different system out there that you can use that they can use. And I started WordPress 10 years ago and it took only four, five years until we actually had to write code, PHP code. But I was a PHP novice, I didn’t get into it, until writing code, about six years ago or something like that in PHP. And it was so easy for an implementer to do that. And it will still be that, but I will never say, but for our clients, it was never easy to use WordPress when we say that it’s easy to use WordPress 10 years ago, it wasn’t really. There were multiple, was it a Tammie Lister who did a run down from how to change a theme at the beginning of Gutenberg, I thinks she had 62 steps to change the theme.

Grzegorz Ziolkowski: I can imagine that.

Birgit Pauli-Haack: Yeah, so, it’s getting really easier and easier, but of course there is a disruption there and we’ll use different tools there. So, I guess we have a lot of ready material for our listeners and we certainly wish that you communicate with us your ideas of what you think. And maybe also be a little bit more specific on, when you find it hard to work with WordPress. What exactly is it that trips you up, or that sometimes it’s small thing, sometimes it’s a big thing. And we all learn with that going forward, so we will have the blog, Chris Wiegman’s blog, his tweet and the thread around it, and Marcus Kazmierczak’s Modern WordPress Development, link to the WordPress Philosophy, and we also have Chris Lema’s Using WordPress Without Writing Any Code in the show notes for you to read.

Which brings us to What’s released? The Gutenberg 11.2, do you want to get us into it?

What’s Released – Gutenberg 11.2

Grzegorz Ziolkowski: Oh, sure. Let’s start with features. 

Features

So this plugin release, it doesn’t bring so many new features. It’s obvious the reason why it happens is because there is a summer on the Northern hemisphere and a lot of contributors that I engaged with on a daily basis we’re not present. So, there’s definitely some slow down. This is also a great time to do some improvements for the developers, so they don’t feel left out. And there are also some efforts to improve performance, on the features level. So most of the work is around blocks and adding support, functionality, which supports something like colors, or border, and similar features. And the biggest change is this for the search block. It’s a bit strange when I learn about that, that you can add color support, but for the button that is in the search form. So, you can modify something similar to other blocks, like the background color or the text color, but it’s only for the button, and there is also a border color support, are they there? I’m not quite sure it’s the border is only for the button as well.

Birgit Pauli-Haack: I tested it yesterday. I got a little bit sidetracked because I found a bug there, but not a bug, it’s the display thing, but the border color, as well as the support full border is actually for both the field, the input field, as well as the button. And you also can have different alignments for that. So it’s quite nice. You can actually, the example in the release notes or the make posts towards actually in a group block with, with image, background or color dual tone background, and then, search block on top of, it’s quite nice. Yeah.

Grzegorz Ziolkowski: Yeah. And we use the border edges functionality, they have very nice effects, that you don’t have to use rectangles anymore.

Birgit Pauli-Haack: Yeah. Found the borders in fashion again, so every 25 years we have rounded corners.

Grzegorz Ziolkowski: The good thing is that you need to use background images that swap with JavaScript on the fly like 20 years ago. But it’s back and the pullquote block, it also got board and color support. And the examples that were shared in the posts that described all the changes there is, includes very interesting effects, like you can use some sort of dotted border that use like very large dots and it creates a very nice FX for the pullquote. So I encourage everyone to give it a try and check some crazy values there and see how it looks like, because it might turn out that looks so nice that you would want to have it. And that’s basically all about features. 

Enhancements

And we also have several enhancements, which one of them I would consider or other as a feature, this is a button that was added in the publishing flow.

So when you schedule or publish the post, there is the sidebar, that shows up on the, like, it goes from the right side. If you are in maybe a regular, no like, you’re using in English. And if you’re using Arabic, you will be go from the other side. That’s why it’s confusing to explain. But anyway, the feature is that at the end, there is like summary, what has happened to which side you, you are using. And you can go and view the post there, but next to it, there is now a button that allows you to create another post. I don’t know if it’s very useful because at least for me, I don’t really write another post just after I finished the one, I rather celebrate.

Birgit Pauli-Haack: Yeah. I think it’s more for the micro bloggers that kind of want to upload an image and then do the next image like an Instagram post. But I like that it’s now trying to keep a user in the block editor for some publishing flows. I need to check, so it’s in the second step. Oh, it’s in the last step of the publishing flow. So you get the view post and as you explained it, there’s the add a new post button there. I need to test this out, how that behaves in the two-step process for the publishing process. So one of my pet peeves is that I started with the block editor. Can I log into my website and then already have add new post, at the first screen that I get to.

So I don’t have to look for all posts and add new and all that. Because all I do on a website once it’s set up is publishing posts. So, I might just want to start there, but this is the end of it. So after I do one, I can stay in the block editor with it and update.

 If you do photos, if you say, I want to just highlight certain links and then link out. I like it. So there is also some enhancements for the widget editor, and then for some of the components, but there seems to be a quite finite, not finite minuscule a little bit, not so obvious for people, but it makes the experience a little smoother. One of it is the core data, you can pass a query argument to a data selector shortcut. Could you explain that a little bit for me?

Grzegorz Ziolkowski: So, the change for the core data is about passing. Mostly the context that is going to be used with the REST API. That was actually one of the missing features. So if you know how our REST API works, it allows you to fetch the data with different contexts. So let’s say to view, you get a different set of fields, then when you want to edit something and every REST API endpoint defines it differently. So thanks to this change, you can have full control over that when using core data.

Birgit Pauli-Haack: Excellent. Excellent. 

Bug Fixes

Then we had some bug fixes. One is for the Featured Image, now authors can select images that were uploaded by other users. So, if an editor uploads an image, now authors can also use them for the featured image and their blog post. And that’s certainly helpful, and reduces the duplication of images, probably quite a bit, in the media library.

Grzegorz Ziolkowski: Yeah, definitely. One thing that I marked is that there was a change in the description of the embed block that was referencing Instagram. And I was surprised seeing that and turns out that Instagram is no longer supported as an embed in the block editor. So, that might be confusing. That was a fix, but it’s also good to know that Instagram embeds are no longer present in WordPress.

Birgit Pauli-Haack: Yeah. I think that was taken out last October when Facebook changed, how they, that you now needed a developer account with Facebook to use some of the, while the embeds, they no longer an embed publisher. So, now they changed it. There are quite a few fixes and, we had quite a few recommendations for plugins, and I certainly can reference that in the show notes again, but I think there was just an oversight to use Instagram as an example on how to use the embed with the Instagram, not doing it anymore. But the bigger problem was that it was showing up in the inserter when you started typing in Instagram. And so that would come up. So, that was leading the user a little bit astray on their publishing process. So, the one bug fix, also was the most used terms, we were running into a 403 error for non administrators, that has been fixed. And then we kind of tripped up a few users, I would imagine.

Grzegorz Ziolkowski: So, most of the bug fixes where a smaller changes closer to the code quality improvements, like for the FocalPointPicker component, there is now additional check that verifies the type is correct. Like NAN which stands for, Not-A-Number in JavaScript. So, nothing really interesting, like this is just everything to ensure that there are no unexpected behaviors in some edge cases.

Birgit Pauli-Haack: Yeah. But I’m glad that the team takes the time to go through that and fix those little things as well. 

Performance

So then we had some performance updates and one of them pretty much only one that’s a drag and drop and it’s now, drag and drop is such a wanted feature. And it needs to work really well to be useful, and Kerry Lui did some changes there and fixes there. So I don’t understand exactly what the changes were there.

Grzegorz Ziolkowski: I don’t know. I know, it’s very complex related to how the browsers work. So, if you are keen and learn how you can profile the performance of layouts and, CSS, how it works, the drag and drop, it’s very well explained in the PR that’s linked and Kerry, she’s doing fantastic job on that field. She has a lot of expertise. So you can follow along if you want to learn more. 

So one thing that I checked, one when playing quiz is that in the last episode, I was wondering if it is possible to drag and drop a block from the list view to the editor canvas or the other way around.

And it turns out that you can, and I was surprised. Yes, I don’t know how it works because I don’t think it contributed anything to that functionality at all. But it’s very well designed. If you can do so, so interesting interactions. One thing I noticed that there’s a bit of delay when you drag from the list view to the canvas, then it updates in the canvas and then the animation starts in the list view. So, it’s not the perfect experience, but you know, it was right.

Birgit Pauli-Haack: Right. But it seems that that’s something that Kerry was working on to avoid layout and repaints, but you definitely need to have it. So it’s all in the right order when you drag it from one canvas to the list view and back. So I can see that that’s a great challenge for programmers to get right, yes. 

Experiments

So, and that brings us to the experimentation or the experiment section. And right now, Riad started to put in a prototype and this plugin for a flex layout supported by the block editor. You made some notes on that.

Grzegorz Ziolkowski: Yeah. Because I first wanted to try how it works, but it turns out that it’s not that simple to, that on your website. So first of all, it’s an API change and that API is hidden behind a special flags. So if you add the examples for the group block and to enable that you need to change the block JSON file, for the block, and there is experiment layout already present, but it’s set to true. If you want to use this new feature, you need to choose an object, and there is all over switching flags, but this API is still in progress in, we will change for sure, because Riad left a ton of notes, how it can evolve. So he said that we could introduce more layouts, such as grid or absolute position in container. So it’s really nice when you play with that, but there’s one more thing, it only works with full-site editing themes, that content theme JSON file.

Birgit Pauli-Haack: It needs to be set in the block JSON, black JSON, as well as on theme JSON?

Grzegorz Ziolkowski: No, we don’t need to do anything in the theme JSON but you need to have a theme that have this file, because this experimental layout, it only works for you if it’s full-site editing. I know it’s quite confusing, but I learned the hard way trying to play with that. But once it’s there, it’s really nice. So when you change to the flex, then if you had rows, then you suddenly have items next in one row next to each other. And even if you go and try to move the one of the inner blocks, then the arrows, will be to left and right. So they adapt to the layout, which is pretty nice.

Birgit Pauli-Haack: Yeah. I think there was, years ago, there was an issue that one that, that I also, and I put an actually in the actively discussed. So let’s talk about it again there. So for the Changelog, there’s a lot of testing updates and a lot of build tooling updates. Is there anything that stand out that you wanted to talk about today?

Grzegorz Ziolkowski: There isn’t anything that would count my attention. So I don’t have anything to share. I mean I could but-

Birgit Pauli-Haack: Well, you could probably another hour or so about it.

Grzegorz Ziolkowski: I’m thinking mostly about our listeners and what could be interesting for them? So I didn’t identify anything this time, but there’s a lot of them and mostly this is related to the constant improvements to-end-end testing. And the fact that it’s almost stable these days, which is a great improvement for all the contributors.

Birgit Pauli-Haack: Yeah, absolutely. And there is actually a new testing team, not a new team, but the test team has more new reps. And Tonya Mark has written about that on the test blog. And so they all, some contributors that wanted to get deeper into testing of new versions of the WordPress core, as well as on Gutenberg and have more look at the tickets for needs tuner tests or needs E2E tests to, and add those flags to the tickets. So it can be quite a bit more stable, when it comes out in beta. So I think that’s a good development here too. And if you’re interested in that, I think that the test team can use your assistance there and your help and your expertise. Of course.

Tools

Grzegorz Ziolkowski: So I think I have one thing, Riad Benguella, he’s exploring a special website that would track performance metrics over time for the Gutenberg editor. So, It’s the same thing that you see every time when a new Gutenberg release post is published the bottom of every post, and that would be something that like a chart that would show you how it changes with every Gutenberg release. So, to save some historical data, if that’s working, that would be really nice to observe how it all changes.

Birgit Pauli-Haack: Oh, nice. I just clicked on the link that was in the PR. So I’d like it. It’s a website that’s on Versal, and talks about the different, the type speed, the inserting, the opening, insert opening, insert of hover items, the load of the whole editor, selecting block, selecting and insert a search. So it’s quite nice. Yes. I linked through the additional site as well in the show notes. 

Documentation

And then there were some documentation changes. Some of them were as minuscule as adding a missing space or changing an intake, but one of them is the missing IATN, the internationalization filters for the documentation that was caught by one of the developers on Twitter and turned out it didn’t come over from when the documentation is automated or is imported into the WordPress developer handbook. So that has been fixed now. So you get all the filters that deal with internationalization of your block editor assets.

Grzegorz Ziolkowski: Yeah, that’s really nice for plugin or if they want to modify translations. And it existed there since WordPress 5.7. So, quite a while.

Birgit Pauli-Haack: Yeah. Sorry, it wasn’t in the documentation. And there was one block API change where you, I think it was one of your PRs, how to improve block assets or versioned. And what’s the background of this and why was that important?

Grzegorz Ziolkowski: Oh, it was purely technical on the WordPress core side. So there were some concerns that we were using the file time function, which is based on the five system to generate version for style sheets, which when you have more complex setup, like several servers, then the value might differ when load balancer kicks in. So, it’s fine for a single website, but for more complex, it’s not so reliable. So, the idea is that, we now have in block JSON version field, so you can provide the version of your block, and that is used for style sheets to define whether browsers should load a newer version of the same style sheet.

Birgit Pauli-Haack: Yeah. It’s kind of to bust out of the cache, for the style sheets. that’s very interesting. Cool.

Grzegorz Ziolkowski: Yeah. Even if it’s not provided, then the WordPress version will be used. So, it’s still not a big deal if someone forgets to do it, but in some cases, if you resolve, and then you probably should add that to our blocks.

Birgit Pauli-Haack: Yeah. It makes it definitely explicit, it’s probably better than just assumed.

Code Quality

And then there were some code quality issues that were resolved or checked. One of them is a performance issue, that’s the refactor of the post author component. But George Mamadashvili, short MamaDuka, he refracted it, so it only requests fields that are needed for the rendering, like the ID and the name, and that reduced the trend data transfer considerably by roughly 50%. So, these kinds of changes or behind the scenes, they’re very technical, but it’s really important to know that they are happening. Good. So this brings to the end of the changelog. Yeah. It’s a good release and try out all the new features. And there is one discussion that we mentioned earlier was about the flex layouts. 

What’s in Active Development or Discussed

Now that the prototype is in the plugin, Riad Benguella who published that also opened another issue to discuss further iterations.

And we’ll have it in the show notes for you. It’s 3-3-6-8-7, the issue. And he describes the current state of the floor layout and the flex layout. And then the, an experimental way to switch between the two, as Grzegorz mentioned earlier, and then also outlines concepts that were resolved in a refactoring of some of the blocks to a declarative behavior on context, but Matias Ventura also chimed in and mentioned the grid layouts to be worth exploring as well.

So if you dear listeners want to get in an early discussion of a new feature, this is the time for this feature, subscribe to the issue, chime in in the discussion, and lend your expertise and your ideas to the developer team. I know that way back in 2019, for instance, I think in November ’19, Automattic published a grid layout block. And I wonder how many of the learned lessons can be applied to the core editor. So I’m also linked to that particular plugin and had his last updates were three weeks ago. So it’s still on, and it has about a hundred thousand active installs. So it’s definitely something people are looking for, and your discussion, you can definitely contribute to that.

Grzegorz Ziolkowski: From my perspective, I think that the biggest advantage of the current exploration is that it or uses it an existing block and only add it as a feature.

Birgit Pauli-Haack: Well, this is our bell, it’s the end of the changelog. 

So, we are at the end of the show, and I want to remind everyone too, if you have something that we should talk about, what questions or news that you want us to include, send them to email, [email protected]. That’s [email protected]. If you want to write a review, if you like it, write a review for us, please in either the iTunes or Stitcher, or any other of the podcast directories, it would really help us to spread this wide and far. 

All right. Well, thank you, Greg. This was a great time to spend with you again.

Grzegorz Ziolkowski: Thank you Birgit, and thank you for all our listeners, we are really glad to have your support. And so, see you all in two weeks.

Birgit Pauli-Haack: Yes, two weeks, and thank you for listening. Bye-bye.

by Birgit Pauli-Haack at October 16, 2021 07:45 PM under WordPress

Gutenberg Times: Changelog #48 – WordPress 5.8 Release, WordPress Pattern Directory and Gutenberg 11.1

Grzegorz (Greg) Ziolkowski and Birgit Pauli-Haack talked about the release week with WordPress 5.8 out the door, followed by the new WordPress.org Pattern Directory and Gutenberg 11.1. They also discussed what’s next with Gutenberg.

Show Notes / Transcript

Subscribe to the Gutenberg Changelog podcast via your favorite podcast apps!
🎙️ Spotify | Google | iTunes | PocketCasts | Stitcher |
🎙️ Pod Bean | CastBox | Podchaser | RSS Feed 

Show Notes

Releases WordPress open-source project

WordPress 5.8 Tatum

Too Marvelous for Words by Art Tatum Indeed, marvelous! 🙂

The WordPress Pattern Directory is live

BuddyPress 9.0.0 “Mico”

BuddyPress 9.0.0 Transforms Legacy Widgets Into Blocks

Gutenberg 11.1

What’s new in Gutenberg 11.1.0? (21 July)  

Gutenberg 11.1 Adds Drag-and-Drop Support for List View and Upgrades Block Borders

What’s in Active Development and Discussion

What’s next in Gutenberg? Site Editing status check (Late July-August 2021) by Hector Prieto

Global Styles: Design Tools Overview by Matias Ventura

Widget Editor: Widgets editor refinement by Robert Anderson

Gallery Refactor: Convert Gallery block to use Image blocks instead of having its own nested image format

Did you like this episode? Please write us a reviewhttps://lovethepodcast.com/gutenbergchangelog

 

If you have questions or suggestions, or news you want us to include, send them to [email protected].

Please write us a review on iTunes! (Click here to learn how)

Transcript

Birgit Pauli-Haack: Hello, and welcome to our 48th episode of the Gutenberg Changelog Podcast. In today’s episode, we will talk about the release week with WordPress 5.8 out the door, followed by the new WordPress.org pattern directory, and Gutenberg 11.1. We’ll also discuss what’s next with Gutenberg.

I’m Birgit Pauli-Haack, curator at the Gutenberg Times, and I’m here with my co-host, Grzegorz Ziolkowski, code wrangler at Automattic and WordPress Core contributor on the Core editor team. Good afternoon, Grzegorz. How are you doing? 

Grzegorz Ziolkowski: Hi, good afternoon. I’m great, feeling relaxed. It’s the middle of the summer. The weather is good. It’s so nice to meet you again. How are things on the other side of the Atlantic Ocean?

Birgit Pauli-Haack: Oh, we are getting ready to jump over it on a plane to head to Germany in a week. We are glad that we finally can visit our parents after two years. We’ll stay for a while and work from home-home, like the real home. We think of our parents’ homes as home still. We’re again quite excited, and we’ll stay for a long time, for five weeks to eight weeks. Really our parents are delighted, it is the least to say about it. 

Grzegorz Ziolkowski: That’s really exciting. Also we will be on the same side of the ocean when you fly to Germany, and also it’s the country next to Poland, so that’s exciting. 

Birgit Pauli-Haack: Right. Same time zone.

Grzegorz Ziolkowski: We will be a few hours away. Same time zone. 

Birgit Pauli-Haack: Same time zone. Makes scheduling so much nicer. I don’t think we’re going to travel a lot to other places than just hometowns like Munich and Saarbrücken and Freiburg, Kenzingen, so it will be more on the southeast side than on the northwest side or northeast side, but I will go back to Poland very soon. I really loved Warsaw when I was there. It’s now five years ago. I met so many nice people there. It was really great. I want to go to Krakow, I want to go to Danzig. They’re a German word, so it’s really ….

Grzegorz Ziolkowski: You should go visit Ratzwaf, my hometown. It’s eight hours away from Munich by car, so I recommend that one. 

What’s Released – WordPress 5.8

Birgit Pauli-Haack: Yeah. I’ll definitely do that, but getting back to our Changelog here, what’s being released? There were a lot of things happening in the WordPress space this week, especially around Gutenberg and the new features in WordPress 5.8. We will catch up with it also in upcoming episodes, but for this week, I’m quite busy from all the releases. 

Grzegorz Ziolkowski: Who isn’t?

Birgit Pauli-Haack: Yeah. I don’t know how you all do it. I think a lot of people are doing on it. WordPress 5.8 Tatum is out. It’s named after the American jazz pianist, Art Tatum. If you ever had hear him play, there are quite a few videos on YouTube that I played them. He’s a virtuous jazz piano player and it was just amazing to listen to it. 

The release is the reflection of hard work, of 530 generous volunteer contributors. Collaboration occurred on over 320 tickets on track and over 1,500 pull requests on GitHub. These are mind-boggling numbers, but that’s what Matt Mullenweg wrote in his release announcement. Yay contributors and yay Gutenberg team.

Grzegorz Ziolkowski: Yeah, that release is spectacular, in my opinion, one of the biggest at least since I joined the Gutenberg core team and I’m contributing to the core. This release is really packed with new features. As probably our listeners already know, because we talked about them quite a lot, this is the block widget editor, template editor, duotone feature, list view, and the new preference modal. 

Also, it’s not only the WordPress 5.8, it’s also new WordPress packages. All the updates were published just after the release went out, so if someone is using pieces of WordPress in a different way, they also can benefit from all the same functionality to everything that was added to the Gutenberg plugin after the release was cut out.

Birgit Pauli-Haack: That’s awesome. Those who use Gutenberg and Drupal or those who use Laraberg also get these updates in their system. On the evening of July 20th was the release date for 5.8, but on the evening, the meta team also announced that the first version of the WordPress pattern directory is live, and it comes with a ton of curated block patterns that were curated by the design team as well. Now you can just copy-paste them into your block editor. How cool is that? 

Block patterns are available in 13 languages, so the polyglots not only had to translate the WordPress 5.8, but also block pattern sites. Many more languages will follow. Shout out to the polyglot team that had to work on a lot of more translations than usual for a release. I think 55 locales, not necessarily languages, but 55 locales are actually 100% already finished up the translation for 5.8. That’s really amazing. 

Grzegorz Ziolkowski: Yeah, that’s impressive. It always amazes me. 

Birgit Pauli-Haack: The pattern directory has, I don’t know, over 80 patterns in there and the patterns themselves are also released. There was a moment in time before the release where you saw the same pattern in 15 different languages, it was just interesting, where you had all the Korean signs and the Chinese signs and then the Hebrew. It was, I’d say, wow, this is amazing. It’s a worldwide project. Sometimes we forget about it, but when you see all the languages coming in, it’s so eye-opening for me.

Grzegorz Ziolkowski: Yeah, but this is not all because we had block widgets editor enabled. The BuddyPress team, they released a new version, 9.0.0, and it contains … they transform all the legacy widgets into blocks, so you can use them now on the widgets screen. That’s a great way to start with blocks when you try to convert shortcodes or widgets into blocks. Then, of course, on Wednesday the Gutenberg team released Gutenberg 11.1. 

Birgit Pauli-Haack: That’s a good point with converting widgets and shortcodes into blocks, yeah. I think you can connect with a BuddyPress team, and if you have trouble, connect with them and see what they did and how they did it and what trouble they had and how they overcome that. I think that will be a good way to start if you haven’t worked with blocks yet.

Gutenberg 11.1 – Enhancements

Now, Gutenberg 11.1 comes with a lot of enhancements. I really like that release because some of the blocks actually got some additional features. It was more a content creator and those who work with blocks to actually publish things get a lot more features now again after many, many releases where it was more about foundations and it was more about the future of Gutenberg rather than the here and now. 

Grzegorz Ziolkowski: I think that’s the benefit of having this big WordPress release out, that contributors can finally focus on bringing maybe not big features but some small enhancements, some small improvements about their workflows that improve that daily work for the whole group of people who are using Gutenberg, not only those who are waiting for full-site editing but also all the users that use it for a few years now and can benefit from all the feedback chart during that time and it’s now materialized into nice user experience. 

Birgit Pauli-Haack: Speaking about user experience, Ella van Durpe has added a PWA, and we talked about it I think on our last show, a little bit about it, but PWA is a progressive web app that you can install on your mobile phone. She has normally the front end of a website is installed as a PWA on a mobile phone, but the backend lives from the mobile responses side of the desktop version. 

Ella did something else and it allows the WordPress admin to be installed separately as a home screen and you have easier access, and it’s separated from the front end. I tested it yesterday quite a bit and it works very well for adding content to a site from your mobile phone. I used it together with the Hypernotes plugin, that’s a private notes-taking app, and it works very well with the PWA features there. I can make notes when I’m on the plane, on my phone. When I’m on the internet again, it updates the site when I’m back online, so that’s really cool.

Grzegorz Ziolkowski: I guess the offline support is only for the plugin you mentioned that Ella published together with this change, because I don’t think that it would work out of the box for the regular post or page publishing. 

Birgit Pauli-Haack: I will need to test this. Right now it’s just theory. 

Grzegorz Ziolkowski: Yeah, but I guess that’s the ultimate goal, to have the support. That would be a game-changer for all the content creators. They could just write wherever they want. 

Birgit Pauli-Haack: That’s the aim for it. I hope. There might be some overlap, just for those who test it out, with the PWA plugin that the WordPress team at Google put in the repository and has already add quite a few installs, I think about 40,000 installs, active installs, but I saw on those PR notes or issue notes that one of the developers, Wes Rutter, is actually actively working on the Google PWA plugin to avoid any possible conflict with the Gutenberg WA experiment there. We’ll see how that works out. Good. 

Grzegorz Ziolkowski: We have some enhancements also to the blocks. One of them is at least the block, it has now link color control. For instance, columns block, it has a new feature which allows to stack columns on the mobile screen. Instead of having six columns displayed in a tiny screen, now you can enforce the setup wherein just like every column tags the full width of the screen. It’s a very nice enhancement that probably many website owners had to work around with CSS now it’s natively supported.

Birgit Pauli-Haack: Yeah, and it’s supported without actually mobile breakpoints because those are moving targets. You don’t have to set them out, but you could if you want to. 

The PR that’s linked in the release notes, there were quite a few discussions and design testings, and everybody shared how they worked it out and what still needs to be done. I find it quite educating to go through that and read up about what the problems were, how they were solved and how they fixed the edge cases on it. Sometimes you just go and read up a bit some of those PRs.

Also, in this release, the post term block now has support attribute for the separator. Sometimes, you want to separate them by comma. I think that’s the default. The separator of the post terms, so when you have multiple categories or multiple tags for a post, you can now also decide on the separator. You could even use emojis as a separator, I’ve seen. That’s quite funny.

Grzegorz Ziolkowski: I think there is also for the tag cloud block, there were some changes that removed editor styles that were causing the different presentation in the editor and on the front end. I don’t see that so often these days, but there are still cases that are actively being improved, and that’s great, because the goal is just to have one-to-one experience. Especially with the full-site editing view, that will be very important because people don’t want to jump between the preview and the editing mode too often and anywhere in one canvas, not like in Customizer when you have this sidebar and you edit inside there. It’s just one place to edit everything. 

Birgit Pauli-Haack: That’s a little bit different from the block editor in the post and page screen. When you go there on preview, you open up the front end and look at it, but in the template editor, that’s not how the preview works. It’s a little bit different for the template editor. Really, I just read it again, and I really like that you now have the ability to change the number on the tags that are shown. If an editor puts 20 tags on a post but your designer says, “We only show five of them,” so you can put those in as a setting on the tag cloud block. 

There’s also for the link editing. It was a little bit cumbersome where you have to figure it out by osmosis, I guess, how to unlink a section from the link, and there is now an unlink button. It’s more on the link control pop-over. It’s more a link rather than a button, but now you can just click on it and the link disappears again, which I think is nice. It’s a fast way to do this. 

Grzegorz Ziolkowski: There is also a very important enhancement that we probably should mention earlier. This is for the change for the list view. Now, there is support for drag-and-drop functionality. Previously you would have to go to the canvas of the editor and just grab one of the blocks, which is, some blocks take a lot of space, so sometimes it’s really hard to precisely pick the place or scroll the screen. 

Now you have this much smaller handles because it’s just one row in the list view and you can just take it and drag it to another place. It’s much more smoother experience and much more easier to put the block exactly where you want, especially when there are a few levels of nesting.

Birgit Pauli-Haack: It’s a really nifty feature. I tested it then I’m just, wow, this is a game-changer. Now you can put something that’s off the screen, grab it, and move it just up to a higher place on the post without having to screen things or if you don’t get it right in the selection, and then you just … it’s so much nicer because the drag-and-drop from off the screen to up the screen, off the screen, it was a little cumbersome, but if you use a list view drag-and-drop, it’s so much easier to change things around. Yay, good work, team. 

Grzegorz Ziolkowski: The one thing that I just thought about is, can you drag something from the list view to the editor, or the other way around? 

Birgit Pauli-Haack: No. No, you just drag it up and down the list view, but it will be copied on the editor. 

Grzegorz Ziolkowski: I don’t know if it’s something that people would want, but it’s a nice technical challenge, right? 

Birgit Pauli-Haack: Yeah. That’s a testing challenge. Good. 

Grzegorz Ziolkowski: I just wanted to tell that there is one small enhancement. When there’s only one block in the drop-down menu in the block’s toolbar, that’s from the three dots icon, you could move to even there was only one block, which was impossible. Now this is fixed. It’s more like a bug-fixing in my opinion, but it’s also an enhancement for the experience.

Birgit Pauli-Haack: In the same region, it’s pretty much disable the post publish button if it’s saving non-post entities, if the meta tags or something like that is saved, non-meta box items that are in post meta. Also the preferences have publish label and consolidated option in the preference modal that was just released, and of course it’s the second iteration of it, and it gets some new updates then. 

Grzegorz Ziolkowski: I really like this new … not that new, but the way how it evolved and everything is consolidated in one model. That makes it easier to discover all the options that are there. 

Birgit Pauli-Haack: I’m just still not getting, for many, many years, now I can say it for many, many years, it’s more than three, I would like to have the block manager be a little bit more feature-rich because if I switch off a block, I would really want to know if I used it multiple times, especially when it’s a block that comes from plugins. If I want to do a review, which blocks did I use and all that, I need a separate plugin to do that. I think it would be really helpful if it were out of the box in the block editor, but yeah, I’ll try my best and there are some plugins out there that can be a good inspiration for it. 

Grzegorz Ziolkowski: I agree. 

Birgit Pauli-Haack: That’s my soapbox of the block manager.

APIs 

Grzegorz Ziolkowski: On this note, we can move to the new API section. There are two changes there. One of them is, in the Gutenberg plugin, we have now a new stable endpoint which allows developers to get the list of block editor settings. It’s more or less the same what is exposed from the server for every instance of the editor, but this one is a nice way to grab the same set of settings for a special way of dealing with the editor. The mobile app is a great example because this is the actual use case in this case, but it also gives the opportunity for other plugin developers to find ways to build their own instance of the editor and have all the settings. 

The other change is that we now have a new search control component that’s inside the WordPress components package or under WP.components.globalnamespace inside the editor. This control was used in a few places, so it was just extracted to make it available for third-party usage, which is a really nice simplification if someone needs that UI interaction. 

Birgit Pauli-Haack: Thank you, yes. Back to the block editor settings, what kind of settings would that be? Is it per block or is it the editor itself? 

Grzegorz Ziolkowski: No. It’s per screen. At the moment, there are two different screens out of the blocks. One of them is for the widgets and the other one is for that post/page editor which is hard to tell what will happen with the site editor if it will be a new screen in the future, but that’s the distinction. 

What you get from there is there is a set of some default settings like all the types of the images you can use in the editor or you can get list of color presets, you can get the list of phone size presets. There is all those features that you have, and some of them can be customized and changed by the plugin with a big range of filters. In general, it’s all those things that you would like to customize for your site, and that’s set on the server. 

Birgit Pauli-Haack: It would also be something like the screen has a full-site editing mode or the spotlight on or something like that? Is that part of that endpoint? 

Grzegorz Ziolkowski: Yeah, some of those settings might be there. If the full site editing team is enabled, that would be one of the settings, but for the spotlight, I think it’s only set on the client side.

Birgit Pauli-Haack: Yeah. Right. 

Grzegorz Ziolkowski: The best way to check is just go to the WordPress code base and check all those options. Maybe it’s documented somewhere. If not, we probably should do that and expose in the developer documentation. 

Birgit Pauli-Haack: I’m assuming then, from the list that you had, it reads the theme JSON file or from the theme as well, so you get all the color palettes and all that. Good. 

Grzegorz Ziolkowski: Yeah. It compiles from the different servers, so it’s not only that, but also some existing functions that are in the WordPress for quite long that you normally use like, for instance, a set of image presets like the thumbnail, large and so on. Just consolidated in one API. I know that the folder for the REST API endpoint, there is always an API schema. This is a good way. Probably this is how it will be documented because this will be published to the REST API documentation, so you have automatically generated docs. 

Birgit Pauli-Haack: Exactly. That’s definitely a place, when you write plugins or themes, to check it out and see if you can refactor some of your work before because that is now much easier to do.

Performance

There were just some performance features. One is, we talked about the list view, and the team also improved quite a bit the performance on it. That’s all in one package, but it’s in different places here in the changelog. 

Accessibility

There are quite a few accessibility improvements here, but one is highlighted that the high-contrast mode is now available for the icon buttons. That certainly is for those who are visually a little bit impaired.

Bug Fixes 

Then there were 34 bug fixes and there are some of them are cosmetics, some of them are just some edge cases, like the search block button position drop-down had some accessibility issues that are fixed. Now you can change the border radii. Sometimes when the Italian word has a different plural, sometimes it makes it into English language and sometimes it doesn’t. Comma and commas, it doesn’t, but radius and radii, it does. That’s why I’m a little chuckling a bit as I’m reading through this. 

Grzegorz Ziolkowski: There was also a bug fix for the duotone feature. Now, it allows to avoid rendering duplicate style sheet and SVG files. As far as I remember, there was a change that consolidates all the changes to duotone and it’s moved to the footer, so that improved the readability of the DOM tree, which helps with CSS styling. 

There was also some technical changes. That was targeting the widget screen. That shows how the required compatibility is important in WordPress. In the past, long, long before the Gutenberg was a thing, there was the classic editor that was exposed under WP.editorglobal. When the Gutenberg was born, it was also put under the same namespace, which probably wasn’t the best idea in retrospect, but to work around that, there is now a special so-called “shin” that allows those two objects to coexist and they just merge together and show that all the functionality is exposed also on the widget screen. 

Birgit Pauli-Haack: Exactly. Thank you. 

Grzegorz Ziolkowski: I know that there was also a last-time change for WordPress 5.8. There was this fix for select-all, if you are using mark comment A shortcut. The way it worked in WordPress 5.7 was if you wouldn’t have any selection, it would just copy all the blocks, whereas for WordPress 5.8, it didn’t quite work, but eventually the last approach was that if you click anywhere in the editor’s canvas, then it will copy all blocks, but if you use this comment A shortcut, when you click, for instance, on the header, then it would just work as in on other websites. There’s these distinctions that in my opinion make sense, but maybe it’s confusing for users if they are familiar with the old behavior. 

Birgit Pauli-Haack: Thank you for pointing that out. I didn’t realize that, but it makes total sense. What we heard from the tags block were the editor screen and the front end screen is matching the layout, that goes actually … some of the big fixes where these kinds of changes, where some of the styling that was applied to a block or after the block has been removed so it better matches the front end. It goes through quite a few of those updates. 

For those who work on the theme JSON and try to switch off and on some of the features, like the color duotone or the spacing units, you now can add empty values in the JSON file to signal that there is no feature for that. All right, that brings us to the … there’s one item that’s highlight that extracts snack bars into a separate component. Is it lunchtime yet? 

Grzegorz Ziolkowski: I’m after lunch.

Birgit Pauli-Haack: You’re ready for dinner. 

Grzegorz Ziolkowski: … but I guess it made you hungry. 

Birgit Pauli-Haack: Made me hungry, yes.

Grzegorz Ziolkowski: It’s a funny name for this little pop-up that shows up in Gutenberg on the bottom left of the screen after you do some impressive action, like you publish a post. There was some issue with the layering, so this is Z index in CSS. It was covered with something, it was fixed, and it was also extracted to its own section in the abstraction that is built inside the block editor which is called layout in the interface package. There’s some planned follow-up work for all the notices to have a special handling, so they are always displayed on top of everything else. 

Birgit Pauli-Haack: Oh, yeah. Makes sense. It’s not covered up and people don’t know if it worked. Thank you. 

Experiments

Grzegorz Ziolkowski: Now we can go to experiments. We have 16 items in this section. It’s not the usual number we saw in the past because some of those experiments are now in Core, so that’s a great progress.

Birgit Pauli-Haack: Or are in the Gutenberg plugin. They’re not necessarily all in Core because the full site template editor is not yet in Core, the site editor stream, but it’s out of experimentation. The plugins, when you install it, you have it right away and don’t have to look in experimentation. 

The experiments are actually only three sections now. That’s a component system, it’s a G2 we talked about quite often already, but it’s now getting into the plugin, and then there’s a navigation block and the screen and the global styles. They are still in experimentation. 

Grzegorz Ziolkowski: In the component system, we have a new experimental component, so to speak, and it’s called flayout. Flyout? 

Birgit Pauli-Haack: Flyout. 

Grzegorz Ziolkowski: Initially, the idea was to call it pop-over, but this name is already taken by the existing component, but it has some different mechanics. It was really hard to map the new functionality to the old one, so the decision was made to just introduce a new one. 

The follow-up work is planned to use this flyout in as many places as possible and figure out if the old components still need to exist or it can be duplicated or just maybe the name will be pop-over after all. It’s really hard, all those changes for the UI to make it happen, especially when you know that so many projects use those components, which is both handling but also brings this complexity. 

Birgit Pauli-Haack: If a plugin developer develops a block or something like that, they could use all those components, right, and experiment with it? 

Grzegorz Ziolkowski: Yeah. They can, but there is no guarantee that the API will stay and they are also prefixed with underscore, underscore experimental. Use it at your own risk. 

Birgit Pauli-Haack: Don’t try this at home. 

Grzegorz Ziolkowski: It’s always like when you are in States, you just need to sign a waiver before using any of the….

Birgit Pauli-Haack: Experiments, yeah. 

Grzegorz Ziolkowski: … excursion of ….

Birgit Pauli-Haack: Yeah. Navigation block is getting some attention now that all the widget things is at least released in its second iteration and has quite a few changes there, be it from color options for the sub-menu to improved handling of the overlay to the inheritance of the placeholder for the menu item. Also made it into the release is a refractor of the navigation block rendering using allocation attribute. 

Grzegorz Ziolkowski: The change is for global style. Sound very technical even for me. 

Birgit Pauli-Haack: We talk about that a little bit on a higher level when we talk about what’s next for Gutenberg. 

Documentation

In the changelog, we’re coming to the documentation section, and that definitely had quite some updates that are interesting for the developers that are working on extending Gutenberg. 

Grzegorz Ziolkowski: I guess at least for the block API and for block editor API, this is something I worked on, it’s all the content that you would be familiar if you read Dev Notes for the same topic, but it’s brought to the documentation. I think the more interesting part, at least for myself, is the theme JSON changes. We have now examples and highlighted backward compatibility usage. That’s quite important I think to look at if you are experimenting with this theme JSON format. 

Birgit Pauli-Haack: With that, of course came an update on the format with the WordPress 5.8 changes. 

Grzegorz Ziolkowski: Also for the same topic, I think the biggest challenge now is that there is still an active development, so new features are added. In the documentation, it needs to be very clear what’s already in WordPress Core and what’s part of the Gutenberg plugin experience, so I think there is also an entry and a change that covers that. 

Birgit Pauli-Haack: That’s a good point. I think the last few years, there was quite some confusion. Especially when you have plugins and you need to gear it towards multiple versions of WordPress, who is on 5.7, who is on 5.6 to make that all work was, even if the new features come, you need to go back and say, not for you, not for you, not for you in your code. It’s not for WordPress 5.1 or 2 or 3 or 4, but it’s only for 5.6 and 7.

Code Quality

We’re coming to code quality changes, and it seems that there are quite a few that you could be talking about that changed. 

Grzegorz Ziolkowski: I highlighted changes for the API fetch that we discussed in the last episode. There was some follow-up on that front. Now there is a user auto-completer component in the block editor that doesn’t use this API fetch directly by the abstraction built on top of that. The same applies to the latest post block. Those things are in motion and very quickly are changed in the WordPress. 

There are new components that were … those components were experimental: the gradient picker and the custom gradient picker. Those two components are now considered stable, so everyone is encouraged to try them out and to use in their products. The backward compatibility will be assured from now on. 

Birgit Pauli-Haack: This is the keyword for me is gradients! I love gradients, yes, and I like that we have them in Gutenberg so much. 

Tools

Then there were some additional tool changes, 16 of them for testing dependencies and workflows. Now, previously-skipped widget tests are now enabled. 

Grzegorz Ziolkowski: There’s some back and forth. I highlighted those items that I consider interesting, that some tests were enabled, they’re disabled, enabled again. It’s very important for the projects to have a reliable verification from end-to-end tests, unit tests and all sorts of tests that you can come up with. It’s a very strong emphasis to have that always be something that you can look at and say, “It’s working. I can just merge the change,” because otherwise, if there’s so many contributors, it will be impossible to keep the pace on the tests.

Birgit Pauli-Haack: Yeah, keep the pace or not. I have to go back and do a regression testing as well, which you do. 

Grzegorz Ziolkowski: There are also some new tests other than that. I encourage everyone, if they want to figure out how they could contribute with code, so finding a piece of UI interaction that isn’t covered through this test and writing end-to-end tests is a great experience in both to see how this automation works, how you can see the interactive mode and look how computer is just doing user interactions in your Chrome browser. That’s really nice experience and really rewarding when you make it go and to test passes and all the verifications are checked. 

Birgit Pauli-Haack: It’s instant gratification. What can be better than that? I have found that that’s my programming style is I need instant gratification. I can’t wait until everything is compiled and all that. That’s why HTML was so fabulous for me. I can see it right away. 

Grzegorz Ziolkowski: With CSS, it’s even better. 

Birgit Pauli-Haack: It’s even better? Yeah. 

Grzegorz Ziolkowski: You just open dev tools and just change something and you know that it works. 

Birgit Pauli-Haack: Yeah, and you can change it only for you, and you don’t have to even publish a code for it. 

Grzegorz Ziolkowski: The last item I had is just mostly for us when we are going to the changelog is that now those, as I said, some of the experiments that were moved to the stable feature, so that’s why we don’t see as many items in that list. 

Birgit Pauli-Haack: I think what also was on the list, but we skipped it, is that the changelog automation, when the plugin is released, there is now a process there to look at each automation process to look at each PR and classified at the different categories, and then put it into the block library, so when you read through the release notes, you can better identify what the change actually was about and have some of the changes clustered in one category. I really like that. There’s some great work to be done there. 

Grzegorz Ziolkowski: I think that we should see that in two weeks, when the new changelog is generated, because it was too late to use those changes for the release. I’m really looking forward to it because it will have a better grouping, and that will improve the reading experience. 

Birgit Pauli-Haack: That was then the Gutenberg 11.1. Go out and test it and try it and work with it. I don’t know how many of you use Gutenberg actually in production. I do on many sites. I have yet to have to return to a previous version, but I also know where the pitfalls are that I can work around and say, “No, that doesn’t work. Don’t do it,” to some of the code editors. 

What’s in Active Development or Discussed

That gets us into what’s an active development and what’s discussed. Hector Prieto has skipped the What’s Next focus post that comes out every month for July, for beginning of July because of all the work that was to be done for WordPress 5.8, and everybody was focused on that. He published just also this week the new site editor status check for late July, so for one week, and then for the whole of August, which is the focus project. You had a quote that you found interesting. 

Grzegorz Ziolkowski: Yeah. I reached out to Hector and asked him about the higher-level overview. The main idea is to turn a page after 5.8 from the classic FSA foundational work to a new iteration that focuses apart from remaining things like navigation, on design tools, patterns and all kinds of interactions that improve and ease the user experience as the editor complexity grows. 

Birgit Pauli-Haack: That means that for the site editing infrastructure, there were a few focuses. One is of course the template previewing, making it easier for people to see what they’re doing. Then the browse mode, that’s a new mode, I think. Then, mosaic view for theme template. You get cards from the theme template, so you can choose them and you hopefully also see … I saw some early mock-ups of that where you see some preview of how it looks, how each template looks, so you can select the right one. 

Then, restrict the block editing capabilities based on context. That’s certainly important when you have a block that’s used on a page or a block that’s used, for instance, in a block template or a widget setting, and also if it’s an inner block or an outer block or with a query loop block. I think that comes very much into fruition there. 

Grzegorz Ziolkowski: I’m looking forward to see the browse mode because it essentially allows you to navigate with the links that are on the page, so you can just go from the whole screen and see how it looks like, go to the About page, change something there, go to the contact page, change something there, it will be very smooth experience once this is in action. 

Birgit Pauli-Haack: That sounds almost like a front-end editing, but in the editor. I’d like to see that, yes. 

Global Styles

One other part is certainly the global styles. Global styles was always two parts. One was what then became the theme JSON feature where you have a central place for theme developers to have all the settings for a certain theme, and that’s in a configuration file, but the second part was for user to change global styles with a user interface in the sidebar of the site editor, and has been in experiment I think since last December or November already, but that is now make it ready for more users to test it and get it out of the experiments into the plugin and then make it ready for 5.9 hopefully that will come out in December. 

Grzegorz Ziolkowski: Just to clarify, is it this feature that has its own sidebar presence in the site editor, right?

Birgit Pauli-Haack: Yes. Yeah. 

Grzegorz Ziolkowski: That’s this section?

Birgit Pauli-Haack: Yeah. That’s a global style. 

Grzegorz Ziolkowski: It probably builds on top of theme JSON, so that only shows the customizations you make to the theme. 

Birgit Pauli-Haack: Right. The theme could actually allow you to have multiple color palettes, but then, it gives you that interface to change it up and then react to it. I think it’s a big, big task to get this right and get it interesting for a user to actually pursue that, but also to not be all things to all people. That’s a balance to strike there, but yeah, that’s one of the focus items that Hector Prieto highlighted in his post. I’m just going to look on …. 

He has other things as well, one as the theme blocks that have more of the post aid, post excerpt, post feature, post content kind of blocks for the query block, and also the site header, site title and the header thing are already in there, but they of course need to be refined. Then, the query loop block will get some enhancement. Then, another focus is the navigation block and editor screen and site editing gradual adoption, which needs to be seen how can a theme move from a classic theme over a hybrid theme to be a universal theme or a block-based full-site editing theme only. All those interactions are to be discussed and worked on. 

There are even more. The whole post is I think about 3,000 words long, but it’s a milestone to look at that, okay, we know that and what’s coming up and we are not done yet. We are not there yet and there are quite a few things to be done. 

Grzegorz Ziolkowski: I think that’s so big because it more covers the scope of the WordPress 5.9 release, at least what’s in plans. Rather than something that you can realistically do in August, when people on the north of the globe spend time during summer vacation, so I don’t expect so much movement in that area, but it’s great to see the vision for the release, and everyone can just focus on their area of interest and drill down in it later throughout there and get involved in those parts. 

Birgit Pauli-Haack: It’s really a great way to learn more about the details of all those things that might come for 5.9 or even 6.0, because we will have something like what we had in April, where we go look at all the features or the team is going to look at all the features that, is it ready yet, is it ready yet, or do we punt it for 6.0? 

The feature lead, if such a thing is actually there, Robert Anderson talked about, has an overview issue on GitHub now with what’s next for the widget editor now that’s in Core, what are the things to be worked on. That’s definitely something to look through because it’s how to smooth out the rough edges, improve performance and stability, and improve extensibility for all the plugin developers out there that now want to extend the widget editor or widget sections. 

That’s a good overview issue and see what’s all worked on. Of course, we’ll share that all in the show notes. What I found was a little bit put on the ways, on the side was the gallery refractor for the gallery block that switches from a … to have nested image blocks in the gallery rather than create the images over and over, but we haven’t gone further with that.

It hasn’t been merged with the Gutenberg plugin yet. It’s still out there, but I’m really excited about it and I have been excited since I started testing it because it has so much more potential and I’m really looking forward to that. I think I’m going to go back to that and see if I can assist in some more testing there. 

Grzegorz Ziolkowski: I think it’s mostly about the Core compatibility. That’s the only challenge that is making this process so difficult. That’s why it takes so long. 

Birgit Pauli-Haack: No, I totally get it. I was not trying to be impatient. I know the last 10% normally take 80% of the time that it takes to build something like that. It would be such a rich experience for a content creator that it’s worth spending time on and getting it right, of course. 

Grzegorz Ziolkowski: I think everyone is aware that you could now use list view and use drag-and-drop to move your image to the gallery or move out of the gallery and reorder some of the images. There’s so much potential when you start using those concepts.

Birgit Pauli-Haack: Just to apply the image styles, that you have a gallery of head shots that you can make round for a conference or just a little event or so that you have, it’s just a nice experience, rather than….

Grzegorz Ziolkowski: Or maybe groups inside the gallery. You could create columns, groups, whatever. It’s so exciting to think about all the possibilities that it opens. 

Birgit Pauli-Haack: I like that creativity say, “When we can do that, can we do other things?” Yeah. 

That’s pretty much we’re on the end of the show. For all those that are on holiday and a vacation and are outside and away from the keyboard and still listening to it, we’re so happy you’re here. When you get back to the computer, you have so many great things to test out and work on. Do you have any last announcements or things that you weren’t able to get in before that, Grzegorz?

Grzegorz Ziolkowski: No, no. I think we covered everything. 

Birgit Pauli-Haack: Exactly, yeah. As always, the show notes will be published under GutenbergTimes.com/Podcast. This is Episode 48. If you have questions, suggestions or news you want us to include, send them to [email protected]. That’s [email protected]

Grzegorz Ziolkowski: We would like also to hear about our show and whether you like it or not, so we are looking forward for all the reviews so we can improve what we cover in here. We are always happy to hear your feedback. 

Birgit Pauli-Haack: Good point. Thanks so much for taking that on. Thank you all for being here. Thank you, Greg, for spending time on this and working hard on this. It was a pleasure talking to you. Thanks everybody for this time. Goodbye. 

Grzegorz Ziolkowski: Likewise, thank you very much, Birgit. See you in two weeks. 

Birgit Pauli-Haack: All right. Bye. 

by Gutenberg Changelog at October 16, 2021 07:45 PM under WordPress

Gutenberg Times: Go/NoGo WordPress 5.9, Pattern Palooza and Popover – Weekend Edition 189

Howdy,

It was a very busy week of meetings, news and live streams. The buzz around the next major WordPress version keeps everyone excited and alert. There is also hard to deal with FOMO*, as we can’t be at two or three places at the same time. And who has time to watch all the recordings?

Well, next week won’t be any different: Monday, the Page Builder Summit will start with 35+ talks around freelance and agency business their tools. Below is a list of all Gutenberg related talks.

The WordPress teams published quite a few posts around the WordPress 5.9 release. It’s not yet Field Guide time, though.

Hope, y’all have a great weekend with reduced screen time.

Yours, 💕
Birgit

PS: The recordings of the last two Live Q & As are available on YouTube. The posts with resources and transcript are in the works.

PPS: In a very short video, Jamie Marsland shows us Why WordPress Gutenberg is a threat to Elementor and Divi. #shorts

*Fear of Missing Out

Gutenberg and WordPress Development

In his post, WordPress 5.9 Feature Go/No-Go, Hector Prieto published the summary of the meeting, the list of features, the recording, and a transcript. The recording is particularly interesting for Matias Ventura’s demo of the current state of the major features:

  • List View – Expand-collapse, Drag & Drop
  • Auto-Anchors on Headings
  • Border support for blocks
  • Layout – Gap spacing, Flex & Row,
  • Typography Tools across Blocks and styles
  • Full-site Editing as opt-in, beta preview.

Throughout the meeting, I heard the language shifting, in an attempt to simplify talking about the various features.

  • Now: Block Themes (instead of Block-based Themes)
  • Now: Editor (instead of Site Editor or Template Editor)
  • Now: Styles (instead of Global Styles)

Sarah Gooding wrote about it in the WPTavern: WordPress 5.9 Go/No-Go Update: All Proposed Features Are Moving Forward


The work on WordPress 5.9 is on track with The Preliminary Road 5.9, Matias Ventura posted a couple month ago, except for the Navigation Screen, that did not get past the backwards compatibility issues. The Navigation Block as a major feature for site-building will be available for Block Themes in the new WordPress version.

If you want to learn more about the status on the Navigation Screen and Block project, the team came together in a Hallway Hangout to discuss the priorities for the WordPress 5.9 release. Daniel Richards posted the Summary: Navigation Editor and Block hallway hangout, including the recording of the meeting. One meeting topic was Backwards compatibility with the current system for the Navigation screen.


The Gutenberg developers also release a new version of the Gutenberg plugin. Gutenberg 11.7

Adam Zielinski, release coordinator for this version, published the release notes: What’s new in Gutenberg 11.7 (October 13th)

Justin Tadlock took it for a spin and reviewed it for the WPTavern: Gutenberg 11.7 Iterates on Global Styles, Improves Adding Navigation Links, and Adds Column Spacing

Only two more Gutenberg releases (11.8 + 11.9) until Feature Freeze on November 9th, 2021.


Kelly Hoffman and James Koster from the WordPress design team shared their ideas for Site editing IA concepts: How to surface and access new features. (IA = Information Architecture)
They wrote: “Do we want to begin down this path towards a single page app-like experience, or would it be better to keep things separate for now? It’s time to explore and design the IA (information architecture) so that we can begin to paint a picture of how we might merge this exciting functionality in to core.”

You can follow along the explorations via the prototype links on Figma. You are offered two ideas: All in one means one editor screen, reached via the “Appearance” Menu, and you edit templates, post, and pages, template parts or change the styles all on this screen that adjust for the various context. The other idea is to keep post and page editing and site editing features separate, but surface some template parts to be reachable via the post/page editor.

Example screen: Site editing IA concepts: How to surface and access new features.

I can see the all-in-one idea working, as it would hide the rest of the WPAdmin for the common content creation tasks, as that’s where many end users get lost or bombarded with plugins or theme upsell and update notices. I also enjoy the alternative design to the “Welcome Guide.”

This is not a quick decision to make. As the second one feels familiar, and the first one very new, I suspect my decision might be skewed by the “known” versus the “new”, instead which of the avenues makes the best sense for the End-User.

If you have an opinion formed, leave a comment on the post!


With WordPress 5.9 only two months away and Go-NoGo decisions made, Anne McCarthy started a second round of collecting questions you might have about Full-site editing. Submit Full Site Editing questions by Oct 27th. McCarthy asked “As it’s possible, please focus questions specifically around WordPress 5.9 as those will be the highest impact to address and not on larger strategic decisions.” 

 “Keeping up with Gutenberg – Index 2021” 
A chronological list of the WordPress Make Blog posts from various teams involved in Gutenberg development: Design, Theme Review Team, Core Editor, Core JS, Core CSS, Test and Meta team from Jan. 2021 on. Updated by yours truly.


Creating and using Block Themes

Marcy Diaz recounted in “Custom WordPress Full Site Editing Theme Now Live” who she converted her site from a classic theme to a Block Theme. Along the way, Diaz shared her experiences interacting with tools and interfaces of theme.json or the Styles sidebar in the editor for templates.

It started as an experiment, but it came together easier than I expected, and so it’s live on this site now.

Marcy Diaz

In Proposal for Themes To Highlight Block Patterns From the Directory, Justin Tadlock explores Kjell Reigstad’s idea: Designers could not only provide patterns with their themes, but also highlight block patterns from the WordPress.org Pattern Directory to their users. It would reduce the bundle size of the themes, and exposes site builders to the broader range of Patterns in the directory. What do you think about this?

Need a plugin .zip from Gutenberg’s main (trunk) branch?
Gutenberg Times provides daily build for testing and review.
Have you been using it? Hit reply and let me know.

GitHub all releases


Speaking of WordPress Block Patterns, Tammie Lister added 14 more inspiring block patterns to her Patternspiration site. I love the alignment of text and photos in 006 and the Chapter list of 002.

Tammie Lister, Patternspiration 002

Many theme developers are taking their first steps on creating a block theme. Carolina Nymark has a few tips on Troubleshooting block themes. Nymark has been working on block themes for little over a year and has tackle pretty much all problems, you could encounter at the beginning: From syntax errors in theme.json to Template issues.

Building Blocks for WordPress

On his Thursday’s on Twitch live coding session, Ryan Welcher showed us how to create an accordion block that uses the InnerBlock component.


Herb Miller, developer and early adopter of block development, did a deep dive into Internationalizing and localizing block-based plugins. Miller first explains the difference between internationalization, translation and localizing, lists the tools, you’d be using and explains with code examples how to make your JavaScript and PHP code ‘translatable’. An excellent tutorial, that helps you offer your products to a broader audience and empowers translation teams to make your plugin available in many other languages.


Join us on October 28th at 12 pm EDT / 16:00 UTC
Gutenberg Times Live Q & A: Converting classic widgets to blocks
Learn from the BuddyPress team members, Mathieu Viet, David Cavins, Varun Dubey.


David Gwyer published another tutorial on his new site InnerBlocks: How to Use a Popover Component. He starts off with using the official WordPress scaffolding tool for blocks create-block and then walks the process to add the Popover Component to our new block and includes handling of state to manage visibility of the popover. It’s a great real life example of block development.


WordPress Events

October 18 – 22, 2021
Page Builder Summit Take a look at the schedule!

Here is the list of Gutenberg / Block-editor presentations

  • Forging the Future with Full Site Editing with Anne McCarthy (10/18 – 9am EDT)
  • The Future of Building WordPress Websites with Brian Gardner (10/18 – 12pm EDT)
  • What does Full Site Editing Mean for Page Builders? with Joe Casabona (10/19/ 9am EDT)
  • Customizing WordPress Block Editor for Client Projects with Birgit Pauli-Haack (10/19/ – 10 am EDT)
  • Mastering modern WordPress with Full-site Editing & Custom Blocks with Rob Stinson (10/20/ – 5am EDT)
  • How to Build Any Page Layout Using Kadence Blocks with Jake Pfohl (10/20/ – 12pm EDT)
  • Building a Custom Blog Archive with Blocks with Mike Oliver (10/21/ 11am EDT)
  • RIP Page Builders with Chris Lubkert (10/19 – 1pm EDT)

October 28, 2021 – 1 pm EDT / 17:00 UTC
Post Status: Headless WordPress Webinar

With Experts from WebDevStudios

  • Brad Williams, CEO and Co-Founder
  • Lisa Sabin-Wilson, COO and Co-Founder
  • Greg Rickaby, Director of Engineering
  • Amor Kumar, Frontend Engineer

November 4th, 2021,
WPEngine Summit 2021 (EMEA)
starts at 10 am UTC / 6am EDT

With many fantastic speakers, among them CEO Heather Brunner, Chris Weigman, Rob Stinson, Hashim Warren, Grace Erixon, and Brian Gardner


On the Calendar for WordPress Online Events site, you can browse a list of the upcoming WordPress Events, around the world, including WordCamps, WooCommerce, Elementor, Divi Builder and Beaver Builder meetups.


Don’t want to miss the next Weekend Edition?

We hate spam, too and won’t give your email address to anyone except Mailchimp to send out our Weekend Edition

Thanks for subscribing.

“Building blocks” by jgbarah is licensed under CC BY-SA 2.0

by Birgit Pauli-Haack at October 16, 2021 07:44 PM under Weekend Edition

WPTavern: Ask the Bartender: What Happens to the Customizer When a Block Theme Is Active?

Something on my radar right now is third-party plugins that have settings in the Customizer. What I gather of friends who are the devs working on Customizer and front-end stuff within a few plugin companies, global styles and block styles are not yet on their radar. So what happens if someone installs Twenty Twenty-Two or another block-based theme? The left admin menu for Customizer isn’t there. The janky way to get there is via Appearance > Themes > Customizer. But the expectation is that third-party plugins and themes need to move settings over. In fact, this seems more like they need to duplicate settings in both places for a while.

Anonymous

For those out of the loop, let me provide a quick refresher on this topic. When WordPress 5.9 lands, we expect it to ship with the new site editor and global styles interface. However, most users will not see this screen unless they are running a block theme.

Given that the upcoming Twenty Twenty-Two is also shipping with WordPress 5.9 and judging the popularity of past default themes, we can expect many thousands of users will be transported into this whole new world. For some, this might be as shocking as the launch of the block editor in 5.0.

When a block theme is active, links to access the old and familiar customizer will disappear from the user interface. The widgets and nav menu screens won’t be around either. However, they will still be accessible if you know the URL for the screens.

We first learned this would be the case last year as part of the Gutenberg 9.3 release. There is also an open issue to ensure that the site editor has feature parity with some core WordPress settings.

It is OK that these features are being phased out for block theme users. They were all early, disparate attempts at creating individual pieces of what the site editor will allow. WordPress is bringing all of these concepts together into a more cohesive user experience. It is a standard that contributors can continually iterate on. It will not be perfect out of the gate, but this first version in the core platform should fuel the feedback needed to improve it as more users start installing block themes.

The problem presented here has more to do with the plugin market. The customizer was initially built as a theme-settings tool and has primarily been used for that purpose. But, many plugins have tied various settings to it over its nine-year history. A search for wp_customize in the plugin directory pulls up over 1,400 results. The customize_register hook shows over 1,900. These are not necessarily exact matches for how many plugins actually add panels, sections, settings, or controls. However, it is an indicator that many are relying on it to present options to end-users.

So, we are back to the question at hand. What happens when a user installs a block theme, such as the upcoming Twenty Twenty-Two, while using a plugin that relies on the customizer?

It depends.

Some plugins like WooCommerce have already conveniently placed a direct link to their customizer panel/section in the admin menu. This will be a non-issue for their users. However, for everyone else, the customizer will seem to disappear entirely.

WooCommerce customizer options accessible with block theme.

In a matter of weeks after 5.9, depending on how quick the adoption of Twenty Twenty-Two occurs in particular, we could be looking at thousands of confused users. Of course, all of this could change in the time leading up to the release. However, this is a conversation that needs to happen now.

“The concern here is for end-users,” said the anonymous questioner. “They will be looking at knowledgebase articles, directions in plugin settings, and more indicating where to look for the settings.”

At least at the moment, the onus is on plugin authors to address this for their own users. However, there are multiple pathways they may want to go down.

The most straightforward method is to follow the lead of WooCommerce. The plugin checks the gutenberg_is_fse_theme() conditional (note that this function name may change). If it returns true, the plugin adds a link directly to its customizer panel.

Linking to a customizer panel, section, or control is simple. Plugin authors can find the URLs in the developer handbook. They can also just copy the technique the WooCommerce team employed.

This is a quick method to ensure users do not lose access to their options if plugin authors cannot make changes before WordPress 5.9 lands.

In the long term, it is not the ideal solution. The customizer will be around for a long while, but plugin authors will need to deal with two sets of users: those running both block and classic themes.

Because each plugin is different, solutions will need to be different. Many can simply use the Settings API to build a custom options screen. If that is a workable solution, it will not matter what theme the user is running.

However, the reality might be maintaining two systems for both sets of users. One that integrates with the customizer and another that pulls options into the site editor. If the plugin has design-related features, block theme users will expect to see settings in the new interface.

On the theming side of things, there should be fewer problems. A block theme does nothing with the customizer anyway. One outstanding issue would be converting starter content over, and there is an open ticket to bring that to Full Site Editing.

More than anything, keeping open lines of communication with users will help ease the transition. Some of that should come from core WordPress. However, many users will need to hear it from their plugin and theme developers. This might be blog posts, knowledgebase or tutorial updates, and keeping up with support.

Then, there is the final solution, one that WordPress itself could implement. It is also the path of least resistance.

WordPress should automatically detect filters or actions on customizer-related hooks. This should trigger a “customize supports” flag and maintain the admin menu and toolbar links to the customizer screen. This would give developers some time to catch up without confusing users in the process. There might be a few false flags or missed integrations, but it should be able to effectively catch the majority of use cases.

by Justin Tadlock at October 16, 2021 01:02 AM under Ask the Bartender

October 15, 2021

WPTavern: WordPress 5.9 Go/No-Go Update: All Proposed Features Are Moving Forward

The go/no-go deadline for deciding on features for WordPress 5.9 was set for October 12 but the conversation was pushed back two days. Today, the core leadership for this release announced that everything in the previously-proposed scope for 5.9 will be moving forward.

Users can expect block themes, template and template part editing flows, the new default Twenty-Twenty Two block theme, the Styles interface, design tools, the Navigation Block, all manner of UI improvements, and pattern insertion directly from the Pattern Directory. Héctor Prieto, who is assisting with technical project management on the release, emphasized that many of these features are still in progress:

To note, not all of the above are currently ready, but there is some level of confidence that they can be by the time of 5.9.

A new WordPress 5.9 Must-Haves project board on GitHub shows a broad overview of the issues contributors are focusing on to get the release ready.

Prieto also published an exhaustive transcript of the meeting. There were no strong objections on specific features moving forward but there seemed to be a general acknowledgment that some features are still in a beta state. Those present at the meeting agreed that some kind of beta label might be advantageous where users could be directed to the Gutenberg plugin for faster updates to features that are still not fully polished.

One particularly challenging feature has been navigation. “I think from my perspective, the thing I was a bit worried about was the navigation menu flows, which I think we did a lot of progress over the last few weeks,” Gutenberg lead engineer Matías Ventura said. “And I think we need to set some good boundaries there.

“There has been a lot of work in also supporting sort of mega menus where you have in your sub-menus, you have images and paragraph any sort of block, which is cool. But there’s also like the 80% of cases where you just have a few links, and we need to ensure that that experience is as best as we can make it. I think we’re in a better place. And I think we’ll get there.”

Beta 1 is expected November 16, and the official release is scheduled for December 14. If you want to see an early demo of WordPress 5.9, check out the recording of the meeting below:

by Sarah Gooding at October 15, 2021 09:28 PM under WordPress

Post Status: Post Status Excerpt (No. 28) — A WordPress Core Performance Team?

“If plugin authors were better educated maybe they would make some different choices.”

In this episode of Post Status Excerpt, Cory and David talk about WordPress's reputation relative to its performance. This discussion unfolds in light of a new proposal for a Performance Team for WordPress core. What should happen to improve the WordPress experience (for both the user and for search engines) on the front-end and the admin experience as well? Education? Notifications to the user?

Also covered in this episode: We are formally announcing the existence of the new Post Status homepage, which is still a work in progress. We're also encouraging listeners to check out the “Week at WordPress.org” (get the feed here), and submit your Black Friday / Cyber Monday deals to us at Post Status.

Every week Post Status Excerpt will brief you on important WordPress news — in about 15 minutes or less! Learn what's new in WordPress in a flash. ⚡

You can listen to past episodes of The Excerpt, browse all our podcasts, and don’t forget to subscribe on Spotify, Amazon Music, Google Podcasts, iTunes, Castro, YouTube, Stitcher, Player.fm, Pocket Casts, Simplecast, or by RSS. 🎧

🔗 Mentioned in the show:

🙏 Sponsor: Wordfence

Who can afford downtime, a black mark on their brand’s reputation, or the SEO impact of getting hacked? That’s why so many WordPress sites rely on the real-time protection provided by Wordfence Premium. Now, Wordfence Central offers Premium subscribers a powerful and efficient dashboard to manage security for all their sites from one central location. Try Wordfence today.

by David Bisset at October 15, 2021 03:50 PM under Everyone

WPTavern: WP Fastest Cache Patches Authenticated SQL Injection and Stored XSS Via CSRF Vulnerabilities

The Jetpack Scan team has published a summary of two issues recently discovered in the WP Fastest Cache plugin – an Authenticated SQL Injection vulnerability and a Stored XSS Via CSRF vulnerability.

“If exploited, the SQL Injection bug could grant attackers access to privileged information from the affected site’s database (e.g., usernames and hashed passwords),” Automattic security research engineer Marc Montpas said. This particular vulnerability can only be exploited on sites where the Classic Editor plugin is both installed and activated.

“Successfully exploiting the CSRF and Stored XSS vulnerability could enable bad actors to perform any action the logged-in administrator they targeted is allowed to do on the targeted site,” Montpas said. He also found that attackers could “abuse some of these options to store rogue Javascript on the affected website.”

WP Fastest Cache is active on more than 1 million WordPress sites, and the plugin also reports 58,322 paid users. Emre Vona, the plugin’s author, patched the vulnerabilities in version 0.9.5, released this week. Jetpack recommends users update as soon as possible, as both vulnerabilities have a high technical impact if exploited.

by Sarah Gooding at October 15, 2021 02:14 AM under security

October 14, 2021

WPTavern: Gutenberg 11.7 Iterates on Global Styles, Improves Adding Navigation Links, and Adds Column Spacing

Released yesterday, Gutenberg 11.7 is one of the more exciting releases we have had in a while. The Global Styles system iterations continue to impress. The lighter nav experience makes adding links easier, and a spacing control for the Columns block delivered one of my oldest wish list items.

The Site Logo block supports duotone filters, bringing it up to par with other image-related blocks. Plus, theme authors can set the default filter via their theme.json files.

There are several other changes to love, such as the refreshed gradient picker design and typography controls for post navigation blocks. The block alignment control in the toolbar now also displays a “None” option. This should make it easier for users to revert from a previous choice.

Lighter Navigation Experience

“Add nav item” feature brings up search.

Building nav menus has consistently been one of the frustrating experiences within the block system. Iterative improvements have made it better, but the actual process of adding links has been a painful one, at least until Gutenberg 11.7 rolled out yesterday.

In previous iterations of the block, users had to go through a two-step process for adding any menu item. This was an issue I called out in Round #9 of the FSE Outreach Program:

This stage of testing calls for adding multiple page links as both top-level and sub-menu items. When clicking the + button to add a link, my first instinct is to search for the page itself. However, the available field is a block search rather than a page search.

In the latest version of the plugin, clicking the + icon allows users to directly search for or type a URL. There is no need to figure out which block (e.g., Page, Post, Custom, etc.) to insert first. This change is part of an ongoing effort to create a lighter navigation experience.

While the link-adding experience was much better, I could not initially figure out how to add a simple homepage link without typing the full URL. Typing “home,” “index,” or a simple “/” character all failed.

After realizing that the previous search did not work, I tried other known site pages. Posts, pages, categories, and tags all worked without issue. However, I could not pull up author/user archive URLs through the search field.

There is one place to add a homepage link, and that is via transforming the menu item to a Home Link block by clicking on its icon in the toolbar. Other blocks are also available for this transformation process, such as Social Icons, Site Logo, and more.

Transforming a link to a “Home Link” block.

On the whole, this is a much-needed improvement to the Navigation block’s user experience. It likely comes closer to hitting the 80/20 rule when deciding how a feature should be implemented.

Create New Pages From the Link Inserter

Creating a new page from the link popover.

The user experience for adding links has been one of the highlights of the block editor this year. In June, Gutenberg 10.9 introduced rich URL previews, which landed in WordPress 5.8. In the latest release of the plugin, developers have kicked it up a notch.

Users can now directly create new pages when adding links. Previously, users could only achieve this feat while adding items inside of the Navigation block. Now, it is available for links added anywhere.

Mind the Gap

Custom spacing between columns.

Users can now entirely control the gap between columns via the new Block Spacing option. I knew it was coming — eventually. That it took three years since the release of the block editor for it to actually happen has been painful. I was still a full-time theme and plugin developer when I added this to my wish list. Granted, CSS flexbox support for gap was not widespread then, but we could have still managed with old-fashioned margins in the meantime.

I am just happy that the long-awaited feature has finally landed. Now, I can begin phasing out the custom block styles I was using to replicate it.

The feature works on top of the block gap feature that was first shipped with Gutenberg 11.4. Theme authors may need to make adjustments if they have written custom code for controlling the spacing between columns.

Global Styles and Color Palettes

There is a push to improve the upcoming Global Styles feature, which could land in WordPress 5.9 later this year. Gutenberg contributors have made massive strides in improving the experience, building off its overhauled navigation in version 11.6 of the plugin.

The most notable interface change in this release is the new Color Palette section.

Colors panel with the Palette section at the top.

Instead of dropping the palette below the color options, it is now front and center. This is a feature that will ultimately empower users to customize their sites. The decision to focus on this part of the UI is welcome.

After opening the palette section, users can edit the theme-defined colors or click the + icon to create new ones. These colors will all show up as options in the block and site editors.

Color palette editor in the site editor.

Users should also see the Layout section at the root level of the Global Styles sidebar. They can now adjust the padding for the overall site.

I am still running into an error when trying to adjust the typography at the root level. This was an issue I first noticed with Gutenberg 11.6.

I would like the Blocks section of the Global Styles panel to show the icons for individual blocks. With dozens of blocks, it is hard to scan through the list.

Individual block styles list.

Another improvement, particularly if we forego icons, would be to alphabetize the list.

by Justin Tadlock at October 14, 2021 08:52 PM under gutenberg

WPTavern: Yoast and Google-Sponsored Core Contributors Propose New WordPress Performance Team

Yoast and Google-sponsored WordPress core contributors are proposing the project add a Performance team to improve core performance as measured by Google’s Web Vitals metrics.

“Users expect and prefer fast experiences (consciously or otherwise),” Yoast-sponsored full-time core contributor Ari Stathopoulos said. “Research shows that fast websites can provide a better user experience, increase engagement, benefit SEO, increase conversion, and be more economically and ecologically friendly.”

There is no doubt that users expect and can benefit from improved performance, but there are a number of variables at play in any given WordPress site. Looking purely at core performance, Stathopoulos said WordPress is not holding up to the competition.

“Compared to other platforms (e.g., Wix, Shopify, Squarespace), WordPress is falling behind,” he said. “Other platforms are on average faster – and becoming increasingly faster – than WordPress websites (see The HTTP Archive’s Core Web Vitals report), and are actively investing in (and marketing) core performance-as-a-feature [12].”

The HTTP Archive, which provides a common data set for those conducting web performance research, found that only 21.5% of sites assessed have good Core Web Vitals scores as of September 2021. While that percentage has been increasing over time, competitors that are already outperforming WordPress sites are also rapidly improving their scores. Stathopoulos described it as a “widening gap” between WordPress and other platforms.

One of the main challenges is that WordPress site owners have a lot of freedom to use whatever themes and plugins they want on their sites, which makes performance tougher to tackle than the hosted platforms cited for comparison. The proposal states that “achieving reasonable performance levels shouldn’t be plugin territory, but part of core” and that end-users should not be expected to become performance experts.

“Achieving high levels of performance requires technical considerations to be ‘built-in’ across the whole stack; and as this is often not the case with themes/plugins, performance solutions are limited to ‘brute-forcing’ performance solutions over non-performant behavior (e.g., output buffering),” Stathopoulos said.

The proposal drew a strong response from contributors, SEO consultants, and representatives from hosting companies, offering help and suggestions.

WordPress lead developer Mark Jaquith, who has a particular interest in this topic, said the biggest issues he sees today are related to frontend performance and the asset pipeline:

WordPress has no (direct) support for deferring style loading. It has no system for critical theme styles. For JavaScript, it has no support for deferasynctype="module", or nomodule. The default is to load all scripts in the header. WordPress itself shoves its extra code for emoji and the block library into the header. WordPress injects JS code and styles that eschew the asset pipeline altogether and directly attach to wp_head and wp_footer. Plugins just directly barf out bespoke script tags that are difficult to alter. By the time that you’ve added 10 plugins to your site, your odds of having jQuery loaded (in the header) on every single page load are extremely high. No one is incentivized to be a good citizen (including WordPress itself) because there’s always someone else who is polluting worse than you. “If jQuery is already enqueued by something else, I guess I better use it.”

Jaquith’s summary describes a wider ecosystem problem and concluded with a sobering warning.

“It’s a huge problem, and fixing it is going to take a lot of effort, willpower and time,” he said. “It’s worth doing. If WordPress frontend performance continues to decline, the project is going to cease to be a viable option for any site that cares about its SERPS.”

One WordPress performance consultant, Eroan Boyer, suggested adding a dedicated tool in the Site Health screen that would show how much JS and CSS is loaded on each page type (front page, post, page, CPT), and where they originated.

“Attributing where a given script or stylesheet comes from is something I’ve been working a lot on in the context of the AMP plugin,” Google Engineer Weston Ruter said. “I don’t know if the implementation in the AMP plugin would be suitable for core, but I’m interested in this space.

“If we can correlate where given markup comes from to the (negative) impact on page performance, then we can begin to highlight offending themes and plugins to begin to provide some accountability for what is being added to the frontend.”

Gutenberg engineer Riad Benguella published some research in August on the impact of plugins’ performance on the editor. Chief offenders among popular plugins included WooCommerce, Yoast SEO, and Jetpack. This is another aspect of performance that affects WordPress users more than site visitors. Web developer Takis Bouyouris suggested the creation of a performance framework that plugin developers could follow to avoid making products that negatively impact core performance, both on the frontend and in the admin.

So far the proposal has not received any major objections and contributors seem eager to help in any way they can. Stathopoulos said the next steps will be to set up a Slack channel, a meeting schedule, and a space on make.wordpress.org. Once the infrastructure is in place, contributors can begin benchmarking performance, defining success criteria, and identifying priority projects for Core Web Vitals improvements.

by Sarah Gooding at October 14, 2021 03:24 PM under performance

WPTavern: Take the Guesswork Out of Selecting Fonts With the Adrian WordPress Plugin

As usual, I am always on the lookout for plugins that allow users to have fun with their websites. I like to mix it up from time to time here on the Tavern and not be all-business-all-the-time. And, that is where the new Adrian plugin comes in. Its goal is to take all of the hard work out of selecting a font pairing for end-users.

The plugin derives its name from Swiss typeface designer Adrian Johann Frutiger. The plugin author, who wishes to remain anonymous, said the typographer was one of their favorites.

“All plugins have such serious names stuffed with SEO keywords, and I just wanted something fun,” they added.

Instead of the typical route of submitting it to the WordPress.org directory, the author decided to launch a one-off site to showcase the plugin. The cost runs the price of simply subscribing to an email list to access the download.

Adrian is essentially a font selector. However, instead of picking each font for various theme elements, users can select from curated pairings. And, taking it one step more, it provides unique names for all of them.

For example, the Breakfast Cereal (yes, that is the actual name) option uses the big and bold Luckiest Guy font for headings alongside News Cycle for body copy.

Breakfast Cereal font option.

If nothing else, the plugin is simply a treat to test because of its fun names. With options like Cherry Soda, Cowboy, and Hollywood Lights, it adds a little flavor to the entire process.

“I think there are lots of people who would rather you hand them an option rather the ability to make the decisions themselves,” said the plugin author. “No one in their right mind looks at the 1.2K fonts in Google Fonts and says, ‘I can’t wait to pick a font pairing.’ It’s overwhelming and out of most people’s depth.”

Even as a former full-time theme designer, this could be a tedious job. I would often spend hours tinkering with pairings, attempting to find the right personality for a design.

The plugin takes most of that work and boils it down to a little more than three dozen options.

There is a little something for everyone. For example, if you want a retro gaming feel, the Insert Coin pairing of the pixelated Press Start 2P font for headings and Roboto Mono for text can bring a little nostalgia to your site.

Insert Coin retro-gaming font pairing.

The plugin is built on top of the WordPress customizer. It adds a single section and control for selecting the font pairing.

A downside to this might be for users currently running a block theme alongside the Gutenberg plugin. Menu links to access the customizer screen are hidden. However, there is still a button on the Themes admin screen, at least for now.

Customize button for the active theme.

One of the things I like about the plugin is that it does not ruin body copy. Far too often, such systems try to get too fancy with text for longer-form content, and they utterly fail. Instead, Adrian keeps this in check. The fonts that veer into the wilder territory are limited to headings.

The plugin is not all fun and games. It has its serious side too. The World Literature option that pairs Vollkorn and PT Serif is elegant, creating an enjoyable reading experience.

World Literature font pairing.

The Novella option is similar, replacing Vollkorn with EB Garamond.

The most irritating thing about the plugin is that it requires a full refresh of the customizer preview panel each time the user selects a new font. This is par for the course, though. Most themes and plugins I have tested for WordPress have never utilized the customizer to its fullest potential.

With minimal JavaScript and the Web Font Loader script, the plugin could load the chosen font on the fly. It would make the experience much smoother. However, because the customizer is going the way of the dinosaur, I would use my time and effort to focus on a solution geared toward Full Site Editing.

Success may vary from theme to theme. Typically, I use a three-font system with most of my theme design work. One font family for headings, one for body copy, and another for secondary text. While the plugin worked well enough to overrule the first two, it failed to alter the third. This is not necessarily Adrian’s fault because it does not know the class name it must target in this instance.

This is also the reason I favor design-related features falling squarely on the shoulders of theme authors. I like the forward-thinking of the plugin author — tackling font decisions in a way that does not overload end-users with seemingly infinite choices. However, I would rather see the system coming from the theme.

With that said, I could be singing a different tune as the global styles system matures. It has not yet shipped with WordPress, but it could land in version 5.9 later this year for block theme users. As the community builds more standards around the feature, there may be more opportunities for plugins like Adrian to add features.

The plugin author is not quite ready to go that route yet. “I imagine that this can be ported pretty easily to the new FSE interface if I happen to get enough users to keep it going,” they said. “Finding someone who knows the new system and is a freelancer is next to impossible, so I thought why not test the idea the old way.”

For now, the plugin does its job pretty well, and most users still rely on the customizer. There is still plenty of time to figure out the rest.

by Justin Tadlock at October 14, 2021 12:14 AM under Plugins

October 13, 2021

WPTavern: WordPress Global Community Sponsorship Program Will Not Include WordCamps for 2022

The proposal for the 2022 Global Community Sponsorship program will not include funding for WordCamps again this year, due to the unpredictability of hosting in-person events. The pandemic continues to make conditions unfavorable in many areas of the world where WordCamp and meetup organizers have opted to continue with virtual events.

In the past, the Global Community Sponsorship program has offered multiple tiers of funding in support of official, volunteer-organized WordPress community events. In 2020, before the program was suspended, global sponsorship tiers ranged from $40,000 – $160,000.

The updated proposal knocks sponsorships back to a single annual package, billed at $10,000 USD per quarter. Sponsor benefits are similar to those offered in 2021. While the base package does not include WordCamp sponsorship, program participants can offer it by electing to pay an add-on, which is also billed quarterly.

“The proposed change for 2022 is that Global Sponsors who add on sponsorship for WordCamps will support all WordCamps (as opposed to choosing which WordCamps to sponsor a la carte), at the camp’s top published level,” WordPress.org community organizer Courtney Patubo Kranzke said.

“In short, there would not be a community grant as we’ve had in the past, but WordCamps will get credited global sponsorship funds at the top local level.”

Patubo Kranzke said that volunteer engagement is currently low and the single package ensures sponsors have a centralized point of contact, as opposed to trying to coordinate with multiple teams of volunteer event organizers.

Despite the potential availability of add-on funds, the updated guidelines for in-person WordCamps state that organizers must be prepared to raise 100% of the expenses for their events. They are encouraged to keep their camps’ budgets lean with free or low cost venues that are fully refundable just in case.

“The expectation is in-person camps have to be able to cover all costs,” Community team contributor Kevin Cristiano said. “The global program will bring some relief to local organizers, but more so create a safety net for the entire program. What do I mean a safety net? We are navigating a world with risks on events like never before and we simply cannot afford another round of cancellations and lost deposits. It is our hope that once finalized the Global program can help bring stability and mitigate risks so we can have WordCamps begin in person again while being financially responsible.”

WordPress community events have been cut back significantly over the past two years. In 2019, local communities hosted 140 WordCamps and 805 WordPress meetup groups met more than 5,900 times. After the pandemic hit in 2020, the community hosted 31 WordCamps, most of which were held online. Meetup groups fell to 745 and met over 4,900 times. At the time of publishing in 2021, there have been just 14 WordCamps (all online) and 755 meetup groups met 2,400+ times.

Despite the community team re-opening applications for in-person WordCamps, all the remaining WordCamps on the books for 2021 have been scheduled as online events.

In anticipation of returning to in-person events, WordPress Community Support has added a “communicable disease liability coverage” policy to its event insurance. Any in-person WordCamp that proceeds to the ticketing stage will have a disclaimer on the purchase page, aimed at protecting organizers against claims related to COVID-19.

The proposal for the 2022 Global Community Sponsorship program is still under discussion until October 15, and will be finalized by October 28, so WordPress can recruit sponsors by the end of the year.

by Sarah Gooding at October 13, 2021 03:10 AM under wordcamps

October 12, 2021

WPTavern: Dynamic Social Images for Plugins, Themes, and Patterns? Yes, Please

Things move fast on social media. You get mere seconds to impress those who happen upon your posts promoting your latest project. You must also pack a lot of information into a small window that would potentially draw in an array of different users.

WordPress has not been doing any favors for plugin and theme authors who share links to their directory-hosted extensions. Social cards for them include a simple image, title, and description. Instead, WordPress.org could dynamically generate the social images by populating them with other data, such as ratings, active installs, and more.

That is just what GiveWP co-founder Matt Cromwell proposed today in a new ticket. “When plugin/theme/block/pattern authors want to share their work on social platforms, they want to link directly to their product on .org and have it look nice,” he said.

He shared an image of an earlier tweet from the GiveWP Twitter account today:

The goal is to piggyback off the concept that GitHub put in motion over the summer. In June, the platform launched a new framework for building Open Graph images. The system generates an on-the-fly image with data specific to a repository, issue, pull request, and more.

In the context of WordPress plugins, themes, and patterns, there are bits of information that could help highlight the projects:

  • Contributors (plugins only)
  • Locales/Translations
  • Rating
  • Installs

This data is readily available on WordPress.org. All that would really be required is the code for generating the social images with it.

Cromwell shared a mockup of what this might look like for a plugin, which is also available through the Figma project he created:

Mockup for a plugin’s generated social image.

He also has an annotated version:

Annotated version of social image mockup.

Thus far, the feedback has been positive in the ticket. This is probably one of those easy wins that most people in the community could get behind.

“I’d only add that I’d love this to be automatically translated,” said Jean-Baptiste Audras in the ticket. “Which seems doable given the language/locale is provided by the URL.”

The idea is to use the translated text for the generated image if the shared link is from one of the many locale-specific subdomains on WordPress.org. So, a Spanish URL would use the existing Spanish translation.

We could even apply this concept to other pages on WordPress.org, particularly those that might not have an image associated with them. This is a treatment that Courtney Engle Robertson, Web Design and Developer Advocate at GoDaddy, requested on Cromwell’s Facebook post about the idea. Workshops on the Learn section of the site, for example, could display the number of languages or length, so potential visitors have more information before clicking a link.

The best thing about this idea is that the WordPress community likely already has the foundational code to make this happen. Automattic purchased Daniel Post’s Social Image Generator plugin last month. The plan is to bundle the feature in Jetpack as part of its social media tools.

Generated image using dynamic data.

With a bit of custom code, it is not a stretch to think we could have better social images in short order. The plugin was already built with customization in mind when I reviewed it in June.

by Justin Tadlock at October 12, 2021 11:52 PM under Opinion

WPTavern: WordPress.org Profiles Now Show Activity for Contributions Made on GitHub

WordPress.org profiles got an update over the weekend that will make them a better reflection of contributors’ efforts on GitHub. Users can now authorize GitHub to detect their activity on the WordPress GitHub organization and display it on their profiles.


“Currently we’re tracking New Issues submitted (by you), Closed Issues (by you), Pull requests submitted (by you), Pull requests merged (by you, and additionally the PR submitter gets a ‘PR Merged’ event), and finally Pushes to default branches,” WordPress lead developer Dion Hulse said.

There are a few reasons why one’s contributions might not be visible after linking accounts. The meta team has not built an importer for all previous issues and pull requests, so WordPress.org only has data from last Friday and onwards. Early adopters who linked their accounts when the feature was first being tested may need to re-authenticate since the earlier version had expired connections.

Linking accounts will help make it easier for the WordPress project to track contributions across multiple locations.

“In recent releases, the process of collecting props for non-WordPress.org contributions (namely Gutenberg) has been highly manual and error prone, occasionally resulting in contributors not receiving proper credit,” Jonathan Desrosiers said when rolling out the first version of the app in March 2020. “Connecting your WordPress.org and GitHub accounts will allow automatic tooling to be built which reduces the burden on release teams to maintain a credit list.”

Users who want to have their profiles include GitHub activity can navigate to the Edit Profile page on WordPress.org, launch the app, and authorize their accounts with one click.

Hulse is collecting feedback regarding adding more events (i.e. commenting on issues/PRs), combining events (i.e. Submitted & Merged), and anything else that might improve the quality of activity tracked. Riad Benguella suggested adding a selector to filter the timeline by activity type. Hulse responded that the way profiles are currently set up, querying specific activities cannot currently be done in a performant way but that there are meta trac tickets (#479 and #518) where they are discussing a broader overhaul for profiles.

With a great deal more activity coming in from GitHub, the ability to filter these activities might make WordPress.org a more comprehensive tool for assessing job candidates or verifying Five for the Future contributions. If you have more ideas for the feature, you can leave feedback on the announcement.

by Sarah Gooding at October 12, 2021 01:26 AM under wordpress.org

October 11, 2021

WPTavern: Proposal for Themes To Highlight Block Patterns From the Directory

Should developers bundle block patterns with their themes or submit them to the WordPress.org directory? That is the question that some will likely need to answer in the future.

Currently, submissions are not open for the block pattern directory. However, that will change as the contributors eventually wrap up the pattern creation process. The milestone for this is set to October 15, but it is sitting at 25% completion at the moment.

There are 146 themes in the directory with block patterns. Thus far, developers who have wanted to implement them have had no other choice but to bundle them. However, that may all change.

Core contributor Kjell Reigstad recently proposed an alternative method. “With the launch of the pattern directory (and the upcoming ability for folks to submit their own patterns to it), we should consider building a route through which themes can highlight specific patterns to their users,” he said.

Reigstad proposed using the standard theme.json file to allow theme authors to surface or give special attention to patterns best suited to the theme’s design.

He listed four primary benefits such a system would bring:

  1. It would cut back on theme code, creating a side benefit of simplifying the review process for the Themes Team.
  2. Patterns could be updated, tested, and reviewed separately.
  3. More patterns would be accessible for all users if theme authors jumped on board.
  4. Multiple themes could make use of the same patterns, reducing redundancy in the pattern directory.

The idea would be an additional step to this sort of utopian future where users can mix and match various elements and have them just work with whatever theme they are using. I am excited about it, but we still have a long way to go. When all of the core blocks support a full suite of design options, this will be far easier to accomplish, particularly when it comes to layouts.

The idea is built on the premise that themes have begun to create their own de facto standard of putting all of their patterns into a single category titled “Theme Name.” This is the part where the concept breaks down. The truth is that not many themes are bundling dozens of patterns yet, but I have no doubts that they will.

Tove, a recently-released block theme by Anders Norén, includes over 40 patterns under seven custom categories. If the developer had put all of them into a single group, it would have been a poor user experience.

Tove patterns and categories.

I expect dozens of patterns will be common as they become a more vital piece of the theme development experience. If we build a system that encourages themers to highlight those from .ORG, it should be created with that reality in mind.

Reigstad did mention another idea that might work better if themes are highlighting dozens of patterns. He proposed bubbling them to the top of the list and giving them a special badge of some sort. This method would keep theme authors from overfilling the “theme category” with dozens or hundreds of patterns.

If democratizing the site design process is the ultimate goal, this feature should help further it. The more pathways we can enable for end-users to build the sites they want, the better.

There is no reason for every theme to bundle a custom-made hero banner with a heading, paragraph, and button. Narrowing that down to a set of options that work everywhere gives users more power. They might also not feel locked out of a favored design element if they switch themes down the road.

It would give theme developers more flexibility too. When someone else has already created several of the patterns they wanted to bundle, they can simply highlight them and not write any code to, essentially, make them a part of the theme itself.

The biggest holdup for patterns is the existing interface for finding and inserting them. The experience is sub-par at best when you move beyond a couple of dozen.

I am still in favor of an overlay with tiled patterns that are easily explorable. An earlier concept by Shaun Andrews was shared in a recent draft ticket for a new patterns explorer.

Potential block patterns overlay.

When we get an interface that is fleshed out like this, other ideas around patterns should feel like a natural part of WordPress.

There will likely always be a place for developers to build and bundle their own patterns. Some make use of specific styles or other design elements that are only present within the theme itself.

For now, I am looking forward to a time when I can mix and match patterns from different community designers on a single site.

by Justin Tadlock at October 11, 2021 11:48 PM under Themes

October 09, 2021

Gutenberg Times: How can we make building blocks easier, New 2022 Theme, Persistent User preferences and more – Weekend Edition 188

Howdy,

I am so thrilled that I now have more time to work on community outreach, organize Live Q & As and learn more about Gutenberg development. There is also a lot going on in the WordPress community. People are sharing plenty. Last week, the edition had more a theme related focus, this week, we have a developer focus, it seems, despite we just had our Live Q & A on block-based theme. See for yourself!

Did you see the WPPodcasts.com site by the team around the HeroPress network, Topher and Cate DeRosia! All WordPress podcasts in one spot! All because of RSS feeds. A standard published in 1999, now hardly mentioned anymore.

The six-hour shutdown of Facebook, helped many of us yet again to appreciate the open web, and the people who keep it that way. And yes, that’s all of you, dear readers, the theme, and plugins developers, site builders, content creators and site owners using WordPress.

Keep it up and keep creating!

Yours, 💕
Birgit

Table of content

 “Keeping up with Gutenberg – Index 2021” 
A chronological list of the WordPress Make Blog posts from various teams involved in Gutenberg development: Design, Theme Review Team, Core Editor, Core JS, Core CSS, Test and Meta team from Jan. 2021 on. Updated by yours truly.

Using Gutenberg for Content Creators and site builders

Anne McCarthy collaborated with the Gutenberg developers and designers to describe the continued progress on accessibility in using the block editor for existing and future features. She has details on the Navigation block’s accessibility as well as for the Gallery Block Refactor. You’ll also find an asorted list of high impact improvements.


In his post on the Torque Magazine, Will Morris shows you how you can use the WordPress Pattern Directory. He explains first what Block patterns are and what the Directory entails. Then he walks you through how to make a block pattern from the directory usable on your site by copy/paste. Another way is adding a block pattern from the Inserter panel. Both variations are explained in a step-by-step way and should get a WordPress newbie or just someone who just switched from classic editor to the block editor, started.


Marius Jensen updated his Persistent Block Editor Settings plugin He added support for the following user settings:

  • – Block breadcrumbs
  • – Most used blocks
  • – Caret positioning

All settings are stored with the individual user profile information, and persist in between computer or browser changes.

Theme development in for Full-Site Editing

Ben Dwyer described in his post the role Universal Themes will play in WordPress ecosystem. He defined the term Universal Theme as a theme that works like a classic theme for a site that has not enabled Full-site editing, and act like a block-based Theme for those sites that do. He shares code-snippets for templates. Dwyer also stipulates, that Universal Themes are a temporary measure, as their need will diminish with Site Editor’s improvements further down the line.


Kjell Reigstad just introduced the new Twenty-Twenty-Two theme. It’s bird themed, and I truly loved the backstory of this inspiration. Reigstad tells the story that an array of birds joined his family every morning for breakfast at their bird feeder, and the theme is a mediation over what he saw. My husband and I had a similar breakfast with wildlife experience. Our birds were a bit larger: a white duck, herons, ibises, and Limpkins.

The theme will be a pure block-based theme geared towards the Full-site editing with difference color palettes exposed to the Global Styles interface and interesting block-patterns. In the post, the images are mock-ups. The Themes still needs to be built. Reigstad teamed up with Jeff Ong for the development.

WPTavern published two posts about it, too


This week’s Live Q & A recording – Going from classic to block-based Theme with Ellen Bauer, Anders Noren and Carolina Nymark – is now available on YouTube. The blog post with resources and transcript will follow next week.

“Creating a scaled and fluid type system takes a bit of creativity, especially in the context of WordPress block themes, but here’s what I’ve explored.” Rich Tabor tweeted. Using a Fluid Type Scale in WordPress Block Themes with Theme.json

The Future of Theme Switching

Anne McCarthy published the Summary from the Theme Switching Exploration in context of the FSE-outreach program and the 10th call for testing. It had some interesting insights, like the expectation that user created templates are thethered to the theme and don’t stay around after switching a theme. Or that custom block styles, font-color and type choices survive after the theme is changed.


In her post Adventures in Block Theme Switching, Channing Ritter, team member on the WordPress design team, used the comments from contributors as inspiration for three different approaches on the entrance for theme management:

  1. The first idea envisions a redesing of the Theme Live Preview to allow for switching theme after a preview with a way to apply existing styles and templates.
  2. The second idea makes theme management available via Global Styles sidebar of the the Site Editor.
  3. The third idea takes the idea of shipping more then one color schemes from the Twenty-Twenty-Two Theme and envisions a way to actually use template parts from all installed themes on a site.

It definitely is easier to understand when you watch the video and here longer explanations for each idea. Share your ideas and comment on the once before us! This is the moment you can influence where the team is taking the next phase of development.


Custom Blocks Development

Join us next week, Thursday, October 14th, 2021, for a Discussion with Helen Hou-Sandi, Mark Jaquith and Riad Benguella on How can we make building blocks easier? It’s a continuation of a discussion started by Jaquith a few weeks ago:

The tweet about an exploration from Jaquith, inspired by Hou-Sandi’s blog post, spurred a flurry of conversation around custom block development. The premise? “What if building custom blocks for the Block Editor was as easy as supplying attributes and a block of HTML? What if this produced React editing code and PHP rendering code without a build step?” All three panelists are long-time WordPress contributors who have been different approaches on tackling these ideas. We will have more links and resource for you on the Live Stream.


This week, I published a proposal for a new event series on the Make Core Blog: Proposal: Gutenberg Developer Hours series of events. It would be great if you could comment on this idea and let me know if you are interested in being part of the panel. It’s meant to be a low-effort way to help out other developers, without getting into all the administrative part of organizing those sessions. That’s what I will do.


Lee Shadle was a guest on the WPTavern Jukebox podcast on How Blocks Create New Opportunities. Podcast host, Nathan Wrigley discussed with Shadle the world of Gutenberg blocks and the new world of WordPress product business. It worth listening to the show undistracted. Shadle and Wrigley go deep into change mangement and how business owners might be able to approach building for WordPress in the classic way and slowly move into the block-based way without jeopardizing their revenue or the time they spend with their families.


Join us on October 28th at 12 pm EDT / 16:00 UTC Gutenberg Times Live Q & A: Converting classic widgets to blocks Learn from the BuddyPress team members, Mathieu Viet, David Cavins, Varun Dubey.

Using create-block script to build blocks

David Gwyer started a new site on the domain Innerblocks.com to share his experience developing for Gutenberg in tutorials and resources. The first tutorial is titled: Creating a New Block for the Gutenberg Editor.

Gwyer also curates Gutenberg Developer Resources on GitHub.


Phil Sola has experimented with the WordPress create-block script and found a way to use it also for a multi-block plugin. He published the code on GitHub: Multi blocks plugin.


In this Thursday-Twitch-Stream, Ryan Welcher also covered using create-block for a multi-block plugin in a step-by-step video tutorial. The GitHub repo is available here.

For this I only got to listened for the first 10 minutes and learned about the Dependency Extraction Plugin for webpack that replaces references to external packages to reference to WordPress global script that are already available in any WordPress instance. Because of that all your plugin doesn’t need to bundle all the packages, and be kept really small.

In previous Twitch Streams Welcher covered:

Welcher holds regular Live Twitch streams on Thursdays 10:30 am EDT / 14:30 UTC. Follow him and you will be notified when he goes live.

Need a plugin .zip from Gutenberg’s main (trunk) branch?
Gutenberg Times provides daily build for testing and review.
Have you been using it? Hit reply and let me know.

GitHub all releases

WordPress Events

Page Builder Summit

Page Builder Summit is coming back and will be happening October 18 – 22, 2021. Nathan Wrigley and Anchen Le Roux just published the schedule

Here is the list of Gutenberg / Block-editor presentations

  • Forging the Future with Full Site Editing with Anne McCarthy (10/18 – 9am EDT)
  • The Future of Building WordPress Websites with Brian Gardner (10/18 – 12pm EDT)
  • What does Full Site Editing Mean for Page Builders? with Joe Casabona (10/19/ 9am EDT)
  • Customizing WordPress Block Editor for Client Projects with Birgit Pauli-Haack (10/19/ – 10 am EDT)
  • Mastering modern WordPress with Full-site Editing & Custom Blocks with Rob Stinson (10/20/ – 5am EDT)
  • How to Build Any Page Layout Using Kadence Blocks with Jake Pfohl (10/20/ – 12pm EDT)
  • Building a Custom Blog Archive with Blocks with Mike Oliver (10/21/ 11am EDT)
  • RIP Page Builders with Chris Lubkert (10/19 – 1pm EDT)

The schedule is not out yet. Sign-up for the waitlist to receive notifications.


Don’t want to miss the next Weekend Edition?

We hate spam, too and won’t give your email address to anyone except Mailchimp to send out our Weekend Edition

Thanks for subscribing.

by Birgit Pauli-Haack at October 09, 2021 05:47 AM under Weekend Edition

WPTavern: WPCloudDeploy Brings Site and Server Management to the WordPress Admin

WPCloudDeploy recently launched version 4.10.5 of its rapidly-maturing WordPress plugin of the same name. The project is a WordPress-native replacement for SaaS services like Cloudways, Ploi, SpinupWP, and others.

Customers still need to hook up to a cloud server provider, such as Digital Ocean, Linode, AWS, or elsewhere. However, the project seeks to cut out the middleman for developers and agencies running multiple sites. They are specifically targeting those who would routinely manage 20 or more.

“It’s a true plugin where everything you need runs on your own site (except, of course, the other servers you are provisioning and managing which reside at their respective cloud server providers),” said WPCloudDeploy owner Nigel Bahadur.

Server list screen.

Technically, WPCloudDeploy opened to the public in March 2020, but Bahadur was not ready to aggressively start letting the community know about it. He said the team is now at a point where they have a core group of users who are happy with the plugin. They have been rolling out new functionality every month for a year and a half and feel like it goes above and beyond alternatives.

“We were basically in stealth mode for most of that time — we did enough marketing to get a core group of users and then tried to make those users happy,” he said. “We even offered a heavily discounted lifetime license last year during the Black Friday sales period –- the folks that purchased then are very happy right now.”

With a mature project, it is time to branch out into the larger WordPress developer and agency market.

The plugin promises its customers that they can deploy unlimited WordPress-optimized servers and sites to any cloud or bare-metal server. It has direct integration with 10 of the most popular cloud server providers.

Server status and overview screen.

However, provider integration is limited to which pricing plan the customer decides on. The core tier, which costs $199 per year, only works with Digital Ocean. The business tier runs $499 and adds Linode, Vultr, and UpCloud to the mix. For the full range of providers, customers must upgrade to the all-access plan for $799. Both of the top tiers also have a lifetime purchase option.

Each tier of the plan is not merely limited to integration with more providers. For example, agencies can sell site and server subscriptions via WooCommerce through the business or all-access packages. White label and teams features are available at all levels.

Selling Subscriptions through WooCommerce

WPCloudDeploy allows agencies to sell subscriptions to cloud servers or WordPress sites through WooCommerce. Because of the feature’s recent interest, Bahadur said it will likely be a focus area next year for more enhancements.

“For servers, you can create subscription products where the user gets to choose the provider and location,” he said. “Or you can create them where each product represents a single provider (useful if you want to price your AWS servers differently from your DigitalOcean servers).”

They have their own separate service that builds on top of this called WPCloudPanel. The team created it with Beaver Builder, WooCommerce, WooCommerce Subscriptions, and Ninja Tables. The entire site required no additional custom code.

WooCommerce-integrated sales page.

“For sites, you can create subscriptions where the site is automatically placed on a particular server in a particular region,” said Bahadur. “Or you can create them where the site is placed on any available server from an admin-defined list of servers. It’s a great way to get a highly customizable end-user purchasing experience using a toolset you already know.”

Developers and agencies are not necessarily limited to WooCommerce. Instead, they can take the team’s code and port it to other eCommerce or membership plugins. One such customer is currently working on a MemberPress solution.

“Since the WPCloudDeploy code is just hooking into various WooCommerce actions and filters, it’s basically just finding a similar hook in their favorite membership plugin, copying the relevant parts of our WooCommerce integration code, and then ripping out and replacing the WooCommerce-specific function calls,” said Bahadur.

From Inception to the Future

Bahadur said his team started the project to meet their own needs. “We really liked the idea of being able to use our own servers for WordPress sites. But at the time, there were still a lot of security questions and other usability and support issues that we were running into from the usual pool of SaaS providers.”

He then decided that his team would build something themselves. Jokingly, he said he completely underestimated the project and how far he would take it.

“I can’t say that, back in 2019, I looked too far beyond the WP ecosystem because what I wanted was WP-specific functionality,” he said. “Cloudways was one of a number of providers I was using at the time, and they offered other services beyond WP. But the overall concept was the same whether it was WP or a server that was suitable for another ecosystem. I think I looked at every WP option there was at the time, including command-line services like WordOps.”

He said he was not necessarily sure it was important to have such a project in the WordPress space.

“I think what is important is to constantly remind folks of how much WordPress can do, how powerful it is, and to keep battling against the perception that WordPress is less secure than other options,” said Bahadur. “If you can use a WordPress plugin to run and manage all your servers and sites and/or even act as a hosting service, then we’ve pushed the WP boundaries far beyond what anyone thought of doing two years ago.”

He thinks it is even more important that WordPress professionals to be able to build products that compete against the feature depth and “sexiness” of SaaS services.

“Think about how much more capital would stay within the WP ecosystem if you had a project management plugin that was as good as, say Clickup.com or Monday.com,” said Bahadur. “Or a CRM plugin that was as good as Hubspot. But to build plugins with that level of polish requires lots and lots of capital in the first place. Even though WP is a billion-dollar ecosystem, somehow we still don’t have the ability to finance the build-out of world-class functional components with a world-class UX experience, and I think that’s a shame — and a major opportunity for VCs.”

He does not think WPCloudDeploy has quite met the smoother UIs of SaaS services yet. However, he believes it can prove that it rivals or exceeds such competitors in terms of functionality.

“So the next time someone asks, ‘can you really build that on WP?’, maybe they can point to WPCD and say, ‘Hey, if you can build this on WP, then, hell yeah, we can build that thingamajig that you want…,” said Bahadur.

The team maintains a Trello board with a public roadmap. The most-requested feature right now is support for OpenLiteSpeed, an open-source web server.

However, Bahadur said the most tantalizing possibilities for the long term come from working with the REST API.

“Unlike SaaS tools, you’ll be able to customize it using our built-in ones as a template,” he said. “Ambitious agencies will be able to add their own plugin to extend our REST API without waiting for us to add new endpoints that meet their needs.”

Eventually, the core plugin will be available on GitHub. Developers will be able to contribute new endpoints to the core product via pull requests.

by Justin Tadlock at October 09, 2021 12:26 AM under Plugins

WPTavern: Hacktoberfest Adds GitLab Support, Updates Participation Requirements to Combat Open Source Project Spam

The 8th annual Hacktoberfest is underway with a few important changes this year. Hacktoberfest, a virtual event sponsored by DigitalOcean and community partners, has traditionally encouraged open source contribution during the month of October by rewarding participants with a t-shirt for submitting pull requests. The initiative has added support for participation on GitLab this year, a highly requested expansion that will include more open source projects that aren’t hosted on GitHub.

Participation has grown from 676 people the first year to over 150,000 in recent years. In 2021, the program has been changed to be only applicable to opt-in repositories after being linked to an influx of spam for open source maintainers in previous years. Maintainers of popular projects were getting frustrated by wasting their time handling nonsense PR’s and marking them as spam during Hacktoberfest.

Starting this year, pull requests will only count towards participation if they are in a repository with the ‘hacktoberfest‘ topic and once they have been merged and approved by a maintainer or labeled as ‘hacktoberfest-accepted.’ Participants must contribute four accepted PR’s to an opted-in repo in order to qualify for the free, limited-edition Hacktoberfest t-shirt.

“Maintainers are the backbone of the open-source community and this year, we’re focused more than ever on ensuring maintainers are receiving the love they deserve,” DigitalOcean Senior Community Relations Manager Phoebe Quincy said. “Our maintainer-friendly rules include allowing repos to opt-in to Hacktoberfest, ensuring only accepted pull requests count towards participants’ Hacktoberfest goals, and for the first time ever, enabling maintainers to receive a Hacktoberfest t-shirt without having to submit pull requests.”

Open source maintainers and contributors can join anytime during the month until October 31st. If you maintain a WordPress-related open source project, you can get your project ready to receive contributions by adding the ‘Hacktoberfest’ topic to your repository, tagging issues with the ‘Hacktoberfest’ label, and adding a CONTRIBUTING.md file. Maintainers are also encouraged to select issues that have a well-defined scope and are self-contained. Merging PR’s, adding the ‘hacktoberfest-accepted’ label, and marking ‘invalid’ or ‘spam’ contributions will all count towards engaged maintenership participation.

by Sarah Gooding at October 09, 2021 12:20 AM under hacktoberfest

October 08, 2021

Post Status: Post Status Excerpt (No. 27) — CaboPress and Owning Your Own Content (For Some)

“While WordPress does democratize publishing there are people today that don’t or (perhaps worse) can't take advantage of it.”

In this episode of Post Status Excerpt, Cory comes back freshly tanned from CaboPress to share his experiences and one big takeaway point that everyone can appreciate. David brings up how Facebook's outage this week made him start to give pause before quipping on Twitter about “owning your own content.” He asks if or how WordPress and the open web can help the people for whom Facebook is the internet.

Also covered in this episode: A shout out to WordCamp US 2021 which was held virtually for the first time on October 1st — a fine virtual event after only eight weeks of planning!

Every week Post Status Excerpt will brief you on important WordPress news — in about 15 minutes or less! Learn what's new in WordPress in a flash. ⚡

You can listen to past episodes of The Excerpt, browse all our podcasts, and don’t forget to subscribe on Spotify, Amazon Music, Google Podcasts, iTunes, Castro, YouTube, Stitcher, Player.fm, Pocket Casts, Simplecast, or by RSS. 🎧

🔗 Mentioned in the show:

🙏 Sponsor: iThemes

Take the guesswork out of building, maintaining, and securing WordPress websites. Professional plugins and training from iThemes help you create and manage your sites. Secure, back up, and manage them quickly and easily. Master leading-edge WordPress skills to grow your business and make more money. Learn and grow with the experts at iThemes.

by David Bisset at October 08, 2021 03:59 AM under Everyone

WPTavern: Contextually Display Content With the Block Injector Plugin

Jamie Marsland, the founder of Pootlepress, reached out a few weeks ago, asking for feedback on a beta version of Block Injector. It was a commercial plugin his team at Pootlepress was gearing up to launch. Earlier this week, they released an updated version that he said he was happy with as an initial release. For a first outing, it has proved to be a handy plugin.

The concept is not new. Plugins for dynamically injecting content in various places have long existed. In the past, these plugins have allowed users to create content through settings panels, widgets, or even the customizer. Some themes provide such options too. However, Block Injector is the first I have seen that takes this concept and moves it into the block arena.

The plugin creates a new post type for creating injectable content. Essentially, users can add any blocks they want via the editor and display them at a custom location on the front end.

Adding a coupon to show at the top of a specific post.

The plugin has four different conditional rulesets that users can define:

  • Location: Which pages of the site the content appears on.
  • Position: Where on the page the content should display.
  • Exceptions: Post IDs to exclude.
  • Schedule: Date and time-based start and end dates.

Marsland published a six-minute video that breaks down how it all works:

After using Block Visibility, a dedicated plugin for contextually displaying blocks, it is hard not to see anything else as inferior. Its location-based logic provides more flexibility than most will ever need. I have become accustomed to its granular controls. Block Injector’s rules are limited in comparison but should work well for the majority of use cases. I almost want to merge them to see what I can create.

Block Injector really shines when paired with WooCommerce. The development team added several shop-specific location options. They also expanded on the positioning rules to utilize a range of WooCommerce hooks. This can create a powerful set of tools for store owners, particularly for seasonal sales. For example, users can display a coupon for the month leading up to Christmas.

Adding a coupon to show on the WooCommerce shop page.

One area where I hit a snag was with themes that had grid layouts on the homepage. When injecting content at the top or bottom, it would often get sucked into the post grid.

This issue is evident in the following screenshot when using the Flock theme:

My expectation was that it would have spanned the area above the posts. However, I am not sure how easy this would be to fix from the plugin’s end because there are only specific places where it is possible to hook into the front-end output. Attempting to correct this via CSS for all grid themes would be futile. However, as we continue to move toward 100% block themes in the future, it may open some alternative routes for injecting such content.

On the whole, I like the direction I am seeing from this first version. Having run theme and general WordPress support for over a decade, I had an untold number of users ask for similar solutions. I doubt there was a week that went by where I did not field such a question. Block Injector should save many a lot of time.

I would call the plugin necessary more so than particularly groundbreaking. The community needed someone to step up and build it for the block era.

Also, Marsland created a fake marketing video for the plugin if you are looking for a quick laugh:

That tweet is just one in a series of videos under the #WPFakes hashtag, one of my favorite things on the internet right now.

Version 1.0.1, the copy I am currently testing, does have a few PHP errors when WooCommerce is not active in specific scenarios. These are trivial to fix, and I have passed along the details to the team. However, I did want to note this to readers who might consider purchasing this for use without WooCommerce. I expect the problems will be fixed in the next release.

by Justin Tadlock at October 08, 2021 12:39 AM under Plugins

October 07, 2021

WPTavern: Default Theme Releases May Become More Frequent Following WordPress 5.9

photo credit: Matt Bango

The new Twenty Twenty-Two default theme coming in 5.9 hasn’t even been fully built yet but many WordPress enthusiasts who saw yesterday’s design reveal are already eager to use it on their sites. Contributors have just 40 days before the scheduled Beta 1 release on November 16 to get the theme ready. While that seems like an impossibly tight deadline, more frequent default theme releases may be ahead on the horizon.

In a couple of short paragraphs tucked into the end of the announcement, Kjell Reigstad commented on the future of default theme release frequency:

The community has produced a dozen best-in-class themes together, and we’ve come to look forward to a new one arriving at the close of each year. That said, themes are in a transition period today, and it seems like this may be a reasonable time to step back and to re-evaluate the annual cadence with which we build default themes. 

Innovations like theme.json, block templates, and block patterns are making theme development far simpler, and are providing new ways for users to customize their sites. There’s reason to believe that the community can leverage all this to build more frequent and diverse theme and customization solutions for our users in the coming years. 

It wasn’t clear whether Reigstad meant that the cadence of default theme releases would be slowing down or speeding up. I asked him for clarification and he confirmed that the idea is to consider the possibility of speeding up.

“I hope these new tools allow us to create and release more frequently than we’ve been able to in the past,” Reigstad said.

“The general idea came up as part of the ideation process for the default theme this year, and that part of the post is meant to give it a wider platform for conversation in the community. I’m excited to hear what other folks think since this idea is in its very early days! I really think there’s a lot of opportunity here.”

 The ideation process he referenced, which varies from year to year, included early conversations with project leadership to plan and make sure the theme is aligned with the future of WordPress.

Before the discussion officially kicks off regarding increasing default theme release frequency, contributors are focused on getting Twenty Twenty-Two out the door. Reigstad said people can jump in on testing now, as the general structure is already in place. This includes fonts, colors, and basic templates, although details like spacing and specific block styles are still in progress along with block patterns. If you want to contribute to making Twenty Twenty-Two the best it can be, check out the development happening on GitHub.

by Sarah Gooding at October 07, 2021 08:14 PM under Twenty Twenty-Two

October 06, 2021

WPTavern: The HeroPress Network Launches as a Multi-Project Portal

Husband-and-wife duo Topher and Cate DeRosia announced the launch of the The HeroPress Network earlier today. It is a collection of content from various sites they are working on in a centralized location.

“Its overarching goal is to be a hub,” said Cate DeRosia. “It will display the newest items from around the HeroPress Network, as well as news from the community (to be added in shortly). We can also post information that we think is helpful or educational.”

The “hub” will incorporate content from at least eight projects:

The team launched WP Podcasts two weeks ago, making over 7,000 current episodes from dozens of WordPress shows available in one place. Find It WP is currently in beta and will be the next project to launch on or before October 19. They will soon launch the public Slack group with dedicated channels for different types of professionals.

The HeroPress Network homepage.

“You could say it’s like the portals of yesteryear,” said DeRosia. “With HeroPress expanding into 8+ or more entities, we wanted one place for people to go and get the most current glimpse of what’s happening.”

She also teased the idea of expanding their educational offerings in the announcement post. However, news on that will have to wait until they build out the projects currently underway.

The team will open funding options on October 24. The HeroPress Network is a for-profit company, but its goal is to make all of its content available for free to the community as a whole.

The original HeroPress.com website did not hit its funding goal in 2015. It attracted 33 backers who pledged $21,855 of its $60,000 AUD goal on Kickstarter. There was some early pushback, particularly from WordPress lead developer Andrew Nacin who cited its “unambiguous hero worship” and the initial male-only lineup of speakers as problems. However, much has changed in the six years since the fundraiser.

DeRosia called the first fundraising event a test to see how the community would receive it. The project has never been funded financially since then. Hosting and resources have been provided for the project, and a few other companies have occasionally donated toward their time and tools.

Despite failing to raise their initial funds, the project continued onward. Today, HeroPress has been a success by simply providing a platform for people to share their journeys in the WordPress world.

Andrey “Rarst” Savchenko wrote the first essay in March 2015. Since then, the site has published over 200 others.

“It’s always been a challenge to figure out how to fund the project,” said DeRosia. “When the pandemic hit and sponsors had money they couldn’t use on WordCamps, they started some conversations with us. We’ve been kicking around ideas since then and feel The HeroPress Network gives us the best resource for reasonable funding. We want to be giving value back to both the community and supporters, and the diversity of what makes up the Network provides more options.”

If everything falls into place, DeRosia herself or one of their daughters could have a salaried position for the project. Her background is in English and journalism, and she described it as a “dream job.”

I asked DeRosia why she was personally vested in this project. What was it that got her up every morning to build it?

“Topher and I both grew up rural poor here in the US,” she said. “We come from communities dying because there aren’t jobs. WordPress has always been such an excellent answer to this.

“With HeroPress.com we’re able to provide a stage where people can tell their stories of how they’ve built their lives regardless of where they lived or what circumstances they were living in. That’s great, but it only goes so far.

“Now with The HeroPress Network, we can provide simplified, searchable access to practical tools that anyone can use to craft the life they want using the WordPress platform. We can also demonstrate how community and business can work together to get the best for both.

“If the option for something better is out there, I want to help people find it. Helping new people get started in WordPress brings a richness to the community that it needs to thrive. Helping established businesses connect with people and resources continues the growth.

“It’s just so incredible to have the privilege to see people build relationships that allow them to flourish. And who wouldn’t get out of bed every morning to do that?”

by Justin Tadlock at October 06, 2021 11:44 PM under heropress

WPTavern: First Look at WordPress’ Upcoming Twenty Twenty-Two Default Theme: “The Most Flexible Default Theme Ever Created for WordPress”

Twenty Twenty-Two, the new default theme coming in WordPress 5.9, was unveiled today on WordPress.org. The design goes full steam ahead in support of full site editing and new customization capabilities.

Like its predecessor, Twenty Twenty-One, the new default theme makes some bold design choices wrapped around a central theme. In this case it’s bird illustrations, complemented by Source Serif Pro for headlines, and a delicious array of patterns for limitless combinations.

Image Credit: Introducing Twenty Twenty-Two

The theme will be developed on GitHub until it’s ready to be merged into core. Kjell Reigstad, an Automattic sponsored full-time design contributor to WordPress.org, is leading the design with Jeff Ong leading development. In the announcement he sets expectations high for users to be able to make the theme their own.

“With the advent of Full Site Editing and Global Styles, themes are changing structurally and functionally to enable far more avenues for customization than users have come to expect in the past,” Reigstad said. “To take advantage of these new abilities, Twenty Twenty-Two has been designed to be the most flexible default theme ever created for WordPress.”  

In addition to the wide variety of patterns expected to ship with this theme, Twenty Twenty-Two will offer a lively selection of six pre-designed color palettes. Reigstad shared a video preview of how they instantly change the character of the theme. (see below) Combine this with the promise of being able to manipulate every aspect of the theme’s appearance through global styles, and users are in for a treat with WordPress 5.9.

“Twenty Twenty-Two will take advantage of a wide network of page templates, headers, footers, and other patterns so that users can easily make the theme their own,” Reigstad said. “In another nod to the behavior of birds everywhere, these will offer a balance between fun and utility: some are irregular and unpredictable, while others are straightforward and traditional. Together, these patterns will act as a window into all of the possibilities that the theme enables.”

The design preview for Twenty Twenty-Two has received overwhelming positive feedback on Twitter and in the comments of the announcement. Many users were excited to see a default theme that can be quickly transformed for so many applications. Too many default themes have only been applicable to a narrow set of use cases. In the past, users had little hope of being able to change things around to make the design work for their needs. Unrelenting progress on the block editor and full site editing has made it possible for Twenty Twenty-Two to become the most user-empowering default theme in WordPress’ history.

Reigstad said the theme will be “built for Full Site Editing first,” with as little CSS as possible, and all theme styles configurable through theme.json wherever possible, so users can edit them through Global Styles.

“Twenty Twenty-Two is designed with the acknowledgement that its default appearance is not most people’s endpoint,” Reigstad said. “Everyone deserves a truly unique website, built on a solid, well-designed foundation, and Twenty Twenty-Two aims to help them achieve that.”

by Sarah Gooding at October 06, 2021 08:59 PM under Twenty Twenty-Two

HeroPress: What’s Next For HeroPress?

Closeup of a woman's hands holding a double handful of dirt with a green plant growing out of it.

For years now people have been asking me “So what’s next for HeroPress?” and I didn’t have a good answer. I was content to let it just be inspirational essays forever. But as the years went by, I began to feel more and more that I wanted to go one step further, and start providing resources to those newly inspired people. Some direction, now that they’re convinced they that too can Do It.

About a year ago my wife Cate asked, “What if we were able to fund this, so I could take on the HeroPress work as my full time job? Then, we could start doing a lot more.” And thus began a series of conversations that still hasn’t ended.

We didn’t want to ask people to help financially without offering them something more in return, so we started brain storming about what we could make that people would value. We came up with MANY ideas which we didn’t follow up on, but we also came up with some GREAT ones that we did do.

Great Ideas We’ve Acted On

Last week we released WP Podcasts, which aggregates all the episodes from all the WordPress podcasts we can find, so you can search by keyword or tag and find individual episodes across all of them.  For playback and subscription we direct you back to the original site, driving traffic back to the podcaster.

You probably already know about Hallway Chats, and then there’s this site (HeroPress.com).

Soon we’ll be releasing Find It WP (think Yahoo for WordPress), a curated listing of everything in WordPress. A curated listing of everything in WordPress.  Every podcast, every email newsletter, every dev agency, every theme shop, and on forever. If it’s WordPress, it’ll be in there, assuming they choose to sign up. There are a couple more sites in the hopper as well, but I’ll tell you more about them another day.

Today’s Announcement

TODAY I’m excited to announce the next new thing for HeroPress: The HeroPress Network. This is a site that serves several purposes.

  • To aggregate everything from all of the HeroPress properties into one site, the latest essay, Hallway Chat, WordPress Podcast episode, new thing on Find It WP, etc.
  • A community news blog. Think People magazine, but less smarmy.
  • A platform for video and text tutorials and training produced by the HeroPress team. You can go see the first WordPress Tip Of The Week right here!

Future Needs

As you can see, with what we have going on now plus what we have planned, we have MORE than enough work for a full time employee.

For this reason, on October 24th 2021 we’re going to open up funding opportunities.

This isn’t an Event with a goal and a thermometer to track funds received, or balloons and a band. This is going to be more like a Patreon, where we’re looking for people who are willing to support the project long term. Don’t get me wrong, we won’t turn down one-time help, but if this is going to grow it needs long term support.

On the technical side of funding, we’re choosing to use GiveWP instead of Patreon for a few important reasons.

  1. We’re all in on the WordPress ecosystem. We want to show that it can be done, and done well, in WordPress.
  2. Another is the old story of owning your platform. We don’t want to depend on other sites if we don’t have to. We’re going to have to write some code to make GiveWP work like Patreon, but that just means we’ll have one more thing to give back to the community.

It’s been nearly seven years since HeroPress started, and I’m excited to see it blossom into something even greater.

Photo by Nikola Jovanovic on Unsplash

October 06, 2021 08:07 PM under Yahoo

WPTavern: WordCamp US 2021 Draws More Than 3600 Attendees

WordCamp US took place online last Friday. Organizers pulled off a successful one-day event with an engaging group of speakers who highlighted timely and important topics. There were 3,608 people registered for the event and the livestream had as many as 400 concurrent viewers at a time.

“Online events are notoriously difficult to get attendee stats for, particularly an event like WCUS 2021 where the audience is global and spans so many time zones,” WCUS organizer Cate DeRosia said. “Many people will watch what they can and catch the rest in their own time.

“We really love this as it makes for not only a more accessible event, but a more educational experience as it’s so easy to rewatch a session as many times as an individual needs.”

When asked on Twitter why the event’s organizers didn’t opt to use a more interactive event platform like Hopin or Veertly, organizer Jen Swisher said some of the platforms they looked into had accessibility issues or prohibitive costs.

As part of the leadership trio for WCUS, Swisher said the team had three issues they focused on when choosing a virtual venue: cost, accessibility, and time for implementation.

“We had a $30K budget,” Swisher said. “To use one of these platforms would have doubled it minimum. There was also a strong chance we would have faced additional costs from our production company for our resources through them to learn this new platform and connect it with their equipment.

“This would have resulted in additional time and resources spent on fundraising or increasing the costs of our sponsor packages. This would have forced the volunteers on the sponsors team to do twice as much work to get the sponsorship necessary to fund other platforms.”

Even with the simple setup of two YouTube livestreams, organizers provided a high energy, welcoming reception to attendees. They managed to bring some levity during these challenging times apart from one another. Swisher highlighted a few deliberate choices organizers made to give this year’s event a more lightweight feeling:

“We didn’t try to replicate the in person experience,” she said. “Making the choice to actively recognize that this isn’t like in person events in any way gave everyone permission to think about this event differently. By throwing out ‘the book,’ and starting from scratch, we were able to really ‘dream’ for the event, instead of what it could have been.”

Instead of planning a big multi-day event, organizers opted for a single day focusing on a smaller subset of topics. They also selected chat moderators and emcees that would bring enthusiasm to the event and gave them the autonomy to make decisions on the fly.

“The team agreed that a big event with multiple days and large numbers of tracks would be exhausting to plan and exhausting for attendees to sit through,” Swisher said.

After WordCamp US 2020 was cancelled due to pandemic stress and online event fatigue, the organizing team needed to make some changes to avoid the pitfalls of the previous year. Organizers were drained, spread thin, and frustrated by delayed tasks and external stressors. The WCUS 2021 team turned this around to make it a more healthy culture for volunteers.

“We fostered an atmosphere where stepping back to take care of yourself was strongly encouraged,” Swisher said. “This resulted in a team of folks that was well rested and able to handle the extra responsibility that comes with planning a WordCamp.”

“We gave the teams the autonomy necessary to get their work done. Decision making was done democratically, but decisions that didn’t impact the whole team didn’t involve the whole team, making it possible to move more agilely.”

The speaker selection was outstanding this year and the recorded sessions will soon be available on WordPress.tv after the production team finishes uploading them. In the meantime, if you are eager to watch or re-watch sessions now, one attendee, Marcus Burnette, has published a post with direct links to session recordings from the livestream.

by Sarah Gooding at October 06, 2021 03:29 PM under wordcamp us

WPTavern: #8 – Lee Shadle on How Blocks Create New Opportunities

About this episode.

On the podcast today we have Lee Shadle.

Lee is a WordPress developer at WP Draft, and by his own admission is obsessed with building block based themes, plugins and websites. He’s been using WordPress for many years and as soon as the Gutenberg project was announced, he decided he was going to explore it and learn how it worked.

He runs a small agency building sites with blocks as well as with 3rd party page builders.

I first saw Lee when he presented at WordCamp Europe earlier in 2021, and his passion for working with blocks and React was obvious. It’s pretty clear that, right from the start, he’s embraced the possibilities that blocks offer, both now and in the future.

At the time of recording this podcast, many are still unsure about what blocks are for, and what they will be able to do down the road, but Lee has thrown himself into figuring out what’s possible, and it might come as a surprise just how powerful they are.

We start our conversation by addressing whether Gutenberg was something that the WordPress project actually needed. Was it necessary to build a new tool which would require people to learn new skills and new techniques?

We then get into some concrete examples of how blocks will add new capabilities to websites. Some of the examples show that complex operations can be handled within single blocks. These possibilities were once the domain of plugins and shortcodes, and now they can be deployed and configured by anyone who edits content.

We talk about the obstacles which Lee encountered whilst learning how to build blocks. In his case, he worked on projects which he knew he would enjoy. We also touch upon some resources he used to assist in his learning.

There’s also a discussion about the commercial landscape for block developers and how blocks might become a new way of generating revenue. Although we’re not there yet, it might well be that in the future, WordPress users will be on the lookout to purchase blocks in the same way that they now buy plugins and themes. Perhaps there’s even scope for a market of inexpensive blocks which have limited functionality.

As you’ll hear, Lee is very optimistic about the future of WordPress, with blocks at it’s core.

Useful links.

Lee’s Twitter account

Stimulus Benefits – Lee’s calculator block

Aino

Block Visibility

Newsletter Glue

React for beginners

GenerateBlocks

Nick Diego

Mike Oliver

Brian Gardner

Transcript
Nathan Wrigley [00:00:00]

Welcome to the eighth edition of the Jukebox Podcast from WP Tavern. My name is Nathan Wrigley. Jukebox is a podcast which is dedicated to all things WordPress, the people, the events, the plugins, the themes, and the blocks. Every month, we’re bringing you someone from that community to discuss a topic of current interest.

If you like the podcast, please share it with your friends. And you might also like to think about subscribing, so that you can get all of the episodes in your podcast player automatically. You can do that by searching for WP Tavern in your podcast player, or by going to WP tavern dot com forward slash feed forward slash podcast.

You can also play the podcast episodes on the WP Tavern website, if you prefer that approach. If you have any thoughts about this podcast, perhaps suggestion of a guest or an interesting subject, then do head over to WP tavern dot com forward slash contact forward slash jukebox and use the form there. And we would certainly welcome your input.

Okay, so on the podcast today, we have Lee Shadle. Lee is a WordPress developer at WP Draft, and by his own admission is obsessed with building block-based themes, plugins, and websites. He’s been using WordPress for many years, and as soon as the Gutenberg project was announced, he decided he was going to explore it and learn how it worked.

He runs a small agency building sites with blocks, as well as third party page builders. I first saw Lee when he presented at WordCamp Europe earlier in 2021. And his passion for working with blocks and react was obvious. It was pretty clear, right from the start, he’s embraced the possibilities that blocks offer both now and in the future. At the time of recording this podcast, many are still unsure about what blocks are for and what they will be able to do down the road. But Lee has thrown himself into figuring out what’s possible and it might come as a surprise to you just how powerful.

We start our conversation by addressing whether Gutenberg was something that the WordPress project actually needed. Was it necessary to build a new tool, which would require people to learn new skills and new techniques.

We then get into some concrete examples of how blocks will add new capabilities to websites. Some of the examples show that complex operations can be handled within single blocks. These possibilities were once the domain of plugins and shortcodes, and now they can be deployed and configured by anyone who edits content.

We talk about the obstacles which Lee encountered whilst learning how to build blocks. In his case, he worked on projects, which he knew that he would enjoy. We also touch upon some resources, used to assist him in his learning.

There’s also a discussion about the commercial landscape for block developers and how blocks might become a new way of generating revenue. Although we’re not there yet, it might well be that in the future, WordPress users will be on the lookout to purchase blocks in the same way that they now buy plugins and themes. Perhaps there’s even scope for a market of inexpensive blocks, which have limited functionality.

As you’ll hear Lee is very optimistic about the future of WordPress with blocks at its core.

If any of the points raised in this podcast, resonate with you, be sure to head over and find the post at wptavern dot com forward slash podcast, and perhaps leave us a comment there.

And so without further delay, I bring. Lee Shadle.

I am joined on the podcast today by Lee Shadle. Hello Lee.

Lee Shadle [00:04:16]

Hey Nathan.

Nathan Wrigley [00:04:17]

It’s lovely to have you on the podcast today. Before we get stuck into it, I’ll ask the traditional set of mandatory questions at the start. Would you mind telling us a little bit about yourself, your background in WordPress, technology? You can go back as far as you feel necessary. Probably limit it to the WordPress side of things.

Lee Shadle [00:04:35]

Okay. So I was born in Columbus, Ohio, but I shouldn’t go back to Ohio days. Huh? I shouldn’t go back all the way back to my birth. So I am a self-taught developer, mostly front end developer, and I’ve been doing it for about 10 years. I started building custom client sites and I made my way to WordPress about five years ago. And really, the thing that actually really drew me in was when Gutenberg launched, because it really used all my skillsets of JavaScript, React, CSS. And so since then, I’ve been really the last five years or so been focused on building blocks. I kind of nonstop, but kind of had an insane obsession with it. You could ask my wife, all I do is talk about blocks and building blocks. So to pay the bills, I’ve been building client sites and I’ve been trying to build tools with blocks to help streamline my processes of the client work. So that’s what brings me here today. Is that black building obsession.

Nathan Wrigley [00:05:39]

Very nice. Well, we will get thoroughly immersed in all of that in a little while. Just before that, I wanted to know what your thoughts are on whether or not WordPress needed to put this into core, the ability to build your website now let’s say, but initially, to create your content around blocks. Did you feel at the time, obviously subsequently you’ve gotten into it and been enjoying what it has brought to the table, but I’m wondering if you can cast your mind back to that time when it did come in. Was there a light that went off and you thought, actually this is tremendously interesting or were you like many people were, and to some extent still are kind of reluctant to use it and keen to have the old editor back or move away to some sort of proprietary page builder?

Lee Shadle [00:06:25]

Being a front end developer, when I started hearing about React being in WordPress, that really got me going, because to me, it really opens up a bunch of possibilities that can really allow you to build, you know, really snappy interfaces and really fun products and stuff that you couldn’t build before.

You can almost, I know there’s been talk about WordPress being the OS of the internet. And I think it really opens up that possibility. I started dipping my toes into WordPress right before Gutenberg launched. And I did a deep dive into building themes and plugins the old way. And then right about a year into me learning how to do that, I started diving deep into Gutenberg. And, I definitely think it was a good move. Although all change, you know, change can sometimes be painful and there’s definitely a steep learning curve, but I think the pain is going to be worth it in the long run.

Nathan Wrigley [00:07:29]

I feel that at the moment, there is a lot of pain being experienced by a variety of different people. And some people like yourself have decided to absorb that pain and go with it. Other people have found it very difficult and there’s been politics, shall we say has crept into WordPress in a way that I’ve not really seen too much of before, and people wishing that it hadn’t have been put into core and that it had of been a plugin instead. Other people obviously just wished that the entire thing would go away and ended up forking WordPress and creating this ClassicPress version of WordPress. So it has really divided the community. I feel that maybe talks like this, will address that a little bit because you’ve obviously been exploring it and you’ve probably got some great ideas about things that it will enable that perhaps the rest of us haven’t really foreseen.

I know for my part, I’ve seen a few videos of things that people are building. Products that are either just about to come out or have already come out and you just think, okay, that’s interesting because that’s totally wedded to the idea of a block and without the block methodology, that exact thing could not have been done, possibly even as a plugin. So I’m just curious if you’ve got any thoughts about what can be done with blocks that we could not have done before.

Lee Shadle [00:08:44]

I’m going to go as a bold as to say, I think, think of every traditional plugin or theme business in WordPress. I believe with the advent of Gutenberg, everything is ripe for disruption.

I think every single aspect, like think about forms or think about pop-ups or think about payments. Really any facet of the WordPress economy that you can think of, that people are making a living on, I think it could be disrupted with Gutenberg.

Nathan Wrigley [00:09:15]

Yeah. I think you’re probably right. We’ve certainly seen some . Of those things. I’ve seen some projects certainly around the forms space where, you know, you just think, oh, well the interface of Gutenberg really does lend itself to creating sort of drag and drop form builder. It’s really remarkable for that. Aside from those sort of more general ideas, do you have any concrete examples of things that you’ve gotten yourself into and projects that you’ve created, or been party to where there’s been an end result that we could all identify with and understand why you’re so excited about it.

Lee Shadle [00:09:46]

I’ve been building blocks, all kinds of different types of blocks, trying to uncover. I run a small agency, so my workflow and system of building a site for client is super important to me. And I know there are a ton of tools with the classic way of building WordPress built around optimizing that workflow. But that’s really been my focus is how do we leverage the system to really like streamline the workflow of building sites for clients? I build a lot of sites for fun for myself. Really. I’m all about building quickly.

I don’t know if I told you this Nathan, but when I was in my previous life, I used to own a restaurant and I came up with, you know, the menu and the food, and imagine it was an Italian version of Chipotle at the early days of Chipotle, and, you know, I ran it for a couple years and it just failed miserably. I lost, I kind of lost everything in that. But I learned a lot of great lessons and one of those lessons was I want to be able to keep stepping up to the plate. And in order to do that, to keep trying, I needed to come up with systems and processes that allow me to do that in a way that it isn’t heavy handed. And I can just hack away at an idea in a day. And I kinda think that is the essence of WordPress. And I think that Gutenberg is kind of taken us back to that essence of, okay, what can I hack away at? I think we’re just starting to hit the point of stability with Gutenberg and with full site editing coming out and block-based themes where you’re going to be able to build full blown prototypes and mock-ups of, you know, not just like static sites, but some pretty complex stuff pretty quickly. Imagine launching, you know, I don’t know if you saw Flip WP, they’re launching a marketplace for selling WordPress plugins and themes and WordPress businesses. I think something like that is going to become a lot easier to do. Like iterating on an idea like Flip WP, like say I want to try it, test the waters of building a marketplace for buying and selling WordPress businesses. I think, being able to build startups and more complex businesses is going to become a lot easier to do with Gutenberg

Nathan Wrigley [00:12:10]

When you’ve been creating your blocks at the beginning, I’m just curious as to how obviously you fell into it and you’re now enjoying it. Were there any significant obstacles along the way that you encountered? So as an example, was there enough documentation? Was it fairly easy to get yourself up to speed with how to create your own blocks? Was there a lot of support around? Were there some channels or books that you perhaps ended up relying upon? I’m just trying to get to the idea of how easy or difficult it was, or perhaps still is.

Lee Shadle [00:12:39]

I’ll be honest with you. It’s been a challenge. It’s been a frustrating journey. There’s been documentation and there’s been the Gutenberg GitHub repo has been a great resource for, learning as well. Just seeing how they’re doing things, but it hasn’t been easy. I actually, you know, a tool. I think you actually heard me talking about it at wpplugin dot com where you can quickly generate a block plugin. And the idea behind that is there’s all these different mental models of building a block. I think the hardest part is learning, what can you do with a block? How can you do it? And shaping that mental model has really been a challenge. Honestly, I’ve been very self driven and if it wasn’t for that, that really has kept me going. I’ve had a long-term view of where everything’s going and from the place I’m coming from being a front end developer, it’s really made it, it has made it easier for me. I do think, if somebody really wants to learn blocks, they need to learn React. And I think something like taking like Wes Bos’s React for beginners course, I took that course and it’s a great resource for learning React. Just getting kind of the nuts and bolts of, you know, the underpinnings of Gutenberg.

Nathan Wrigley [00:14:00]

Would you say that, obviously it was fairly difficult as you’ve described, but were you able to begin to see a glimmer of light at the end of the tunnel fairly quickly? Or was it one of these learning journeys where it’s more of a cliff climb until finally you reach the pinnacle? You’ve acquired enough knowledge that suddenly it becomes, oh, I can do it all now. This is fabulous. Or were you able to get something out from your limited learning?

Lee Shadle [00:14:24]

I feel like I’m there now. I’m at that place. I mean, I’m still learning, but I feel like I’m at a point now where I can kind of shape the editor to what my vision is. But it has been a lot of hard work, but I’ve, I feel like I’ve kind of seen the vision for where WordPress wants to go for a long time. It really resonated with me and I can really get behind where they ultimately want to go. I think that all of this, it’s going to be worthwhile taking the time to really dig in and learn. And I don’t know if you’ve seen it, there’s been some talk about creating. I know there’s like Advanced Custom Fields has a block builder. There’s been some talk about creating some PHP based tools for building blocks. I’m not sure it might be a third-party. It’s just a, some conversation I saw on Twitter there quite an extensive conversation about people testing out ways to build blocks from a more PHP standpoint, where the PHP would kind of generate the React for you. And so like this layer between, okay, we have Advanced Custom Fields for doing 80% of what you want to do. And then this other PHP solution potentially being like a similar tool that gets you most of the way there. If you really want to dive deep and do some more complex stuff, take you the rest of the 20% of the way, then you’d really need to learn React and how it works in the editor.

Nathan Wrigley [00:15:46]

I feel maybe this is the point at which people who are struggling with the way things are going in WordPress at the moment. Maybe this is the point of contention, it was introduced and suddenly all of the skills and the techniques and, the years and years of expertise that they built up, it kind of felt like it was crumbling before their eyes. And they may be in a position where they’re managing to carry on their business, whatever it is, something to do with WordPress, their agency, or what have you. And simply don’t have the time to upskill and to learn new things. And maybe that’s the problem is that there’s a lot of people out there who simply don’t have the time. They don’t have the energy anymore. They don’t have the desire. And they want to just sort of keep going with the same tools that they’ve been using for a such a long time. Obviously it sounds like you, fairly driven, able to allocate enough time to do all of that and obviously fit it in around your business. But maybe there’s, maybe there’s some people for whom that is just too much of a stretch?

Lee Shadle [00:16:41]

You know, I can understand if all of a sudden Gutenberg was pulled out from under me, I think I’d throw my hands up right now. Uh, I’ve had a business, I was working on, pulled out from under me and I, it hurts. And it’s like, ah, dude, you know, do I want to do I want to keep going? But, but here’s the thing is I think Gutenberg is getting to the point where, we’re hitting a stability that could be used in production for like client sites. I think we’re hitting that point right now. Once Full Site Editing, I think after the next release. I’ve started building, I’ve kind of been doing both the old way of doing things for some clients and the new way of doing things. I’ve been doing it simultaneously to see, okay, how stable are we for using this stuff in production versus using something like Elementor page builder or Beaver Builder or something like that?

I think we’re coming up on that point where people can start making the switch and dipping their toes in. And I don’t think you have to focus a hundred percent of your time or focus a big chunk of your time to start diving into that. The new block-based themes, it uses this thing called a theme bot json file and that really sets up. You just fill out this file, like basically a data structure with what you want and you have a full flesh theme in the block editor. I think that the tools and the tooling and WordPress and Gutenberg itself are all getting to this point where we can start using it, and it’s not going to be a ton of time. And then once you start using these tools, You’re going to want to start doing more and more with them, and you can start easing your way into building blocks with ACF or from scratch or whatever.

Nathan Wrigley [00:18:33]

It seems to me that it might be the case that many people who have not really dabbled too much in the block editor have gone in there at some point, installed vanilla version of WordPress, made sure that it was all up and running and what have you, and then when in, started typing and found that experience fairly decent, certainly from my part, it’s much better for simply typing things than the classic editor ever was. Just for the ability to move paragraphs and things around. And then of course you notice this sort of curious sidebar, which is full of these blocks that you can put on to the page, and so, a paragraph is a block. A button is a block. A heading is a block. And so it kind of feels a bit like this text interface where the blocks are a bit like, okay, obviously I’m using paragraphs now. That’s fine. I can understand that. But then you sort of notice that there’s a lot of stuff attached to the block and the block brings along with it, all these different settings. And so you can modify that one paragraph in its entirety, all in one, go by clicking some buttons, you know, that might be the color or what have you. And all of a sudden, your mind starts getting taken over with, oh, so the block has got settings with it. Oh, that’s interesting. Okay. So what I’m trying to say there is if you’ve not been back into the block editor for a long time, and you’ve just really seen it as a conduit to creating content, it is much more than that. And it’s hard to express how much more it is unless you’ve actually configured or played with a block that does a lot more than you could ever have done inside the classic editor. So I’m wondering if you’ve got any nice concrete examples of things that you’ve achieved, the things that you’ve been able to do inside of a block where people might go, oh, that’s curious. I didn’t realize that blocks could even do that kind of thing.

Lee Shadle [00:20:25]

Actually, my brother is an accountant and, he does a lot of work with startups and when COVID first hit and they started doing the PVP loans and everything, I actually built a calculator for him, for his business to share with his clients. And I built it all in blocks and the calculator would, it would generate, you know, you would just put in whatever your income is and how many employees and it would generate. You can actually see it in the wild. If you go to stimulus benefits dot com, I have a calculator in there. That’s it’s a block. All this is all built in WordPress. You’ll probably notice this theme. I think this was the 2020 theme. And honestly, it’s pretty cool. It’s pretty snappy. And this is just like something that I built for fun for my brother, you know? So if you want it to build, imagine, you’re in the real estate business and you wanted to build out a full fledged mortgage calculator. I know there’s a ton of realtors, real estate agents, real estate businesses that use mortgage calculators in their business to direct their clients to. I mean, you could absolutely do that. Very quickly and easily.

Nathan Wrigley [00:21:36]

The principle there is that your brother then has a block inside of his WordPress installed, which he can then just with the click of a button throw on to any post or page, uh, it’s not a weird shortcode thing where he’s got a plugin installed over there and he’s got to go and find the right shortcode and then copy and paste it into the right part. It’s just all of that functionality. The logic behind the calculator is all contained inside of a block. And so for him as the end user, presumably it’s just really easy to deploy that.

Lee Shadle [00:22:06]

It’s a custom plugin. He could add it to any, you know, any site anywhere and what you see on the front end, of the site is what you also see in the editor. And then in the editor, you can change things like the background color, the border radius, the font color, the text. I mean, all the texts editable, which was really important because, everything was always changing. The rules of the game were changing. So he needed to be able to go in and edit the content of the calculator. So to me, it’s like, it’s super exciting that here’s this thing that, like you’re saying it would have been a short code. You throw the short code in and then say you go to the customizer. If you want to change the background color, you know, the fonts and add some custom CSS. This no, you you stay in the block editor and you just click a button. Okay. If you look at the calculator now it’s got a black background. It’d be really easy to change it to a white background with black text and then change out the font. And really you can kind of go as far as you want to go with this, I could see endless just calculators alone. I could see endless business opportunity.

Nathan Wrigley [00:23:13]

In a way, the idea of blocks, just being a conduit for putting content on the website. Yes. But it’s also in a sense it’s like a mini it’s like a mini little application it’s as you said, you created a plugin and what have you, but the complexity really has no limits. It’s only the limits of what you’re capable of coming up with and whatever it is that you’ve built with all of its amazing, difficult capabilities could just be dropped in ad infinitum all over the place. And the sky, as you say, is the limit. And I feel like we’re just turning a bit of a corner and some of the ideas are starting to come into the marketplace. Now, some really curious ideas about a whole different functionalities that are being wrapped up into blocks that we simply couldn’t have done before.

Lee Shadle [00:23:55]

I’m super excited because the fact that I could just create a calculator and drop it into a hundred sites, and then imagine I build a block base theme, say I build a block-based seam for like realtors, for example, I add this mortgage calculator, it’s baked into it. I just can see all kinds of different, you know, additional tools like you’re saying that you can get as complex as you want, but I also think blocks also offer this, a perfect canvas for constraint as well. You can go as complex as you want, but you also do want to make it easy for people to make changes to these little mini applications that we’re building.

Nathan Wrigley [00:24:35]

I think one of the concerns that I have, amongst many other people, I’m sure is. It’s just this notion of people getting a bit click happy when installing blocks. The idea that there’s a plugin for that in WordPress could easily be flipped to, well, there’s a block for that. Non-technical users going out and looking through the block repository and installing things, and then kind of having to scratch their head and say, Hmm. My site really does seem to be very slow and then ultimately blaming WordPress for that, because that’s the software it’s built upon. I think you’re right. Is it a good point to raise the one of constraint? Just because something exists, it doesn’t mean you should install 50 of them and use them all at the same time.

Lee Shadle [00:25:13]

I do think that a certain level of constraint does breed creativity. So I think that, you know, the more we can focus on making it really easy for people. Make it as easy as possible to do something, the better. So I think like patterns, the block patterns for example, are going to be a huge boon to making it easy. Try multiple homepages or contact pages about pages or pricing tables or any part of a site that you can think of. It’s going to be really easy to add that to your site.

Nathan Wrigley [00:25:44]

Have you been playing with block patterns a lot? And if so, are you pleased with where the system is right now for making all of that and surfacing them in the UI for you?

Lee Shadle [00:25:55]

I am super excited about where block patterns are going. I think they open up a ton of possibilities. If I were going to be dipping my toes right now, say I haven’t started building blocks. That’s where I would start honestly, is start building out some patterns because it’s really cool to go into the editor and create this pattern and then be able to just move it from site to site seamlessly, and have it just work.

Nathan Wrigley [00:26:23]

Do you feel there’s a new marketplace, a new job, if you like, emerging? We’ve traditionally in WordPress, we’ve had lots of people employed building websites, that’s one niche, if you like, and then had other people working within agencies, possibly building bigger websites and on the code side, if you like, we’ve had people creating plugins and themes and making commercial products out of those. Do you see blocks in that way that there’s going to be a nice commercial interest in people going out and finding affordable blocks that do the one or two simple things that they need?

Lee Shadle [00:26:59]

I do think there will be. I just, I don’t know if those are out there quite yet to find. What I’m seeing a lot of though, is these ecosystems popping up around a set of custom blocks, and then patterns to use with those blocks and core blocks and then multiple themes. And so I see the business evolving into more of these like mini ecosystems and that’s where I’ve been building is focused on here’s a set of custom blocks, custom patterns and themes for different types of use cases to get you quickly up and running.

Nathan Wrigley [00:27:39]

One of the things that I’ve noticed is I’ve seen that there are quite a few people at the moment trying to make a living out of this, and it seems, the most common way to do it at the moment is to come out with these block packs. And we’re just going to use that phrase. I don’t know if that’s what these companies go by, but they release a suite of 5, 10, 15, 20 or so on, blocks that hopefully will cover almost every aspect.

Do you get yourself involved in any of those? Do you use any of the things which are available on the market at the moment, or are you all about just if I need it, I’m going to make it myself?

Lee Shadle [00:28:09]

I definitely do. I love to see, and use what’s out there. I’ve used a bunch of different block collections on different projects, such as CoBlocks. And I don’t know if you’ve seen Stackable, WP Stackable? I know we were just talking about the GenerateBlocks and I see a lot of chatter on Twitter about people using GenerateBlocks. I don’t know if you’ve seen another one, that I just think is it’s just beautiful called Aino Blocks, A, I, N, O, WP Aino dot com. Ellen Bauer has put together. I used to buy her WordPress themes and her and her co-founder put together a set of blocks, a limited set of custom blocks and then patterns. And they’re going to be creating themes as well. Right now it’s free to start using I’m sure there’s going to be, you know, some way of them monetizing that product.

Nathan Wrigley [00:29:03]

I’m pretty sure that there’s going to be more people dipping their toes into the commercial waters as time goes on, because it does feel as if this is the future for WordPress. And one thing that I’m quite interested to see is, there’ll be like an, almost like little micro blocks that just do one thing, but do it really well and go into some sort of different pricing structure. So as an example, on the PC or the Mac, if you buy an app, it’s usually there’s a reasonable amount of dollars expended on purchasing that app. I mean, if you go onto the iOS or the Android side, something much more slim is available and it costs significantly less, just a few dollars. And I’m curious to see if this business model emerges, where we get an innovative block, which just does one small thing, but does it really well, I can’t actually conjure anything up at the moment out of my head that may fulfill that bill, but I’m really interested to see if those kinds of things start to emerge.

Lee Shadle [00:30:03]

I definitely think there will. I personally, I would love to focus just on building those, but I feel like I almost feel like it’s got a, it feels like things need to go broad first and then narrow down to the specific use cases. But I have seen one really cool niche plugin is block visibility by Nick Diego. If you, if you’re not following Nick on Twitter, you should. His plugin makes it really easy to show and hide blocks depending on different use cases, even. For example, he has an integration with WooCommerce and Easy Digital Downloads. And you can set visibility based on a schedule and if a customer purchased a product or not. So say you bought a product and two weeks ago, and then you can have a block pop up two weeks later and say, Hey, how’s it going? Would love your feedback if you’re enjoying using our plugin, leave us a review. So I do think that we’re starting to see those and that is, you know, one of the best examples that I’ve seen out there.

Nathan Wrigley [00:31:11]

It’s like a little application just inside of a block. There’s a lot of heavy lifting going on there. Isn’t that, you know, if it’s checking, the conditions to be right to, to make itself visible. You can imagine all sorts of permutations for the usefulness of that. Certainly in terms of marketing or perhaps hiding content that you want to be invisible to people who aren’t members of your subscriber base or whatever it might be.

And that’s kind of the point for me is that blocks bring all of this, as yet un thought-out, potential. Whereas previously, there was just essentially text on a page with a bit of formatting and some shortcodes thrown in if you wanted to add extra functionality. And now the functionality is all within the block. And so are the settings and it’s all in one simple, hopefully, user interface. Speaking of the user interface, just staying on the block editor. So we’re recording this kind of near to the middle of 2021. And I’m just conscious that there’s a lot of comparisons made all the time between what the commercial page builders can do and what the block editor can do, and I’m always curious to know what people’s opinions are about how easy it is to put things together, put complicated block layouts together and create things which are beautiful because, I certainly still experience moments where I’m really not sure if what I’m looking at in the block editor is going to look how I expect it to when I finally publish it and check it out on the front end. So just wondered if you had any thoughts about its utility as a sort of what you see is what you get, or if there’s still a ways to go?

Lee Shadle [00:32:43]

I think that ultimately that is going to come down to the themes and then any supporting block plugins that ship with those themes. With any page builder, any like major commercial page builder, there’s a learning curve and yeah, what you see, what is, what you get out of the box with Elementor, but if you want to change something, if you’re just getting started, it can feel daunting to dive into all those settings. I do think the responsibility falls more to the theme builders in and the plugin builders to make sure that that experience happens. Myself, I’m working on what I’m calling a minimalis page builder that I’m hoping to shorten that learning curve. And to also, I want to take responsibility for making sure that what you see in the editor is what you see on the front end.

So, you know, I do. It’s up to me and everyone else that is building out these experiences to make that happen. Off the shelf, if you used, you know, a core WordPress theme, you get your experience in the editor and on the front end is pretty seamless. There may be minor differences, but I mean, you’re, you’re pretty much seeing what you’re getting on the frontend.

Nathan Wrigley [00:33:59]

Just curious because you dropped a few names earlier and I thought that was quite interesting because some of the people that you’d mentioned I’d heard of, and some of them, I hadn’t. So I’m wondering if you wouldn’t mind just rattling off a couple of projects that you have seen and you thought that was good. And if you can attach some names to those as well, we’ll try and make sure they go in the show notes along with this, on the WP Tavern website. So yeah, just a list of block projects that you think are worth keeping an eye on either because they’re already fully fledged or they just seem like they’re onto the cusp of doing something great. And some names to go with that.

Lee Shadle [00:34:31]

Nick Diego, his block visibility, plugin block visibility wp dot com. And then I follow Nick on Twitter too. He’s always sharing updates. And if you’re into building blocks, valuable content there, Ellen Bauer with WP Aino A I N O dot com has some beautiful block patterns and custom blocks that you can start using right away. GenerateBlocks, of course, we mentioned Mike Oliver. He just released a new set of block patterns that, a beautiful set of block patterns that you can start using. And then I know you and I mentioned Brian Gardner’s launching Frost WP. He’s going to be launching a set, I think it’s already launched actually at frostwp dot com.

So I can’t go without saying too that Rich Tabor, he is the creator of CoBlocks and he, I think he sold that to GoDaddy. He’s always working on something interesting and sharing cutting edge stuff with regards to building blocks block-based themes and plugins. So he’d be worth taking a look at.

Nathan Wrigley [00:35:38]

That’s very nice. I will be sure to mention those. One which I’ll drop in, which I think is quite an interesting block-based, well, it is literally like a little application within WordPress. There’s something called Newsletter Glue. Don’t know if you’ve come across this, but…

Lee Shadle [00:35:52]

Lesley, how could I forget Lesley?

Nathan Wrigley [00:35:56]

Lesley Sim and her colleague, her co-founder have created a mechanism whereby you can repurpose your blog posts and they will instantly become newsletters, which sounds like the sort of thing you’ve been able to do by scraping an RSS feed or something like that. But there’s a lot more to it. For example, you can drag in a block, which will only be visible inside the post or alternatively, you could make it only visible inside the newsletter. And it does a lot more than that, but just that one simple little thing that you can do means that you can create a newsletter and have it look completely different in the newsletter than it does on your, the front end of your website. It’s really interesting for me, it demonstrates perfectly why the block editor is going to be so useful in the future, because this was unimaginable without the context of blocks. It couldn’t have been made in what we used to use in WordPress.

Lee Shadle [00:36:49]

To think about making a newsletter you generally have to, I would think go off site. And I use Newsletter Glue in a lot of my clients sites and it really makes it effortless to put together a newsletter and send it out. When you hit that send button. So like, did that really just send that this from WordPress, this is crazy!

Nathan Wrigley [00:37:07]

But just the level of complexity going on there, the fact that it’s doing a lot of heavy lifting, it’s reaching out to third-party services and doing things, but only at the moment that you click publish and it’s sending over HTML and telling the websites over there, right, go on, publish it right away to this list or that list. It’s really remarkable. And it’s, for me makes me feel that in the future, there’ll be a lot more interoperability with SaaS platforms and other things like that built inside of blocks. So that I don’t know, maybe your content management system, WordPress can reach out and have interactions with blocks with your CRM in some way, who knows?

This is what I’m finding exciting is that we’re at the point where the technology is now available, but we don’t yet have the history of developers trying out all their ideas. We did that with plugins. There must’ve been a similar moment with plugins where it was a lovely idea. Look, we can extend WordPress, but there wasn’t really so much out there yet. So plugins felt a bit like, well, it’s a thing, but you know, I’m not that bothered, but then look what happened. There really was a boom in plugins and they became… you know, you couldn’t really have a functioning WordPress website without a few plugins here and there. And I feel the same will be true in the near future with blocks.

Lee Shadle [00:38:19]

I really hope we can make building blocks easier because I think we’re just starting to see, like you’re saying some of these really neat things come out and you really could build anything you wanted in WordPress, if you know what you’re doing. So excited for what the future holds.

Nathan Wrigley [00:38:34]

Indeed, that feels like a perfect place to jump off this train. But before we do that, or before I do that, I always want to know where people can contact you. What’s the best place for you to be reached. It could be an email address or a Twitter handle, whatever you’re comfortable with..

Lee Shadle [00:38:49]

Twitter, it would be the best twitter dot com slash leeshadle. That would be the best place to reach me.

Nathan Wrigley [00:38:55]

I will make a hundred percent sure to put that into the show notes and all that remains for me to say is Lee, thank you so much for joining us today and telling us a bit about your journey and your excitement about blocks.

Lee Shadle [00:39:06]

Thank you Nathan, it’s been so fun to talk to you today. I really appreciate you having me on the show.

by Nathan Wrigley at October 06, 2021 01:23 PM under react

Post Status: WordCamp US 2021 Summary

After deciding not to hold the event in 2020, WordCamp US 2021 returned for a single day on October 1st. The entire event was planned in eight weeks — which was not widely known until mentioned by lead organizer Jen Swifter during closing remarks. This marks the first WordCamp US without Matt Mullenweg’s “State of the Word,” although due to the event being virtual it’s presumed Matt will be holding the SotW as a separate virtual “event” closer to the end of the year — similar to last year.

The two track event still brought fresh content and had what could be argued as one of the most diverse speaker lineups for a single day at WordCamp US — at least when it comes to “new to WCUS” speakers. New faces — even on screens rather than a stage — are welcome to see.

The event sold over 3000 tickets, which for a WordCamp US and a virtual event with limited marketing time is quite good. Of course not everyone might have showed up but I could easily get the feeling that this was a large event from the activity in the online chat and from Twitter.

Update: WordCamp US released an official response when asked about registered and attending members.

We had 3608 people register for the event and had as many as 400 concurrent viewers at one time.

Online events are notoriously difficult to get attendee stats for, particularly an event like WCUS 2021 where the audience is global and spans so many time zones. Many people will watch what they can and catch the rest in their own time.

We really love this as it makes for not only a more accessible event, but a more educational experience as it’s so easy to rewatch a session as many times as an individual needs.

It is difficult to give highlights of the talks since I was part of the programming team that helped add these talks to the program. I decided not to watch pre-recorded presentations prior to the day of WordCamp US to make the experience as similar to a regular attendee’s experience as possible. For that reason, I couldn’t cover all the talks live, and there are still a few talks I need to go back and watch. But I can cover some highlights and point out some notable presentations.

Note: Until WCUS talks are published on WordPress.tv, you can use this guide to view them timestamped in the live stream on YouTube thanks to Marcus Burnette.

Bet Hannon’s talk on accessibility was well received by the audience at the start of the event. Bet noted that “25% of all adults in the US have a permanent or temporary disability,” so the subject material should apply to many site builders. Jill Binder came afterwards to give an inspirational story about her journey to being a diversity team leader for a team that in 2020 exists in 71 cities across 17 countries.

Meanwhile, Cory Webb and Rich Tabor delivered what could be caled the “introduction” and “showcase” talks related to the block editor. Most talks in this particular track had some connection to the block editor or the latest major enhancements in WordPress.

There were lightning talks after a very entertaining “musical break” — or what would be considered lunch for an in-person event. I wasn’t able to fully digest them all, but many of these performers featured rarely seen or new faces in the WordPress community:

Sienna Svob covered sustainability, recommending that WordPress designers use fewer resources when possible and lean on hosts that use renewable energy. 

Lesley Sim of Newsletter Glue offered a no-slide presentation on how to make friends with early customers, and she reminded product builders to “create the expectation you’re helpful and easy to reach.” Lesley also reminded us that “anything you do for the first time [in business and marketing] is going to be awkward.” 

If you are running an ecommerce site, Lax Mariappan’s talk is a good one to watch. In a similar vein, if you are running a community or are a WordCamp / Meetup organizer I would recommend Shusei Toda‘s talk on lessons learned from WordCamp Tokyo 2021.

Another presentation for designers and theme developers would be Tammie Lister’s “Let Themes Be Themes” talk which will likely find a special place in the heart of those yearning for inspiration as we head into the next-generation of WordPress themes with full site editing and the block editor.

For entertainment, Taco Verdonschot scored some points for using his own green screen in his talk on recharging your social batteries. This was a timely talk when many of us still work almost completely remotely via Zoom and Slack.

The second half of WordCamp US seemed to go by quickly. Two key talks about WordPress.org contributions were featured in one track. The first by members of the WordPress Training team focused on the Learn.WordPress.org resource. Support for Leearn will make a big impact in the coming days — we’ll do a deeper dive into this subject in the future — and I do agree that one day visiting a WordPress.org profile might be key part of the hiring process by companies looking for WordPress professionals.

The other key talk was given by AmyJune Hineline who covered how many ways you can contribute and reviewed all the available groups at make.wordpress.org.

Developers got a treat when Helen Hou-Sandi showed how the new White House site was built in six weeks with WordPress and over a dozen custom blocks. 

“[10up] did 12 weeks work of hours in 6. Q&A; as we went. People were trusted to Q&A; their own work, no additional layers. We did have external help and always kept moving.” 

While mostly inspirational, she did show off some React code and revealed the entire talk including the live coding was done in the browser (thanks in part to Github’s Codespaces). Another treat was seeing the experiments that Kjell Reigstad showcased in his talk about block styles.

Get Hired

Get started today! Build your career in WordPress.

Build your network. Learn with others. Find your next job. Read the Get Hired newsletter. ✉ Listen to the Get Hired podcast. 🎙 Follow @GetHiredWP. 🐦

Josepha Haden Chomphosy closed out the conference with a brief talk on “finding your own voice” with a fireside chat with Michelle Fran. Some tidbits:

  • On acquisitions in the WordPress space: Josepha overall favors them and sees acquisitions as part of a maturing market ,but it’s not all about the money: “Sometimes companies being acquired need guidance. Large companies can provide advice and funds for the smaller company to get further. Mergers and acquisitions shouldn’t be looked at something that decreases the diversity in the ecosystem.”
  • On diversity: “WordPress can be used by anybody ,so it should be able to be built by anybody.” However, Jospeha acknowledges that ventures similar to the all-womens release team (which took almost 2 years to plan) might not be happening anytime soon so it doesn’t turn into a “gimmick” and can be used more effectively to attract more diverse audiences to contribute. 
  • On individual vs. corporate contributions: “Always important to me in terms of volume, we aim for 2/3 contribution from individuals and 1/3 that are corporately sponsored,” although right now the numbers are closer to 50/50.
  • On increasing openness and transparency: For decision making in WordPress and the posts on make.wordpress.org (including her updates), Josepha said: “Even if people aren’t reading what goes into the decisions of WordPress, it’s just as important for people to go back and read that content than it is to read more traditional documentation.”

I’m biased, but I think overall the event was well done. Apart from Matt’s absence, it seemed to have a flavor of a WordCamp US throughout, complete with conversations happening on YouTube chat, Post Status Slack, and Twitter.

Get Involved in WordPress!

  • Have you thought about what you can do that might lead to speaking at a WordCamp or local meetup yourself? Abha Thankor has some suggestions for you.
  • Jobs in WordPress involve a lot of 21st century skills in digital literacy and digital citizenship. In the latest WP Briefing podcast, WordPress executive director Josepha Haden Chomphosy reflects on her WordCamp US keynote talk and discusses how participating in open source projects can help you learn these skills.
  • Get involved in Learn WordPress! Over at learn.wordpress.org there’s a lot of change going on, and you can be part of it. Learn is for everyone, so no matter where you are in your life and career, you can benefit from and contribute to these educational materials that support the community project known as WordPress.

by David Bisset at October 06, 2021 03:32 AM under WCUS

Follow our RSS feed: 

WordPress Planet

This is an aggregation of blogs talking about WordPress from around the world. If you think your blog should be part of this site, send an email to Matt.

Official Blog

For official WordPress development news, check out the WordPress Core Blog.

Subscriptions

Last updated:

October 18, 2021 06:45 AM
All times are UTC.