WordPress Planet

February 08, 2022

WPTavern: Convesio Raises $5M to Expand Docker-Powered Hosting Platform

WordPress hosting company Convesio has raised $5 million from private investors. This funding round includes some of the company’s original investors who participated in Convesio’s 2019 Wefunder crowdfunding campaign, which brought in more than $1 million from 800+ investors.

“I started Convesio because legacy hosting providers have not evolved their technology, struggled to provide high uptime, and lacked the capability to scale WordPress on demand,” Fenelli said.

Convesio aims to make enterprise level hosting more accessible to customers with smaller budgets. Its Docker-powered platform allows sites to auto-scale up and down as necessary. It will automatically deploy multiple containers to handle higher loads and bills additional containers at an hourly rate.

“Traditional hosts put you on a plan to handle the highest level of resources your website needs, even if you only need them 5 hours a month,” Fanelli said. “It’s like leasing a Ferrari to use it for your daily commuting because you also take it to the track for a few laps once a month.” 

Convesio is aiming to take on the larger, more established hosting companies by ‘productizing’ scalability in order to keep costs down. The company boasts that customers can deploy a WordPress site with load balancers, a database cluster, and redundant file system in under a minute, without hiring a SysAdmin. Convesio’s target market is agencies, designers, and developers.

“Agencies are a one-to-many sale, easier to support, and early adopters of technology,” Fanelli said when launching their first funding campaign. “All these reasons make them a really good fit for what we do. They also have to manage a lot of WordPress sites, so issues like speed, performance, scaling etc are all compounded when you have 100 sites.”

With this second round of funding, Convesio plans to hire more staff, boost sales and marketing, and accelerate development.

by Sarah Gooding at February 08, 2022 04:31 AM under hosting

WPTavern: Creating Slides With the Carousel Slider Block WordPress Plugin

Over the weekend, Virgiliu Diaconu asked me to check out his Carousel Slider Block plugin, a project he has maintained for three years. It has slowly garnered more than 5,000 active installs since its release.

I get emails like this every day. More often than not, the projects are fundamentally broken or are a bit too spammy for my taste. Like so many others, I ask myself, Could this be one of those diamonds in the rough? I am always optimistic enough to hold out the tiniest sliver of hope.

I should preface this review by saying that I have a general dislike of sliders and carousels. They are often used to hide away content, forcing site visitors to take additional action to find it. Or, they begin to automatically slide before users finish reading the first panel. I tolerate them on some sites if used to tidy inconsequential content.

However, I know a lot of people like them. The question I needed to answer was whether this was a solid implementation. The TLDR version is it handles far better than others I have seen.

What makes Block Slider Carousel a solid plugin is that it is, mostly, WYSIWYG. It also does not complicate the experience more than it has to. There is one fixable problem, which I will get to. Overall, creating a carousel full of slides was straightforward.

Users merely need to insert the Carousel Slider block in the editor to create a new carousel. The UI is similar to the core Row block when inserting slides — click the “+” icon. From there, users can add any other block within each:

Initial carousel insertion.

I added a screenshot of this default setup to show that the plugin feels almost native to WordPress. There is no management via a separate custom post type screen. The slides do not all stack atop one another, looking nothing like their final output on the front end. And it does not have a dizzying array of configuration settings.

The primary difference between the editor and front end is the horizontal scrollbar shown on the post-editing screen, used for navigating the carousel. Once a few slides are added, it appears below the outer Slider Carousel block:

Slider Carousel with simple image slides.

I would love to see that replaced with the previous/next arrows and dots navigation in the editor view if either of them is enabled. The plugin allows users to toggle both on and off.

The block’s options are the baseline controls expected from such a plugin. Users can control the number of shown slides, how many to show on scroll, and the animation speed. It includes toggles to loop back around at the end of the carousel and an auto-play option.

There is an RTL mode, which was not immediately clear was working correctly. Switching it on did not seem to make any changes in the editor. However, the slides are shown in reverse order on the front end.

The block has a separate panel for controlling the number of slides on smaller screens. Users can manually set the breakpoint or leave it to the default of 768px.

The biggest problem I ran into with the plugin was that it overwrote block margins within the slides. As shown in the following screenshot, the Heading, Paragraph, and Buttons blocks have no space between them:

No spacing between blocks.

The theme I am testing uses the new “block gap” feature in WordPress 5.9 to handle vertical spacing. However, with the way the CSS is written in the plugin, it was likely an issue in previous versions. Carousel Slider Block’s styles zero out block margins with a high level of specificity.

This issue is only in the editor. If you can get past not knowing exactly how each slide will look until previewing or publishing, it is not too rough of an experience. But, this should be an easy fix for the plugin author. I removed the offending code without issue.

Corrected spacing between blocks.

And my sanity was restored — I am a stickler for decent spacing.

A welcome addition would be color options for the arrow and dot navigation and features like padding, border, background, and block spacing. This would make it easier for end-users to customize the carousel container.

Would I use this plugin? Knowing myself, I would likely build a custom block, overengineering it when there is a perfectly acceptable solution at hand. Of course, I do not use sliders. However, I would be comfortable handing it over to a client if I still did such work. Plus, the plugin’s front-end CSS is lightweight enough to overwrite for custom designs.

by Justin Tadlock at February 08, 2022 02:06 AM under Reviews

February 07, 2022

WordPress.org blog: WP Briefing: Episode 24: Three Goals in 2022

In episode 24 of the WordPress Briefing, the Project’s Executive Director reviews three big-picture goals for the year: Increased Gutenberg adoption, support of all open source alternatives, and stewarding the open source ethos.

Have a question you’d like answered? You can submit them to [email protected], either written or as a voice recording.

Credits

References

Transcript

Episode 24

Josepha Haden Chomphosy  00:00

Hello everyone, and welcome to the WordPress Briefing, the podcast where you can catch quick explanations of the ideas behind the WordPress open source project. Some insight into the community that supports it and get a small list of big things coming up in the next two weeks. I’m your host, Josepha Haden Chomphosy. Here we go!

Josepha Haden Chomphosy  01:07

A couple of weeks ago, I published a post about the big picture goals for the WordPress project in 2022. As I was thinking through our planned releases for the year and looking out toward what would spell success for WordPress over the next three years, three things really lined up in both sets of answers for me.

Josepha Haden Chomphosy  01:23

I provided some detail on how we can work toward these goals in the post, which I will link for you in the show notes, but I also wanted to take some time to explain why I feel we have to work toward these goals this year. So these all build on one another. To refresh your memory of the three big focuses, they are one to drive adoption of the new editor in WordPress, support open source alternatives for site building necessities, and three, open source stewardship. 

Josepha Haden Chomphosy  01:52

So the first one; is driving the adoption of the new WordPress editor. Early on in the start of the Gutenberg Project, folks could not go two days without hearing me talk about the phases of adoption and how those line up with the phases of Gutenberg, and who would need our support the most in each of those phases.

Josepha Haden Chomphosy  02:09

I have always believed that what we would be shipping at this point in our project would prove the plausible promise of what we were doing in phase one. That’s definitely what I’m seeing from what was shipped in 5.9, as well as what we plan to ship in May with 6.0. And the people who need the most support right now are absolutely our users, your clients, no matter whether they were not keeping up with WordPress developments or simply were waiting to see what all the fuss was about. 

Josepha Haden Chomphosy  02:37

There will be people who look to you as someone who has been here a while to help them make sense of what they’re seeing. And what I find so exciting about this adoption, sort of, work in the WordPress project is that this is the time when we as practitioners of WordPress, no matter whether you are a designer or a developer or builder, business coach. This is the time when we get to guide others through the hardest parts of our learning processes. 

Josepha Haden Chomphosy  03:07

The process of helping people to learn new technologies relies not only on your hard-won expertise but also on the belief that the future is worth fighting for. Enabling someone’s success is an investment in the future and investment for that person or for WordPress or your community. All investments are welcome here. 

Josepha Haden Chomphosy  03:28

Fortunately, table stakes are just that you care. And speaking of future investments, the second focus is open source alternatives for site building necessities. So things like images, forms, stores, themes, etc. It literally just things you need to build a site. I would like to start by saying that I am completely aware of the fact that 99% of WordPress users will never care about open source freedoms and philosophies in the same way that WordPress maintainers and contributors care about open source freedoms and philosophies. 

Josepha Haden Chomphosy  04:04

You could substitute the name of any other open source project right there, and the statement would still be true. And yet, I will always believe that people should have the rights and freedoms that open source brings to them even if they do not know they are there. And so it makes all the sense in the world to me that as a project and open source community, we should strive to make choosing Open Source as easy as possible. 

Josepha Haden Chomphosy  04:33

And finally, open source stewardship is one of the focuses for this year. This one is obviously about supporting open source as a concept and maintaining WordPress as a project. But I also think that it is relevant to our current global circumstances. Open Source suddenly became very visible to the public eye last year following the Log4J vulnerability, and ever since then, I’ve been hearing consistent concern over how We make sure that WordPress is sustainable moving into the future. Fortunately, this is a topic that’s near and dear to my heart. And I have been delighted to see so many community members bringing that conversation to the forefront. 

Josepha Haden Chomphosy  05:14

There is a lot that is done in the WordPress project to keep us from the tragedy of the commons. But that work honestly never ends. Not only does it not end, but as we get bigger, there is more and more that we can and should be doing to keep us around for the long term. And, of course, for the keen readers of my posts, there’s a bonus focus. 

Josepha Haden Chomphosy  05:39

The bonus focus is, of course, that WordPress turns 20 years old next year. This year, we will also be seeing some preparatory work for that major milestone as well.

Josepha Haden Chomphosy  05:56

So that brings us today to our small list of big things. There is a redesign of the News Page coming. We’ve been talking about this over on make.wordpress.org/design for a bit since like June of last year or something. But it’s coming in the next few weeks. I’ll share a link to the GitHub repo in case anyone has any specific things that they see as they are reading through all of our many news stories that come out on that particular page. I think it’s beautiful, and I’m very excited to take a look at it. 

Josepha Haden Chomphosy  06:30

The second thing is that planning is underway for WordPress 6.0; that release that we’re doing in May. I’ll add the project page link to the show notes. I’ve had a few raised hands for that release squad. But if you’re interested in participating in the release, I encourage you to keep an eye out on make.wordpress.org/core for updates and any news about how to get involved. 

Josepha Haden Chomphosy  06:53

And my third thing is actually that, in general, there are a lot of opportunities to contribute right now. There are discussions about projects, goals, and dreams happening all over the place. I’ll link in the show notes below the unofficial project “firehose” where you can see all the headlines and quickly find discussions that might be interesting to you. 

Josepha Haden Chomphosy  07:18

And that, my friends, is your small list of big things. Thank you for tuning in today for the WordPress Briefing. I’m your host Josepha Haden Chomphosy, and I’ll see you again in a couple of weeks.

by Chloe Bringmann at February 07, 2022 12:00 PM

February 06, 2022

Gutenberg Times: Gutenberg Changelog #60 – Restricting Customization in a Full-Site Editing World, Gutenberg 12.5 and Roadmap for WordPress 6.0

Birgit Pauli-Haack and Grzegorz Ziolkowski discuss with their guest Matias Ventura restricting customization in a full-site editing world, Gutenberg 12.5 and Gutenberg changes coming with WordPress 6.0.

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

Twitch Stream session with Ryan Welcher

Demo Code on GitHub

How to disable theme features and Lock Block Templates for Full-Site Editing in WordPress

Preliminary Roadmap for 6.0 (Gutenberg Phase 2) by Matias Ventura

Gutenberg 12.5

What’s new in Gutenberg 12.5? (February 2nd) by Fabian Kägy

Gutenberg 12.5 Introduces Global Styles Variations, Preserves Adjacent Button Styling, and Adds Alpha Transparency to Color Pickers

Consider a standardized way to modify hover/focus/active states for blocks (Issue 27075)

Gutenberg Developer Hours Feb 22 at 11am ET / 16:00 UTC

Transcript

Birgit Pauli-Haack: Hello and welcome to our 60th episode of the Gutenberg Changelog Podcast. In today’s episode, we will talk about Restricting Customization in our full-site editing world. Gutenberg 12.5 and what’s on the plate for Gutenberg’s Phase 2, coming to WordPress 6.0. I am Birgit Pauli-Haack, curator at the Gutenberg Times and WordPress developer advocate. And I’m here with my co-host Grzegorz Ziolkowski, JavaScript developer at Automattic and WordPress core contributor. Howdy Grzegorz, how are you today?

Grzegorz Ziolkowski: Hello! I’m good. Thank you. So last week we celebrated WordPress 5.9 release. That’s a huge one, yeah, we did it. So it took five years to bring blocks everywhere on the WordPress site. And everyone now can switch themes and play with the new kit on the block, which is a block theme concept. So I’m really excited about that and I see also a lot of excitement in social media and people are trying that out and yeah, it’s mind blowing how everything changed.

Birgit Pauli-Haack: Yeah. And I’m so thrilled to welcome our guest today, Matias Ventura sometimes called the spark of Gutenberg, well he is its principal architect. So last time we had Matias on the Gutenberg Times Show was November 30th, 2018. Just before we all headed out to Nashville for WordCamp US, and just before the release of 5.0, so thank you for joining us today at this one, after this wonderful release for full-site editing in core.

Matias Ventura: Hello, hello. Thank you for having me back. Like before 5.0, that’s a while back. It feels both like yesterday and forever ago.

Birgit Pauli-Haack: Yeah. I feel the same way, so many years and then we had a pandemic in between which kind of made the years even longer. So it’s a great pleasure to have you and the project has grown and matured so much. So it’s really mind-boggling how far it has come. And so the first version, minimal viable product MVP, the beta version or whatever you call it, of the full-site editing experience has been released. How are you feeling about it and what are the first insights from users?

Matias Ventura: Yeah, I feel really relieved that we got to this point, is being one of the main promises of the project to, like Greg said, like to bring blocks everywhere essentially. And this is the release that marks, I think will mark like a historical milestone where we finally were able to bring everything out to people. So, it’s a huge celebratory milestone for me, the work from so many people over so many years is finally, in a way it also just the beginning, because once you put things out there is when you really start seeing how people interact with it, the feedback, the things to change. So in a way it’s just the first step, but it’s also the culmination of a lot of work. So it has that both elements to it, I guess.

Birgit Pauli-Haack: Yeah. I feel that too. And I’m delighted, there’s so much chat around full-site editing. And listeners, long time listeners here on the Changelog know that we have been talking about it for at least two years. So, but people care greatly about it and they definitely see the potential and also, the theme developers are excited. So, but before we talk what comes to WordPress 6.0, and I just realized we have the 60th episode and we’re talking about WordPress 6.0 so that’s a coincidence. So shall we briefly go over the locking mechanism for block themes, the site editor and the blocks. It was part of a question on Twitter Matias and you had some great examples of what a developer already can use to lock down the parts.

Matias Ventura: I think it also speaks to both the ambition and expanse of the project, that we’re just celebrating all these new tools, all these extensibility tools, all these design elements that people have to play with our site. And now we’re focusing on locking them down, but there’s a reason to that. It’s like the WordPress project is really about all of these use cases. And while it’s been important to bring a lot of these tools to end users, people that are just starting their site on their own and be able to modify things that before were really locked down to them. That’s really important to really democratize access to all of these stuff. But at the same time, WordPress is used for very different kinds of sites and people that maintain sites for others like site builders, or agencies or freelancers are also users of WordPress, and these release also has tools for them.

And some of those tools are precisely about restricting and locking down and controlling what these tools are, when and how these tools are exposed to users. There’s many, I think it’s like from my perspective, this is the first time that WordPress has so much control and granular control over this when it comes to themes. So I’m quite excited, but I think we haven’t done a proper job at bringing that into focus, because we have something like the theme.json tool that was introduced in 5.8 and improve a lot for 5.9, that really allows a site maintainer, a theme developer to have a lot of control over what appearance tools are exposed in the interface, not just in terms of registering color palettes and the presets that people are used to, but also in really saying, “Okay, I don’t want the paragraph block to have any of these typography tools.”

You cannot control the line height, you cannot control the font size, you can only change the color and pick them on this presets. You can do all sorts of combinations there, and I think that, that really gives a lot of power to the site maintainer to really control that experience. But the cool thing is that since all the blocks are using these same APIs, it just works with every block, not just core blocks, but also third-party blocks that use these APIs. So that’s a way to really scale the ability to control essentially how all blocks work, without the developer needing to do anything specific for like a third-party block from, I don’t know, WooCommerce or anything, it should just work. And that’s just one part of it, we also have the other API that you mentioned locking, which works at a block level.

You can really restrict when a block can be moved, removed, or inserted in any area of the… like in a block theme essentially anywhere you can have a side bar that’s entirely locked down to editors, and you can imagine all the combinations that you can have with that. And these lock in mechanisms essentially turn the editor instead of being like blocks that you can move all around, the blocks are sort of set in there and you’re just editing the text or manipulating some of the attributes, essentially what is exposed. And if you combine this with a theme.json, you can say, okay, now you’re just modifying the attributes that the theme allowed to modify, like only choosing presets for a heading for example, or stuff like that. And I think it’s a really cool set of features that work really well together. And I don’t think we’ve done a lot of outreach around how they can be combined. We talk a bit about theme.json, and I think there’s some content out there about locking, but the combination of the two with specific use cases I think can be pretty powerful.

Grzegorz Ziolkowski: Yeah. This is also a year that needs further research because I can envision some use cases. People would like to put some parts of the site in their read only mode, so you can’t even change attributes like you could right now. And all of those features are hidden for now because it’s not something that for the default use case on the site are necessarily like individual block locking could be, if you would block that during designing your template, how would you change it inside? So it’s something that needs further thinking, but it’s there, it’s just, you need to know how to get to it. And we will talk about that today. That’s why we also introduce some features to look at the codes so people can just be more familiar and change like they do surgery of the HTML, just to ensure that you can add also today.

Matias Ventura: Yeah, exactly. Right now that works essentially with a code editor, you need to modify the attribute in the code editor. Eventually there will be a UI for this and this UI can also be, the idea is that this will be controlled by user roles. So maybe if you’re a site administrator, you can just using the UI itself, you can go and lock the different things that you unlocked, and you will have direct UI to do that. But an editor or an author, when they get there, they wouldn’t see the UI itself. They would just get the… whatever is locked, is locked and they cannot change it.

Birgit Pauli-Haack: Yeah. There also had been a, from the beginning actually, or very early in the project, the concept of a block template where you can say, “Okay, for a custom post type, I have only a certain amount of blocks that come into the page for it.” And you only can use certain blocks and you only can change the content for instance, that locking API has been in the site already, or in the product already, but it was not exposed to non-developers. Yeah. And I think getting that a little bit higher on the user interface, instead of having to write code about it, I think that’s a great development for later. I’m not sure actually we’ll make it in 6.0, but because that’s a huge undertaking by itself I would think, because you need to go through all those concepts.

Matias Ventura: Yeah. I think it can be like, it’s very close because it’s also how the whole project evolves. Some of these tools are added just through code initially, you mentioned, the templates have had locking mechanisms since 5.0, this new tool really expands it to block so, and since blocks can be edited in the code editor, now this becomes available for more people. And the next step is really just to expose it in the UI. There’s really, there needs to be some work there to really finalize the design, but in terms of effort is not too much to just have it there. We also want to have it on the list view, the panel on the side where you can see all the list of locks, and there it would be very easy for a site administrator to just click on a lock icon and just determine exactly what needs to be locked.

Birgit Pauli-Haack: Yeah, that sounds excellent. So I just want to also know dear listeners that Ryan Welcher actually walked through some of the demos of that in his Twitch Stream on February 3rd. And he also shared the code for his demo on a GitHub repository. So we’ll show the link in the show notes. That is definitely for developers of course, but we also will share some of the links and documentation for the things that Matias and Grzegorz just mentioned. 

Matias Ventura: And I just want to add that also, since this works at the block level, patterns themselves can be locked down in different ways, so you can create patterns where certain elements are locked. So it really expands that initial set of locking that we had for templates to essentially anything, like anything can be manipulated that way now.

Birgit Pauli-Haack: All right. Yeah.

Grzegorz Ziolkowski: That is to summarize the options then that you will see in the show notes in the links. So it’s possible to lock in usual block, but also the template of inner block. So if you, when you have a group, so you can lock down what’s inside the group and there is also some work to bring some more robust permission systems for all of that. So, when you have navigation block, which is in some entity, reusable block and all those concepts, so they can have different permission levels. And in general, it needs to be laid out in a nice way so we have a coherent system.

Matias Ventura: It’s cool that you mentioned reusable blocks, because there’s been some feedback, I think ever since 5.8, that it’s too easy to modify reusable blocks in a way. And for some people that’s great, that’s what the experience they want, for many others that’s not. And the ability to lock things down, like you can just lock a reusable block down and the UI would honor that experience. So it’s also something that addresses those issues because everything is blocks ultimately.

Birgit Pauli-Haack: Yes. And I think it’s really important to emphasize that you need to first have it all wide open before you actually know what you need to lock down. And if the features are not in the system yet, it’s hard to make those locks work. So it’s kind of the chicken and egg thing, and we know what the chicken is and we know what the egg is, but yeah, what comes first is actually it needs to be open before we can lock it down.

Phase 2 for WordPress 6.0

And now I’m really happy to go to the preliminary roadmap of Gutenberg phase 2 for 6.0. But just because we were on the topic of Adoption and all that, can we take that section first for those who want to see if I want, do I want to really adopt it yet? And what are the possibilities? So one thing was that the theme.json file is actually not only for block themes, it’s really also a great feature to use for non-block themes or as we sometimes call them plastic themes. And that’s already in 5.8, but I really found it a much easier way to switch off gradients, disable custom colors, orphans, disable Duotones with just a few lines of codes. What do you see here for 6.0 for the classic themes?

Matias Ventura: Yeah. Well, there’s a lot of refinements still to be done on theme.json, it’s an ongoing process, more things to control, more things to configure like we discussed. There’s some work going on Duotone, that still needs to be done like theme.json works, but the UI doesn’t necessarily work. There’s still the chance of making some of the… exposing some of the theme.json interface in, like the Customizer for classic themes or some other view, that’s something that would need to be explored because right now the UI for theme.json is global styles, which you get in the site editor, so there’s some work there to be done.

I think the thing that I’m most interested about for gradual adoption is, we managed to learn like this, we’ve been calling it the focus template part on the… sort of to refer to it somehow, which is essentially a view in the site editor that allows you to focus on a single template part, like a header part, or a side bar, or a footer or anything really that you can create. This view works with like the… it has responsive handles and so on. And it’s a nice experience just to deal with a specific part of the site, and there’s no reason why this cannot be open. In fact, we actually shipped some functions, some PHP functions to call one of the header template part or the footer, or some other template part in PHP. So you can use them in your PHP template files just fine. But what we don’t have yet is that if you do that, but you don’t get access to the site editor, there’s really no way for the user to edit the content of the template part.

So that’s something that would be nice to open up in 6.0. So essentially, if you have a normal PHP theme, you can use these functions and then somewhere in the UI, the user can go and just get this focus template part mode. So they wouldn’t go into the full-site editor, because that’s not how these things work. They would go into this focus areas to just handle blocks there. So it’s essentially a different kind of widget area where it’s visually rich and it’s visually more like what you see is what you get essentially.

Birgit Pauli-Haack: Yeah. It’s yeah, I understand that. So another item on your roadmap are the explorations on dynamic templates for blocks. That’s sounds really interesting. So what do you envision there?

Matias Ventura: Yeah, so this is like the other part is if say a theme wants to start adding some block templates, I don’t know. Do you want to turn your archive into something that’s editable or even vice versa? You have a block theme and you’re using it for a site, but you say you have like a, I don’t know, you’re running the New York Times and you have a specific page that is really dynamic and you don’t want it to be editing the site editors, so you end up using a PHP template for that, that sort of combinations. Because I think we’ve talked a lot about block themes and classic themes, that’s not really, it’s a very primitive split, like in reality, things are just very flexible and they will be more flexible. And that’s part of this gradual adoption sort of bucket, is that you can have some templates that are entirely dynamic like PHP driven, others that are configurable in the site editor and any mix in between.

It’s interesting to see some of the work that the WooCommerce team is doing, but I think there are some plugins as well that they, when these plugins that have a lot of templates that historically they were added as PHP templates that you could customize in a theme, but otherwise the plugin also ship some of them, that what they are doing is that they are wrapping some of the dynamic parts of these templates in essentially server render blocks. So you get like, you can edit the product template of a WooCommerce site, but maybe the templates, the part that displays products, that’s just driven by PHP. So you get a place called the render site editor, but you can customize around it. And once WooCommerce has the necessary blocks to represent that template just with blocks, maybe they update that. But it’s like, it shows sort of the flexibility of you don’t need to turn everything into blocks.

In some cases you might say, “Oh, like here, this is going to render a chart based on, I don’t know, the weather forecast or whatever it is, I don’t care about users interacting with this in any way in the site editor.” And that’s where you can let just regular PHP templates handle that part, but maybe the user can customize around that or the text above and below using the editor. All of those combinations I think are really going to become more prominent, because I think that cases where you just have a purely one theme in one site or the other are going to be, for some sites are going to be rare because you have different kinds of combinations.

Birgit Pauli-Haack: Well, that’s good to hear that there’s still a place for classic PHP themes, especially when you have complex sites because you, well, WordPress runs on PHP, but there are the hooks in to get the block part of it, and part of the template. That’s really interesting. Thank you.

Grzegorz Ziolkowski: Can you say that, like working in a similar way, how block patterns work? So, for the block themes, like the other way around, you can want, to port some of the functionality and then you would just wrap that into a pattern or whatever new we add. And then just take this snippet that’s generated on the fly with whatever you need and just get embedded into the template.

Matias Ventura: Yeah, exactly. It’s sort of like PHP Mbits in a way. And it’s like that the only traders is that you don’t get editing capabilities, which will be totally fine for many use cases. So it’s sort of like exactly the opposite of patterns in a way, it’s like a PHP Mbit that you don’t get the block interface for it because it doesn’t need to. It’s just like a single block that you can move around because it’s part of the block system, but you cannot introspect or edit its specific details. And I think that’s going to be like, again it’s very easy to create one of these PHP Mbits because that’s how WordPress works. So it’s just going to be there, it can be previewed, or you can show a placeholder, like that’s going to be, the options there are really wide open I think.

Birgit Pauli-Haack: So to bring it a little bit to the point of the controversy out there, or fear out there, the block themes actually are not getting rid of PHP developers. They actually give the PHP developers now so much more tools at the hand for flexibility, so they can really mix and match all the block parts into their theme. So I really love that idea and I’m glad that you’re here in the show to, going to set me straight and all my ideas and that, it goes really further. So then a lot of new features and enhancement in your preliminary roadmap, what are the highlights for site editor, layouts and blocks? And are there features you are particularly excited about the tiers?

Matias Ventura: Yeah. So in a way this release, I think I mentioned it, to me it’s more like the culmination of the phase 2. This is where we get to do at least the things that we set out to do. It doesn’t mean that it will be finished by any means or like that, we will continue to work on this for many years, but what I’m particularly interested about is going back to patterns and the things we can do around patterns, which we haven’t paid a lot of attention to in the… Like there’s been some work in the last couple releases, but since we introduced patterns there haven’t been like big major iterations on them.

And one of the key things for me is bringing patterns more into the template creation flow because blocks are sometimes a bit too granular for that experience. Like if you’re laying out a page or a template, you want to say, “Okay, I want to first define this header section, then this main section. Maybe with a sidebar, like this footer section or whatever is in the middle and so on when you’re creating a homepage.

So you’re really dealing with patterns first. And then maybe you’re tweaking the pattern with its blocks and so on. But you’re not creating from scratch like, “Oh, this is a group. And then this other group. And then this cover, and then this…” Like, that’s a bit too granular. Which can be fine for a theme developer, but for a user it’s really more about the patterns. Maybe even the patterns that the theme registers so you can very quickly piece together this sort of page.

And we don’t have… Right now, like patterns are there in Inserter, but the discovery is not super sophisticated. And from the canvas itself, you need to search for a pattern and so on. So it’d be nice if… And some of the proposals are that, if you’re in the root of a template, what opens when you click on the Inserter are just patterns. Like the quick Inserter that you get in between the pages, but focus on patterns and on sections that are… If you’re starting blank, the first thing is probably going to be a header. So we can connect that with a sort of semantic template parts, there are already headers and you can choose among these headers.

And if this is connected with a patterns directory, you can see among all the headers that are available in the directory as a starting point. And this could even expand to, you might be able to say, “Oh, I really like the header from this theme. And I want to use that.” And since everything is compatible, everything is just blocks, you’ll be able to say, “To explore and only see the headers from all the themes in the directory.” So you can pick one of those and then sort of assemble your site through those pieces.

So that experience is really what I’m interested about in exploring more. This sort of like section based building of site. And patterns are a key ingredient to that.

Birgit Pauli-Haack: Indeed, yes. There wasn’t a discussion of… That sounds really fabulous. There was also a discussion out there, is there ever going to be a way to actually save block patterns from the editor? So you design a certain way… Like you do with reusable blocks, that you can just highlight it, make reusable block, and then it’s available for every other editor. Can you also do this for block patterns? Is that on the roadmap?

Matias Ventura: Yeah, we actually had it in one of the plugin releases. I don’t know if you remember, but I think Ryad had done it, I think, right around the time of 5.0. You were able to both save reusable blocks and save patterns. You used the same mechanism, it was just, when you inserted them it would just do different things. Because it’s essentially the same, like you can insert a reusable blog and detach it from that sort of reusable instance and you get the pattern. So that was just the shortcut for that.

I think the tricky thing was that it was not clear when were you saving one thing or the other. And so it was more of a UX problem than a technical one. And I think that’s still the case. Now, that we have a proper… Because I think at the time we didn’t have patterns as a dedicated UI. So now that we have a dedicated UI for patterns, those concepts can make more sense. So it’s something to explore.

But I think we still need to do some work on this. Again, what does a pattern represent for sections? If you can say that a pattern has sort of like a semantic value, that it belongs to a header or a footer and so on. How does the directory react to that? Because we don’t have that layer of categorization in the directory right now that represents areas of the site. I think we need to do some work there to surface exactly what are the needs, what are the details? But yeah, it’s definitely on the table.

I think another sort of connected piece to this is that patterns can also be super useful for creating pages. So that’s something, like an additional… Like pages can sit between the regular post editor and the site editor, in the sense that sometimes when you’re building a page, especially like a landing page or something, patterns can be better than just blocks. In some other cases you might want just like, I don’t know, a blank page, I just want to write. But it’s an interesting… Pages, I think, provide an interesting place to sort of connect the two experiences. Like an experience more focused on pattern or an experience more focused on blocks.

Birgit Pauli-Haack: Yeah. And there has been almost immediately since the block editor came out, some of the plugins already provide kind of full page layouts that they have into it. So there’s quite a few things that will make it into core in a different way, probably. But… Yeah.

But I also see on the roadmap, there’s one thing, that is to use patterns also for transformations. So right now, when you add a pattern to a post, well, a page and it’s detached from it’s being a pattern. Yeah, kind of all the blocks are… Yeah. But if you want to replace a block pattern, you need to have it be together so you can replace the content immediately and all kind of things. Yeah. 

Matias Ventura: Yeah. And this is also crucial for this. Like when we’re talking about the header area, that’s a very clear case where it should be possible to say, “Oh, I like this theme, but I want to choose a different pattern for the header.” And that pattern might come from the theme itself, or it might from the directory, or it might be something that a user created. But that experience needs to be possible.

For headers, it’s somewhat easier because the blocks, even the inner blocks are semantics. You might have a site title, navigation block, tagline, and so on, site logo. And these blocks are transferable between any… Like they just deal with data outside a content.

For generic patterns that are just like a combination of blocks, we had some explorations and we need to continue around like how can you map certain… Like, say you have a pattern with an image and you have… You could have multiple patterns that combine text and images, so you can transfer some of the content and see how it looks on different places. But the fact that you don’t have necessarily a container for the pattern makes it, in some cases, more difficult. You need patterns that are either already by default used in a group or stuff like that, so that you can manipulate them that way.

But I think it’d be interesting to consider this addition of like sections. So that you can treat the section and say, “Okay, transform all these blocks on this section to this other pattern.” And sometimes it might not be a one-to-one mapping. Like maybe there are more blocks in one pattern than another. And those things need to be accounted for. But at the very least we should… We have some stuff there that already works for headers and footers, but we need to really expand these and connect it with the directory and then see how that can of work on… Because eventually it’d be nice if you can just lay a couple paragraph, add an image, and then you say, “Oh, I really want to display this in a more interesting way.” That you can just multi-select the paragraphs and the image, and you will get options of patterns that use, at the very least, these amount of elements. Like these different part of an image but laid out in a different way. And that is where patterns can also be a transform utility.

Birgit Pauli-Haack: Yeah. It could also open up a lot of possibilities for plugins and themes, to actually offer all these different variations of things. At the fly, a user doesn’t have to know what they want.

Matias Ventura: Yeah, exactly.

Birgit Pauli-Haack: … before they scroll the patterns. Yeah, exactly. Yeah.

Matias Ventura: Which is really the limitation. If you think about it, that’s the limitation right now with pattern, is that you need to think about before you added your content. You need to say, “Okay, I want to try this layout.” And then you write your content. Which is fine in some cases, but in others you would be like, “Oh, I just want to get this content out, this image out. And now I want this to be a pattern.” So that should also be a possibility.

Birgit Pauli-Haack: Yeah. That’s how I produce my pages, that… So this is my content, how can I make it snazzy and all that? Yeah. Excellent.

Grzegorz Ziolkowski: It’s interesting that we are talking all those ideas. Like they are crazy comparing to classic themes, wherein you go to the theme directory and you check some tags. Like I want to have one sidebar, like one column, and the content inside and maybe some other characteristic, but that’s it.

And basically you just get a huge list of themes and you need to go one-by-one and like activate, check how it works. And here, it’s there. And on every template you can have like parts of different themes combined which have… Because of style variations, you can have unified look and feel. It’s like there are so many possibilities that that opens, which is like the work I think for the next 10 years, at least, just to explore all that.

Birgit Pauli-Haack: Yeah.

Matias Ventura: Yeah. I think, in…

Birgit Pauli-Haack: Oh, sorry. Go ahead.

Matias Ventura: No. Go ahead. Go ahead.

Birgit Pauli-Haack: Yeah. So if your listeners kind of… The mind is blown. Let’s hear what Matias has to say about the decoupling of templates from specific themes. That opens it up really wide.

Matias Ventura: Yeah. I think it’s really the, sort of in a way, I think the topic of 6.0 is going to be to unleash some of these restrictions that for now are like self-imposed. Right now when you switch a block themes, your template parts and all of those things don’t carry over, your global styles don’t carry over. This is just like an artificial restriction. Like there’s no… Like it’s completely viable. And it’s part of the goal that those things do transfer, if you want them to. Like if you want to switch things but retain your header, like switch things but keep your global styles, or like try different layouts but keep your styles, or just change your styles. Like there’s many combinations there that should be possible.

So it’s really about unrestricting these things and decoupling the templates from the theme. Like you can combine from different themes. You can create your own and transfer. Maybe you really like how the block archives from a theme look and you want to just install that and keep everything the same. All of those possibilities are really there. Like right there.

We need to formalize the user experience around it and remove these restrictions that are really, right now, are keeping things more familiar to how things used to work. But part of the cool thing is that, now… The way I see it is that, all of these themes, all of these types of themes are compatible with each other. Like the theme JSON, just works in any of these themes. The templates are just blocks, they can be combined, they can be composed. So that part of compatibility is really what I think is going to be the biggest area of exploration that we have ahead.

Birgit Pauli-Haack: And always keep in mind, don’t get scared that all will be locked down again after it’s all over.

Yeah. So you had also quite a few things that you envision for the editor in 6.0. What stands out for you? Some of them are really pushing the experience further, but are there any, I say, new things? Or what stands out for you?

Matias Ventura: Well, I think like for the… There’s a lot of work that needs to be done to improve the template browsing experience. Even there, there are some restrictions that we impose that are artificial. Like when you create a new template, you can choose from an archive, single page. You have a few options. But you don’t have all of the options that WordPress should allow. You should be able to create, I don’t know, a specific category page for a specific category that you publish, like your travel category.

All of those things are, again, at the tip, it’s right there to do, we just are not exposing it properly. And we need to work on that to make that more viable, because that’s also something that unleashes a lot of that kind of power. Like maybe, you just install a theme and you say, “I want to modify a bit like my category page for this specific category.” You can do that right in the interface, or for a specific post type or for whatever it is. That’s something that needs to happen at the editor UI level.

There’s also some work around the three main ingredients of the site editor, like the global styles, the templates and the navigation. Those three elements, there’s some design explorations about how to better communicate this sort of hierarchy. That these are important and you can access these in this way.

For the navigation it’s important because you might have like a collapse navigation behind like a hamburger menu or whatever. And you shouldn’t need all these clicks to get to your navigation. There should be a way to just see the site structure without having to interact with a template that has a visible site structure. You might even have a site that has a hidden site structure. Like it doesn’t render a menu, but it has subpages and permalinks and so on. So you still need access to those kind of things. So that’s part of the editor work that needs to happen.

There’s also some that didn’t quite make it to 5.9, but it’s already in the plugin now, the style variations. Being able to switch style variations on the fly, that’s going to be really powerful. Especially right now, again, we’re restricting what you see to what is bundled with a theme. But there’s no need to do that. You could just go there and open like a style directory, where you see styles from all of the themes and you pick whatever you like. And it doesn’t have to be bundled with the theme, you can just access that from the directories.

So a lot of that work on the editor itself is essentially like managing how we open up some of these options and how we manage the access to them.

Birgit Pauli-Haack: Excellent. Excellent. Now, in your roadmap document, there are also a few things that are… Regarding for blocks. Blocks were, it’s kind of the first phase of things, but they always have been evolving. Are there anything that you like to point out and where you want to talk about?

Matias Ventura: Yeah. Yeah. I think in a way, I think we got to a point… The cool thing about, also, the 5.9 release is that now blocks are everywhere. So any improvements we do to blocks are just improving things everywhere. So any improvements we do to the UI, to the interactions, to all the things that… Some of them are still not quite there, we need better interactions across the board, but those benefits just compound because they just affect everything now. The investment we do on blocks it really scales really well, I think to the…

So I’m interested in the… Obviously, we need to continue to improve the navigation block, which is one of the most complex in terms of interactions. And we’re going to get a lot of feedback now that it’s out there, on the things that are confusing or too hard or tricky to do. We need to improve how plugins interact and extend this.

Again, to use the example of WooCommerce, if you want to add a cart, how does that interact with the block? How do you show it there? Like WooCommerce is already doing stuff, but it’s a bit idiosyncratic. We don’t have proper APIs really exposed for people. Like we have the APIs, but they might not be the most ergonomic. So we need to think about those things. How can a plugin target a specific area of a template to add a specific block?

And then what happens if the user moves it elsewhere? Which is part of the interesting thing, like now users are not constrained to where a plugin decided to show. Like sharing buttons. Maybe the user wants to move sharing buttons to the top, or to the bottom, or below the comment stream or wherever it is, they are able to do that. But the plugin also needs to be able to give like default specific location. All of those things are related to the blocks and the block’s APIs that we need to explore.

And then I’m also interested in like some basics. Like we have some restrictions on quotes, on lists where you cannot nest like more than paragraph blocks inside. But it would be nice to just get rid of those, like improve them. We have the signs for the table block also that are really nice that we need to get through. We have a bunch of blocks being developed for handling comments, as well like in themes, like how to lay out the comment stream and so on.

So it’s really continuing to improve everything around blocks. I think, maybe one really important highlight is probably allowing the feature image to be used in like covers.

Birgit Pauli-Haack: Yes.

Matias Ventura: That’s one that we really need to get to. Like we wanted to do it in a way that was very… That allow not just the cover block, but essentially like media and text or groups or anything else that you could deal with. And also third-party blocks. If a third-party block wants to say, “I want the user to be able to use the feature image here.”

But trying to solve that in a very generic way, I think is also blocking. Not having it on covers, which is really, like it would be really powerful today. So maybe we should just need to make it available on covers while we figure out how to make it available everywhere.

Birgit Pauli-Haack: Yeah. The hero image kind of design for a post and pages is certainly something that had a great majority of themes and that is still not available. Yeah, I also like the media and text for post query loops, yeah, where you have the featured image on the left side and then the text, the headline or something on the right side. I know that, for instance, the New York Times actually has that pattern. Yeah. 

Matias Ventura: Yeah. I think yeah. I think that one in a way is a little less pressing, because you can achieve essentially a similar layout to media and text with columns, so you can just use the feature image block there. But it’d be nice if it just worked with, it’s simpler to get the media and text.

You can also replicate media and text with patterns. So there can be a lot of like post query loop patterns that are just about that, so it’s a bit more flexible. But the cover is really like, you cannot replicate it without….

Birgit Pauli-Haack: That’s right.

Matias Ventura: So that’s probably like the biggest quality of life improvement if we can do that.

Birgit Pauli-Haack: Yeah. What’s still missing in 5.9 is… And there were some attempts to get it in, but then taking out as the typography for blocks and selections. Was that kind of stifled when the release team kind of decided to take the webphone’s API out from getting into core?

Matias Ventura: Yeah. So there are a few pieces. Like the typography tools did make it into 5.9. The typography tools are all there and they’re connected within JSON and so on.

We don’t have the Webphone’s API. So to add like new phone, families and local files and so on, that’s going to be a big part of 6.0. And also the other thing that we didn’t quite get to is, like better handling for responsive phones, essentially. Being able to pick a size, but allow it to be modified properly in the different context. A theme can do that with functions and so on, but the end user cannot. So integrating that better into the interface is part of the exploration.

The tricky thing there is to not be overwhelming again. They can be really… A lot of these concepts can really be difficult to process, to interpret them, to understand them. So the more we can just make it work by default. And then if you really know what you’re doing, you can dive into more specific options. But otherwise, just trying to make it work.

This is also super important for patterns because patterns can be inserted in different context. Maybe you insert a pattern in a narrow column. Like what happens there? We have some allowances there to say, what is the desired width of a pattern, so that we can filter them out. But still, a pattern might be the sign… It needs to be the sign in a flexible context because that’s the nature of the web. And a pattern cannot supply custom CSS, so it cannot supply media queries or anything to handle that.

Also, media queries wouldn’t work there because it doesn’t depend on the view. It going to depend on the container. Maybe content queries could work, but what we’re trying to do is to embrace more of these intrinsic web design principles, where you just define the properties of the container, how it should cascade, how it should be modified by the… And that also applies to phones. And now CSS has those tools so we just need to find ways to incorporate them in ways that make sense, like good defaults. All of that is going to be very important.

Birgit Pauli-Haack: Yeah. Responsiveness is still something that’s kind of missing throughout the whole blog editor universe. But I see that that is definitely a focus also for 6.0.

Matias Ventura: Yeah. I wouldn’t say it’s missing. I would say that we have like the very early steps towards it.

Birgit Pauli-Haack: Sorry.

Matias Ventura: … we do have like… No, because the column block does handle. Like when you collapse it, it collapses like the… I saw there was a video that a designer shared with like, just building a theme from scratch. And what they build just work by default on mobile.

What you don’t have is like really granular control over things. And that’s what we, it would be nice to expand. But at the very least, things flow generally well, if you’re using the row container. All of those flex containers just generally work. The same with the navigation and collapsing into the hamburger menu or giving you those kinds of options. I think there’s going to be a in part, little work of exploring when some of these tools need to exist on a specific block, like the navigation. And when it’s a property of the containers and more broadly that, those kind of cases. Yeah, and I think always, eventually you always have the route of just adding your own CSS and media queries. That’s also important to highlight. That’s not locked away. A thing can always add extra CSS if they need to.

Birgit Pauli-Haack: Yeah, definitely. Definitely.

Matias Ventura: It’s always an option.

Birgit Pauli-Haack: Yeah. But you have that not only the separation between users and developers now, you also have the separation between a user and a designer who wants to use the site editor without touching code. So there is that granular … So responsiveness needs to happen everywhere for the user, but when they change something, it needs to happen also. So there was one bug that exchanged or illustrates that, is the featured image and the query block is all responsive, but when you change the size of the feature image, it goes outside the narrow container. Yeah. So, but I can see a user just change the size of it. But it’s not, it needs to be caught, so it still is responsive when it’s even smaller. 

Matias Ventura: Yeah, I think that’s a great example of how we need to make blocks really resilient to these changes and then sometimes wanting control over how these things flow, is because the blocks have bugs. And if we fix those bugs, the need goes away. So that’s a good way to say, “Okay, we don’t overwhelm people with options. We just fix the bugs.” And most of the time things should work. But it’s a great point that also, again, the audiences are really expanding. Now there’s this new … Designers can now design a full theme using the site editor. That’s a new use case for WordPress that we need to … And again, these are users, just as an end user that is just using a theme is a user. There are different levels of users and builders.

And I think that’s the beauty of WordPress as well, is that maybe you start as a user, but you start using the tool and you have a good eye and you develop and you have some design background. And then you start doing that for others. And so you become a designer of block themes because the tools allow you to ramp up slowly. I think there’s a lot of gaps there, because you can go from just a user that likes to write on their site, to someone that’s creating blocks. There’s a lot of things in between and a lot of ramps up that people can take. I think that was a cool thing about the query block, which is an advanced block into like … You need to understand again, what is a query, what is being queried, what are these objects and posts and so on? But it can also be a ramping point to understanding how the software works, which is also part of the mission of WordPress which is given not just the tools, but the access to the software, people.

And that means that understanding how things work, being exposed to some of these internals, sometimes just in the UI, like the query block, you don’t need to dive into code to start understanding that. But if you play with a query block and then you see a PHP query, there is going to be a degree of familiarity with how things work, what it does, that is going to connect some dots to people. And it can become a ramping point for someone that wants to become a developer or wants to become a designer and so on. So I’m really excited about those sort of gaps in between. I think we need to do a better job at providing, ensuring that there’s no … That there are actually ramps and not cliffs. So if you start, want to go from creating patterns in the UI to creating a block, right now, that gap is too big. You need to go from using an intuitive tool, just with a graphic UI, to now opening developer tools and installing packages and stuff that you don’t really … The gap is too big.

But I think we can think about ways that, “Okay, what happens if you start using the HTML editor first as a way to define how a block works? What happens if you can export that code that you’re editing into a bundle of files. And then you can see your JavaScript files for the first time from what you did, and you start connecting some of the dots?” I think there’s a lot of possibilities there even for education and learning and teaching.

Birgit Pauli-Haack: Yeah. Same thing applies to theme JSON. How easy can you change just one thing? And you see it immediately. There is no build, there’s a build step, nothing. But you just add the text point in the text editor of the theme, JSON, and you see it immediately, if you change your color or an underline or a font. Yeah. So I really like that as well. All right.

Grzegorz Ziolkowski: So in fact, there is a build step, but it’s invisible for the end user, because it happens on the server. But that’s the goal. This is what Matias is talking about. So, that’s the thing that needs to happen. It’s still there, but it’s hidden and you can unwrap it as soon as you progress with your learning of programming concepts.

Matias Ventura: Yeah. And that’s also why the exporting is also so important. You should be able to export your global style settings and see that theme, JSON. Maybe it feels a bit alien or you don’t understand what’s going on, but it’s there. You can do that. You can introspect the internals of how the software is working. And I think that’s important to give that visibility. So ore ways to export and also to import, transfer things to other sites and so on. All of that I think is important.

Birgit Pauli-Haack: Yeah. And some of the things are already exportable and some of them will come in 6.0. And I think that’s one. So yeah, I’m really excited about the next version, which I see is scheduled for something like end of May? 

Matias Ventura: I think so. Yeah.

Birgit Pauli-Haack: Yeah. Two months before is beta. So it’s going to be in April pretty much. Yeah. Beginning of April, we probably know what’s going to come in 6.0, and I’m really excited about that. I know that quite a few pieces have already been finished or are not finished by any … Nothing is ever finished. But it will be, the first version is already in the latest plugin. So if there’s anything else you want to add to 6.0 topic or you, Grzegorz, I would want to move to the plugin release so we can go through the change log. Do you have any … Yeah. Okay, so let’s get started.

Matias Ventura: Yeah. I think the only thing that I would add is that this now it’s an interesting part where we need to listen to a lot of the feedback. And that kind of feedback would come in many different ways like from hosts, from agencies. All of that needs to be … We’ve been developing this for a while, but the reach again, the Gutenberg plugin I think is around 300,000 installations, which pales in comparison to how many times was 5.9 downloaded, I don’t know, five minutes after the release. So now we should be getting a lot of feedback that we need to process and incorporate into 6.0. So I think that’s the other understated thing from the preliminary roadmap, is that it is going to be influenced a lot by this feedback.

Birgit Pauli-Haack: Yeah. Is just looking at the stats? It looked like it.

Grzegorz Ziolkowski: Oh, yeah.

Birgit Pauli-Haack: First of all encounters.

Yes, 5.9 has been downloaded now 16 million times. Yeah. So it’s in a lot of people’s hands, if they want to explore it. Of course, nothing happens when they don’t have a block theme. Enable it right now. All right.

Grzegorz Ziolkowski: For WordPress, just to give the reference for WordPress 5.8, it was over 100 million downloads.

Birgit Pauli-Haack: Yes.

Grzegorz Ziolkowski: And it’s only for the use case, when someone goes to the website and clicks the download button, because you can also get installation from the host or whatever else, which isn’t counted.

Matias Ventura: I think it should count how to install. I think how to update.

Birgit Pauli-Haack: Well, it counts to downloads. So if you have a client, if you have an update button on your website, 6.0 is out, click here to update, that’s the download. That’s also the WPCLI downloads that happen and updates, or when you have a manager like Main WP or Managed WP or Google, GoDaddy’s managed tools, they download it all to your site and those downloads are counted. Yeah. I don’t know what the hosts do if they just deploy it from their own sites, from their local CDNs. But yeah, we can find out.

Matias Ventura: I think it depends.

Birgit Pauli-Haack: 108 million downloads was really big. Yeah. 

What’s Released – Gutenberg 12.5

All right, so this week’s release was organized by Fabian Kagy and who was in our last episode as a guest. And he also prepared the release notes on the make blog. So Grzegorz, do you want to lead us into what’s new in Gutenberg 12.5?

Grzegorz Ziolkowski: 12.5. Yeah, so we already mentioned some of those things like Mattias talked about, switching global style variation. So that’s the new feature. So maybe Mattias, you could just explain was why it’s so huge.

Matias Ventura: I think it’s a pretty packed release in terms of features, going back into the pace of especially after a couple releases, being more about stabilizing things for 5.9. The style switcher is probably the most exciting, the ability to just on the fly, change theme, JSON. And again, if you think about all the things that theme JSON can do, because it’s not just colors and fonts, it’s also each aspect of how a blog is displayed. You can change how quotes look, how different blocks look and package that into these theme JSONs. So changing theme JSON can be as drastic is changing a full theme, but it’s just a quick click away. You don’t need to install or download anything. It’s just a theme JSON file. And this is just the initial UI. I think it’s important to get it there, but it’s going to be more exciting when we start sharing things between themes, because it will also force to establish some more, either conventions or good practices for how we name some presets or colors, which have been ongoing conversations. I think we need to start establishing some of those.

Birgit Pauli-Haack: So how would a theme developer enable his theme to switch out variations?

Matias Ventura: I think right now, you add a folder called Styles and you put your theme, JSON files inside that folder.

Birgit Pauli-Haack: So you have one theme, JSON, the main one in the root directory and then you have Styles folder and have multiple theme JSONs that you name differently, so they’re not already … Okay.

Grzegorz Ziolkowski: Yeah, everything magically happens behind the scenes. The user goes to the editor site, editor page and then just goes to where the global stars are in the sidebar. And next to the currently selective variation, you will have link saying other variations. You could select that and you can just preview all other variations and pick with the one that fits better for you.

Birgit Pauli-Haack: Yeah. Kael had this in some of his videos, he that, how 2022 changes dramatically when it just changed the style out.

Matias Ventura: Yeah. We have it in the main video for 5.9. It’s a tease towards the next … The variations exist. I think they are available somewhere, but you cannot switch between them with the UI right now. If you install the plugin, you will be able to do that. I think the aim is to have the bundle with 2022, these variations, so that you can … And in 6.0 just with the same theme, you can get these very different looks of it. And it’d be nice if as a community in general, we need to start thinking about how to bring this into the theme showcase and directory experience, because you should be able to browse the directory and say like, “Oh, this theme, but with these other styles”, or be able to browse that and get that dynamic impression of how everything can change. We need to really think about the experience around that.

Grzegorz Ziolkowski: Yeah. You use, preview the theme inside the directory and just applies everything on the fly. So you see how this site looks with this theme active. That would be great.

Birgit Pauli-Haack: Yeah.

Matias Ventura: It’s also cool, even the other way, because you can imagine sending your theme JSON, so that you can preview patterns with your styles. You can browse the pattern directory using your own site styles so that you already know how it’s going to look, because the theme JSON is really easy to transport. You’re not installing or executing any code.

Birgit Pauli-Haack: Yeah. The theme directory, Munir Kumal actually, has a few different ways to showcase the theme directory on his Gutenberg hub. And I think there’s a lot more discussion to be happening to actually enable that what you had just said, about the styles to the changing. So yeah, what’s also now in 12.5 is that the code editor is now also available for the site editor. So if you want to tweak something on the code or some attribute or something like that, you could now use the code editor in the site editor as well. That also is in the … We also mentioned the featured image in the query loop, but the vision that we had with the cover block, it’s not yet there, but it’s now, at least the size, the actual, so the controls are now the same for the placeholder, as well as the featured image. And there’s also now a size selector in the sidebar that was missing before.

Matias Ventura: Yeah. I think that exposes a lot of the generated thumbnails that you might have for a feature image, which was again, another feature gap that is being overcome. And this is really the spirit of the focus on blocks, is that again, we can improve shows the feature image, and it’s going to improve all the themes, that are using this block. And so that’s really when you start seeing these compound effects, of just improving these block, just improves all the themes.

Birgit Pauli-Haack: Yeah, also has the danger that it also breaks themes.

Matias Ventura: Oh yeah.

Birgit Pauli-Haack:  But yeah, so I don’t want to belabor that right now.

Grzegorz Ziolkowski: In general media, it was very tricky in context of the query loop, also how there’s authors, because there also could be something missing, so we need to have a fault for that. So I’m great that this is worked on, and finally there is a workaround when there’s no data. Yeah. I guess for features that’s basically that, and we also have a list of 14 enhancements.

Enhancements

Birgit Pauli-Haack: Well, there are more. They’re only block library. 

Grzegorz Ziolkowski: Only block library as usual. For the query loop, there were multiple other changes. So now this is really exciting that you have better filtering options. So before we could also pick one author, now we can select a few of them, which gives you more options. And the other thing is you can use taxonomy. So that’s even powerful because taxonomy is that everyone has a lot of them on their site, and they just can narrow down the results to some of them and combination of them now.

Birgit Pauli-Haack: Yeah. You can have multiple sections on your website and just show particular categories, and then style those images. Yeah. We mentioned that two weeks ago that it’s in the works. So I’m thrilled that these enhancements now are in the plugin and there were also some transform … Now you can transform the core site logo and the core site title, transform it. So if you have in a header, you use either one of them and then you can just transform the other one. You don’t have to delete them.

Grzegorz Ziolkowski: This one is a bit controversial because it’s not a real transfer, because there are separate blocks and they have different data inside. However, the use case is pretty valid, because it helps you much quicker to craft your header.

Birgit Pauli-Haack: Yeah, it’s easier because there’s only one click away. If you want to do it just with blocks, you have to remove the older block and then you need to add another block. So it’s a lot more steps. So that’s why I think it’s a good thing. And now you also can have text labels on your hamburger menu or as the techies call it, the overlay menu. So you can point people to the hamburger menu and say, “Here is my menu”, because it seems to be still after, I don’t know, 15 years of mobile website, still a handicap, that people don’t know how to find the navigation of a site on a phone. All right, then the next thing that I see is the and selected states for the palette editor. And I tried to test this, but I think there is a need that the themes actually need to switch in, as opt into that, and also offer the switch between the two and the colors for that. Well, how does that work?

Matias Ventura: I think this is just about the UI elements. They didn’t show you when you were hovering, more focusing. It’s not about changing the hover and focus.

Birgit Pauli-Haack: Okay.

Matias Ventura: I think it can be a bit misleading if you read the entry.

Grzegorz Ziolkowski: Yeah. So the use case, when you have a blog that has not only text color balance, or background color, lean color, and there is … Can be now even more of them. And when you hover over it and there is this model or overlay popover maybe, and which allows you to change the color, in the past you have an indicator, which one you are editing, so you could get lost easily. And now it’s fixed and you have this hover effect and you know what you are doing.

Birgit Pauli-Haack: All right. Yeah. I totally got it mixed up with the other feature that a lot of designers actually need hover space for the buttons and that’s not working it.

Matias Ventura: Yeah.

Birgit Pauli-Haack: All right. But that’s coming. Yeah. I saw a PR for that, I think. Yeah. All right. Well, I’m glad that this was changed. So we have the post block modal for the site on the post editor?

Matias Ventura: Yeah. I think this is just improving a bit the display of the … When you open the editor and someone else is editing there and you get this, the takeover screen, it can now show you who is actually with the Gravatar and so on. It’s a nicer design of that.

Birgit Pauli-Haack: Yeah and the message also has changed. It actually tells you, “You’re not kicking them out and all their work is destroyed. Now telling you, “Yes, their content will be saved when you kick them out.”

Grzegorz Ziolkowski: Yeah. That’s a temporary measure until we go to the phase three of modern work, which is collaborate everything.

Matias Ventura: Yes.

Birgit Pauli-Haack: That a bit of way though. So I’m glad for the current fix or …

Matias Ventura: We’re all looking forward to that, like you said.

Birgit Pauli-Haack: Yeah.

Matias Ventura: It’d be nice to wrap up the phase two and start getting into those.

Birgit Pauli-Haack: Yeah. But you’re not done. Nothing is ever done. So there were some changes to the buttons block? It preserves the styling of the adjacent button when you add a new one. This is actually a nice interface to….

Matias Ventura: Yeah that’s really nice. Before, if you had these, I don’t know, a list of buttons and you had customized them all with gradients and border raise or whatever it is, and you would insert, wanted to add a new item, it would just look like the default, so you need to do that work all over again. Now it just inherits from the neighbor. So it really speeds up. And it’s a nice again, quality of life improvement there. It’d be nice I think, if it also points out that we need better tools for modifying how all the buttons look at the same time, in a group of buttons. You can, maybe it’s through multi selection or by selecting the wrapper, or even by selecting a single button and having an apply to all thing. We need to explore some options there too.

Birgit Pauli-Haack: Yeah. Good thinking. Yes, and what I consider a quality of life change as well is the identifying the side, front page, in the link UI search results for the navigation block. So you see which one is the homepage because not all the pages are … Yeah, from general settings, we can switch to a page as a front page, but in the list, they might have a different name. You don’t recognize that. So this is really nice to have.

Matias Ventura: Yeah, and the cool thing is that it just works on all the link UI. So it should work on buttons, on inline links, on the navigation block and so on.

Grzegorz Ziolkowski: Yeah. And there’s also, in addition to the site editor… Actually, this feature existed before, for the post editor, which is copy all content, which is added to the menu that can be opened in the header on the top right side. It just takes all the content and you can apply, paste it to another… Tap, just copy to other site or whatever. You can also save it to HTML file and just start creating your own template and theme-based on templates. Some of those features that we discussed, they are possible. You just need to use low-level tools that are out there. In fact, you could do that, also by using select all keyboard shortcut and selecting all blocks and just using copy shortcut, which is common-c. That would also work. It’s just more convenient way of doing that.

Birgit Pauli-Haack: Yeah. But for that, what you said with the control + a, and control + c and b, wouldn’t you be in the code editor to actually do this?

Grzegorz Ziolkowski: No, not necessarily. No, yeah. But you just need to have one of the blocks selected, so the selection can be expanded on that.

Matias Ventura: The first common-a selects the whole block. And multiple common-as expand the selection.

Grzegorz Ziolkowski: Yeah, good point. 

Matias Ventura: But it’s a good point that the discoverability of these things is not always great. So I think there’s, it would be nice if the first time you press control + a, there was a snack bar notification or something at the bottom that says, you can select all, even an actual link that allows you to select all by clicking the UI, or that tells you if you press more common-a it will select all. The same with copy, we have the… If you just have the cursor on a block and you press control + c, it will show up, the entire block has been copied, but there could be also an action there in that notification that says, I want to copy all. Because that’s, it can be a more contextual way to surface that copy all tool that otherwise people might not ever discover in the ellipsis menu.

Birgit Pauli-Haack: Good point.

Grzegorz Ziolkowski: We need some sort of gamification system. Once you unlock all of those features, you just get some badges or something like that. So you know that there are some hidden gems you still need to discover.

Birgit Pauli-Haack: Absolutely. If I don’t know that there was a copy all content, I think there are a few people out there who also didn’t know that, but I can… That’s a good point with… Gamification sounds a little buzzword-y, but it’s have context sensitive additional ideas presented. I think having a standardized way to do this before anything happens in that way would be really helpful because as soon as is extensible, some other plugin developer might get some idea to put some notes in there and they definitely need to be…

Matias Ventura: It’s also related to the tips system that we have. We had this rotating set of tips that used to show in the inserter. Now I think we have the… Because the site editor now has a loading stage and it takes a bit of time. It’s a good place to show some of these tips, while you’re waiting for it to load it can tell you, did you know that you can copy all content on this? Because you’re forced to be staring at that screen in a way, and it can be a good place to rotate some of these tips.

Grzegorz Ziolkowski: And I’m also convinced that it’s a good moment to teach people how to use software because they’re frustrated, right?

Matias Ventura: That’s what games do. And it seems to be working pretty well.

Birgit Pauli-Haack: But that’s also some software does. When there’s something going on, it’s like, do this, do this, so you can do this. 

Matias Ventura: We have the tip for the slash inserter, because otherwise it’s very, also, hard to discover, but that’s also a good one. And there were many more like that you can press space to indent, a list if you have the cursor at the beginning, those kind of things that are not necessarily obvious.

Birgit Pauli-Haack: I get a lot of… I do this on Twitter, I think every two months or something like that, somebody tweets, oh, I hate it that I can’t do control + h2 or something like that to get a header in. It’s that, and recently there was one person who has a process where they have to change, coming over from Google Docs, they have to change all the headers, 60 of them into h + 3s. And he was going in there and doing that with the toolbar, and I showed him that it just put the cursor on the front of the line and hit three pound signs and space, and then it’s already a… So he doesn’t have to select anything, so these are really cool tools. Yeah, Greg, you could have used some of that teaching moments for the create block scripts when they were waiting to download the node modules, but you took it away because now it’s only one minute and 30 seconds to get your block created without downloading all the scripts and files. It’s really cool. Just pointing that out. All right. What’s next?

Grzegorz Ziolkowski: So there is one interesting feature, for the color and the panel that has it. Now when you pick a color, you can also apply, it’s very technical name, alpha channel, which translates to that you can make parts of your blocks transparent. Which is pretty exciting because in the past, every block you would have to apply separate feature, like the cover block, for instance, you could make the background transparent, but now it’s just next to the color we are picking. So this one is really cool.

Birgit Pauli-Haack: Yeah, that’s exciting. Especially when you have something on top of the cover block and you want it a different color, but just to let it stand out a bit, with borders. That is really cool, I like that. There is also something for REST API? Grzegorz, can you explain that a bit?

Grzegorz Ziolkowski: Yeah. There’s an API that runs behind the scenes for the new style variation features. So it’s nothing fast. It’s just something to make it work.

Birgit Pauli-Haack: But that would also be something that a plugin could tap into later on if they wanted to change, here I have a plugin where you can make everything that you have in yellow, change all the variations. Okay. And the next one is that you now can tell the local environment wp-env the installed path, on the command line. That’s cool, otherwise, before, you had to navigate to that directory where you wanted to do that. I find that it’s really important that there is now the classic menus into the menu switcher, because that should probably be put back to 5.9 because that’s a missing piece for the navigation block in 5.9. And also they always allow accessing the post type for the navigation page, so they can actually change some of the navigation. 

Grzegorz Ziolkowski: But I guess you need to know the URL for the post type to get there, right? Because it’s not something that is exposed by default. I mean, you can do it yourself with a plugin.

Birgit Pauli-Haack: Right. This wasn’t so much about the post type getting to the page. It was more like when you are an administrator, it would show you are not allowed to access that page. So it didn’t consider the administrator’s high privilege. Overlord position. So, even if you wanted to go there, you couldn’t do anything there.

Bug Fixes

Grzegorz Ziolkowski: I just wanted to mention that we are now in the bug fixes section. The last two items.

Birgit Pauli-Haack: Right. I skipped over that. But, yes?

Matias Ventura: These are part of that gradual adoption, as well, is how does… Which, we still have work to do. How does a classic theme get some of these new benefits from the navigation editor, UI, and screens and so on. And this one is one of those, I think it’s related to accessing this page from a classic theme as well. Again, these are going fast in 5.9.1, but otherwise, bigger improvements are going to be landing on the plugin.

Birgit Pauli-Haack: Of course. But because it’s a bug fixing section, those are things that were surfaced very early last… Between the release and now, and the fixed merge, so this is definitely going to be in 5.9.

Grzegorz Ziolkowski: And, speaking of classic themes, there is also fixed dual-tone feature. So it works properly in those scenarios like we discussed when you just embed, for instance, header and footer, which is blog based. And then you can use those features and now everything should be correct.

Birgit Pauli-Haack: Now that works again in classic theme. These were the bug fixes that stood out to me. Anything else you wanted to discuss there that needs to go into 5.9 or something else?

Grzegorz Ziolkowski: No.

Birgit Pauli-Haack: If you’re interested in all the bug fixes, definitely go to the release notes and the changelog and look through, if you find yours. There is also a project board and a Gutenberg repo on GitHub about what goes into WordPress 5.9. So you can see what is actually slated for the next release. Then we go and skip over the performance section and land at the documentation section. 

Documentation

And there have been quite a few updates especially to the glossary. Now there are a few new terms come with FSE. So we definitely need to update that. There’s also a new documentation page for the use look edit context hook. What is that about?

Grzegorz Ziolkowski: I would have to check because there are so many hooks that are in a very similar way.

Birgit Pauli-Haack: But if I look at that, it only adds a short description of what that hook actually does. So it’s in the documentation a little bit clearer.

Grzegorz Ziolkowski: Yes. It wasn’t documented before. But it’s something that, you can use this hook when you are writing, edit implementation of your block. So you are a block developer, then you might want to use that hook when you have a nested component and you want to use the same properties that I exposed to the added function. So it’s basically nice shortcut.

Birgit Pauli-Haack: Excellent. Thank you. And there’s also documentation now for the version 1 versus version 2 theme JSON documentation. There were multiple questions, the people that use the theme JSON version one after 5.8. What has changed for version 2? And now we have an answer to that. There is a document that experimental selector requires server side block registration.

Grzegorz Ziolkowski: This one is tricky because, like everything that is prefaced by __experimental in general, shouldn’t be used or is discouraged for usage with third-party plugins. However, we know that people are doing that, so this is just clarification so people know what they’re doing. I know that people use very nice patterns that they just guard those features so they’re prepared for the case when this is renamed in the future, which is fine. And if someone wants to use it this way, it’s okay. But it is very important that many features for global size need to be required for the block to be registered on the server, because the processing requires many of those characteristics of the block. And for the theme.JSON, I want to just make it clear that it’s not that you necessarily need to be on version 2 already. It’s just, this documentation helps you to move if you or were adopting very early and you have version 1, it’s just all the names that you need to change to be on the latest one and to also take advantage of new features that are there.

Birgit Pauli-Haack: Thank you. Yes. Just a little caveat that __experimental means no documentation, no backwards compatibility, use at your own risk. And it might break.

Grzegorz Ziolkowski: And here we are, it’s documented.

Birgit Pauli-Haack: Well, it’s only that if you use it, but yeah. It can change any moment now.

Matias Ventura: It’s an interesting dynamic because we also want to get feedback on this, so it’s a dynamic of not encouraged to use, but also, the feedback is needed, otherwise it would never become a stable API.

Birgit Pauli-Haack: Exactly. But I think we need to be much better in documenting things like that if you want it to be used. You get really into the trouble when you are not making them backwards compatible, but that is also, it’s a new feature, or a new thing. You don’t want the technical legacy of backwards compatibility attached to it before it’s even released to the user. So, it’s a conundrum. Yes. I agree with that. What’s next on our list is code quality.

Code Quality

Grzegorz Ziolkowski: Yes. There were a couple of changes that… Escape, some of the properties it’s just for, more the hygiene, than there rather is something that was wrong. Some of them led to unexpected bugs. Some things were double escaped because of that. We always take care of this type of work and making sure that there’s, sometimes you prefer to be more secure than you need to be, just to ensure that we don’t have to patch that later.

Birgit Pauli-Haack: Yeah, but one I want to point out was allow for HTML in the title, I think. That is from the beginning of WordPress. Some people put additional HTML wire plugin into the title and that was temporarily removed. So it’s coming back. So don’t fret, but I need to see if that’s going back into 5.9. 5.9.1, sorry.

All right. I don’t have anything else that I see there. We seem to be on the end of going through the changelog. 

What’s in Active Development or Discussed

In the section of what’s in active development, or discussed, I only have one thing that I want to point out, that is, I heard from a few designers that they’re missing the hover, focus, active states. And we talked about it. I have in the show notes, then the issue that Kjell Reigstad who is the designer on 2022 has created an issue where the discussion happens. So if you are really interested in that and you have some time go and chime in on the discussion, because that’s the next stage, how that is going to be handled. All right? Yeah. 

So I think with that, we all have a wonderful show today with new things, back things, old things, new things. It’s really cool. And thank you so much for joining us Matias. I had a wonderful time with you discussing all the things. Is there anything that you wanted to say, a last word that you didn’t get in because we were all talking?

Matias Ventura: No, not really. Just thank you very much for having me back after all these years, it’s fun to discuss these things, to both celebrate the work done so far and to look into the future, what’s coming. Just really happy that 5.9 shipped and that the work continues with 6.0.

Birgit Pauli-Haack: Wonderful. And if people want to get in contact with you, what is the best way to do that?

Matias Ventura: I’m usually hanging around slack. You could also find me on Twitter. I think it’s matias_ventura.

Birgit Pauli-Haack: That’s right. That’s correct. Yeah. All right. Okay.

Matias Ventura: Oh, and my website is just matiasventura.com.

Grzegorz Ziolkowski: That’s a good one.

Birgit Pauli-Haack: That’s a good one.

Matias Ventura: Highly recommend it.

Birgit Pauli-Haack: Yes. And if you always wondered, what is this Gutenberg thingy? There’s a wonderful post there. What’s the title of it? The Ship of Theseus?

Grzegorz Ziolkowski: The Ship of Theseus.

Matias Ventura: Oh, yeah. Yeah. The Ship of Theseus. Gutenberg or the Ship of Theseus, yeah.

Birgit Pauli-Haack: Exactly. If you want to start there, you get a lot of ideas about the vision of it. All right. Before the end of the show, I wanted to point out that there is on Tuesday, the first Gutenberg developer hours on Meetup. And we have an expert panel that will answer all your development questions or know where to find them. So Fabian Kägy is going to be there. Nick Diego’s there as well as Tammie Lister to meet with the participants, we had to close it down a bit with 66 people are registered. We are not getting to all the questions, but we will. So there is a waiting list if you want to be registered there, but I also want to point out there’s a next one coming February 22nd. Also Tuesday 11:00 AM Eastern 1600 UTC. Put that on your calendar if you didn’t get in the Tuesday event.

As always, the show notes will be published on gutenbergtimes.com/podcast. And this is episode 60, six 0. If you have questions or suggestions or news you want us to include send them to [email protected]. That’s [email protected]. Thank you, Greg. Thank you, Matias. It was a great pleasure. Again, I’m so thrilled.

Matias Ventura: Likewise.

Birgit Pauli-Haack: It’s goodbye for me, dear listeners. And I’ll see you in two weeks, or I’ll hear with you, talk to you in two weeks.

Grzegorz Ziolkowski: Thank you very much. That was a great show.

Birgit Pauli-Haack: Thank you. Bye bye.

Matias Ventura: Bye bye.

by Birgit Pauli-Haack at February 06, 2022 02:05 AM under Gutenberg

February 05, 2022

Gutenberg Times: Locking down design and blocks, Gutenberg 12.5, Learn.WordPress – Weekend Edition 202

Howdy,

How have you been after the WordPress 5.9 release? Are you waiting for things to to calm done and 5.9.1 comes out? Yeah, me, too.

When I was working with customers and their sites, I would always wait for the next point release before I upgraded theirs sites to the new version. Yes, even after I tested the Beta and RC candidates on test or staging sites.

With so many new features coming in, not all bugs can be caught in time. Behind the scenes, everyone is working already on 5.9.1 with plenty of fixes, and they aim for a Feb 16 release. We’ll have further details next week.

The contributors appreciated the time and the work of those who report the bugs. To quote Linus’ Law: “Given enough eyeballs, all bugs are shallow”.

Below you’ll find a ton of links to articles, additional tools and updates. You don’t have to consume it all in one sitting. It’ll be in your inbox all week. Grab your favorite beverage and enjoy.

Yours, 💕
Birgit


The last few days, I was hearing and reading about developers’ needs to disable block editor features and make sure blocks in block templates are not removed or altered by content creators. I found quite a few resources and instead of sharing them here I put them in a separate post.

How to disable theme features and Lock Block Templates for Full-Site Editing in WordPress
After the release of WordPress 5.9, quite a few people aired their concern that too much freedom for users editing the site design, select colors or to modify blocks might… Read more.

Gutenberg 12.5

Fabian Kägy volunteered to run this week’s Gutenberg plugin release. He also wrote the release notes: What’s new in Gutenberg 12.5? (February 2nd). And Kudos to first time contributor who joined during the last release cycle: Alan Jacob Mathew, Iman GM @imangmJorge Contreras and Nil Koirala

Justin Tadlock gave is a whirl is well and here is his review: Gutenberg 12.5 Introduces Global Styles Variations, Preserves Adjacent Button Styling, and Adds Alpha Transparency to Color Pickers

Yesterday, Grzegorz Ziolkowski and I welcomed Matias Ventura on our Gutenberg Changelog episode 60. We discussed restricting customization in a full-site editing world, Gutenberg 12.5 and what’s to come in WordPress 6.0 for the block editor. We had a great time and I learned a lot.

 “Keeping up with Gutenberg – Index 2022” 
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. The index 2020 is here


Now that WordPress 5.9 is released it is time to look into the future. Anne McCarthy published a new call for exploration for the FSE-outreach program: FSE Program Exploration: All Things Media. McCarthy had again a set on instructions to go through and listen to your comfort level and report back on bugs. Then she asked you to imagine how the new WordPress Images directory could be integrated into the Media library and the Site editor.

Justin Tadlock heeded the call, dove right in and shared his experience in his post on the WPTavern: FSE Program: The Media Experience and Its Future in WordPress


Building Themes, Custom Blocks and extending the block editor

Luis Felipe Zuguini wrote a very detailed technical walk through how block themes work. You’ll find it on the Gutenberg Times.

How Block Themes work with Full-Site Editing
In this post, you’ll learn more about how block themes are built. I’ll share what I learned about building a block theme while I was testing Twenty Twenty-Two, the new…

Ganesh Dahal posted A Deep Introduction to WordPress Block Themes on the CSS-Tricks. Their social media team tweeted “Block themes? Full-site editing? WordPress 5.9 was a huuuuge release and Ganesh Dahal did a bang-up job explaining what it means for WordPress developers moving forward.”


We have mentioned the create-block scaffolding tool, available in the Gutenberg repo to get started on your first single block plugin. Ryan Welcher just published The Dynamic template on npm to scaffold a dynamic block.


San Ferrarello‘s new plugin Block x-Ray Attributes adds a section to the Document sidebar of the editor and displays the attributes for the currently selected block. This is very helpful during development.

Here is Justin Tadlock’s Look Under the Hood With the Block X-Ray WordPress Plugin


More Theme Generator Goodies: Herb Miller published an app to Generate Child Themes for any of the Block theme in the repository. Check it out!


The Gutenberg Components are available for developers that write plugins for all areas of the site. They provide a standardized interface and lower significantly the cognitive load for the user to have to learn new interfaces with every additional plugin in the Admin section. This documentation page covers Building a Custom block editor and you also find a Tutorial Building a Custom Block Editor

Converting Widgets to Block is a series of Videos, Ryan Welcher Twitchstreamed and then uploaded to YouTube


Sensei 4.0 – the learning management system (LMS) by the makers of WooCommerce and Jetpack, has been released. In his post, Ronnie Burt announce the arrival of a block-based theme ready for full-site editing. “You can use the Site Editor added in WordPress 5.9 to edit the Lesson and Quiz templates, giving you endless flexibility.” Burt wrote.

Justin Tadlock picked up the story Sensei LMS 4.0 Introduces New Block-Based Learning Mode Course Theme. He wrote: “Sensei is one of the first plugins to offer this kind of separate, in-app FSE-enabled theme.”. The plugin is available for free, and you can study the source-code, if you want.


Kjell Reigstad, lead designer of the Twenty-Twenty-Two theme, built a theme that makes your site look like Twitter. In his post Building Twitter with WordPress 5.9 he tells us how.

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

Using the Block Editor with our without the Site Editor

Jamie Marsland tasked two of his daughters, Meg and Lily, both WordPress beginners, to build the same page – one with Elementor and one with the block editor. It’s fun to watch, and also painful. No matter which editor you use, getting started ‘intuitively’ is hard.

The video WordPress Gutenberg versus Elementor – The £20 Prize Beginners Challenge! is available on YouTube.

Learn.WordPress Resources to help you get started! Courtney Robertson shared these links on Twitter the day of the WordPress 5.9 release.


Dave Smith, developer at Automattic and contributor to Gutenberg, posted two videos on YouTube to teach you more about the new Navigator Block


Anne McCarthy published the answer to so many questions by Comparing Patterns, Template Parts, and Reusable Blocks. She explains the difference of the three entities a WordPress user has in the block editor toolbox to reuse content and designs in various contexts


First Look: A WordPress 5 9 + Full Site Editing Demo – Join GoDaddy Pro’s Courtney Robertson and Marcus Burnette as they chat about the new features of version 5.9 and set up a simple home page LIVE using the new FSE process.


Do you want to know what WordPress Full Site Editing (FSE) and block themes are? Ellen Bauer posted a new video: WordPress Full Site Editing (FSE) & Block Themes explained. She explained the concept of Full-Site Editing and the new features and block theme that arrived with WordPress 5.9.


In his newest video What’s New In WordPress 5.9, Bud Kraus of JoyofWP, walks you through the new Full -Site editing features. It’s a mix between demo and tutorial. He shows you how to get your site building tasks done.


Joe Casabona asks “Who is Full-Site Editing for?” – I prefer not to spoil anything, he does have an answer. I did chuckle at the “It’s not a Bad Beta” sub header 3/4 in his post.


If you know what to get going with block themes, Trishan Mehta lists his choice of 12 WordPress Block Themes for Full Site Editing on PassionWP’s website.


David McCan wrote a Kadence and Stackable Gutenberg Blocks Comparison, and give in-depth view in two plugins that have been available since the first version of the Block Editor arrived at WordPress Core.


Joining Classic Widgets, Classic Editor, there is now the Classic Menu Block by Jonny Harris available to easy your site’s menus into the block-based era. “The classic menu block, allows you to embed all the existing menus you have set up on your site, using the existing core function, wp_nav_menu by rendering the block’s output in PHP,” Harris wrote.


After giving you a sneak preview on the new Super List Block plugin last week, developer Aurooba Ahmed share more details in her article Nest blocks inside lists and easily create a grid of content with the Super List Block”. She explains how the Grid Block simplifies your content creation over multiple group block and gives you also responsiveness for small screens.

Matt Medeiros posted his walkthrough using the plugin on YouTube Superlist block | WordPress plugin overview.


A new plugin arrived in the WordPress repository: Wavy Divider Plugin by Kevin Batdorf, the Project Lead Developer at Extendify. With it, you can “generate and add a simple wavy divider to anywhere on your page, giving you the ability to separate blocks of content with an impressive, professional-looking design element.” Batdorf wrote.

Justin Tadlock posted a review on WPTavern: Creating Content Dividers With the Wavy Divider WordPress Plugin


WordPress Social Learning Events (and Meetups)

Earlier this week, I had the great pleasure to participate in the WPMinute Twitter Space on Learning WordPress, hosted by Matt Medeiros and Daniel Schutzsmith and with Hauwa Abashiya from the Learn.WordPress team and Joe Casabona, who coaches site builders. Listen to the show and follow the links in the post.


February 7, 2022, 12pm (noon) ET / 17:00 UTC
Taking Control Over the Editor for Client Builds with Fabian Kägy via WordPress Social Learning Spaces

February 8th, 2022 11 am / 16:00 UTC (full)
Gutenberg Developer Hours with Birgit Pauli-Haack and expert panel via WordPress Social Learning Spaces: Tammie Lister, Nick Diego and Fabian Kägy

February 9th, 2022 5pm ET / 22:00 UTC
Using Block Patterns with Wes Theron via WordPress Social Learning Spaces

February 14, 2022 – 4 pm ET / 21:00 UTC
Exploring Theme Blocks with Wes Theron via WordPress Social Learning Spaces

February 21, 2022 – 12 pm (noon) ET / 17:00 UTC
Hello Blocks! Coding a custom block via WordPress Social Learning w/ Wes Theron and Ryan Welcher.

February 22, 2022 – 11 am ET / 16:00 UTC
Gutenberg Developer Hours with Birgit Pauli-Haack and expert panel via WordPress Social Learning Spaces

by Birgit Pauli-Haack at February 05, 2022 07:26 PM under News

Gutenberg Times: How to disable theme features and Lock Block Templates for Full-Site Editing in WordPress

After the release of WordPress 5.9, quite a few people aired their concern that too much freedom for users editing the site design, select colors or to modify blocks might be the opposite of what customers want. Especially more complex websites with many editors and departments who produce content need guard rails to enforce publishing standards and adherence to brand color schemas and design systems.

Below I list of documentation links and code examples for the myriad of ways to restrict access or choices for users. As WordPress 5.9 is only a beta version of the Full-Site editing experience, you also can participate in linked discussion on GitHub for development still in progress.

Locking Block Templates and Block Patterns

Developers can register block templates (a collection of blocks, with lock attributes) for instance for custom posts types. More about it in the Block Editor Handbook. This feature has been available for a few years now. It’s not directly related to FSE. The lock mechanism can also be applied to Block Patterns.

With WordPress 5.9 documentation you can find the DevNote: Locking Blocks in WordPress 5.9. It describes the settings for the block attributes “lock” and how you can control, adding, inserting as well as moving or removing blocks.

There are discussion held on GitHub repository, that could use your input, if you are developing sites that need guard rails.

Demo on Locking Block Templates, Patterns and via theme.json by Ryan Welcher

In this week’s Twitch Stream session, Ryan Welcher demonstrated how Locking Blocks and block templates works. He also shared the code for the plugin he used in his livestream that has all the code for the examples he showed in this show

Permission System for FSE theme templates.

In discussions, contributors look at the relevant aspects on how to handle permission for various sections on themes, templates, and template parts.

Disable User design controls for blocks and block themes

The theme.json file is the place where you can configure the user controls for gradient, color choices, font settings or background colors.

Here are a few, this might not a comprehensive yet.

If you want to use theme.json in a classic theme, but you don’t want to allow access to the template editor, add remove_theme_support( 'block-templates' ) to your functions.php file. Hat tip to Ryan Welcher for this tweet.

Carolina Nymark wrote in her course on building theme for full-site Editing about Enabling and Disabling features in theme.json

Thanks to David Gwyer‘s block theme.json Generator, I could to set all the settings to zero or false or to empty arrays to removing color, border, typography, and spacing controls.

I have not tested all settings below, so use at your own risk.

Colors

"color": { "background": false, "custom": false, "customDuotone": false, "customGradient": false, "defaultGradients": false, "defaultPalette": false, "duotone": [], "gradients": [], "link": false, "palette": [], "text": false }
Code language: JavaScript (javascript)

Border Controls

"border": { "color": false, "radius": false, "style": false, "width": false },
Code language: JavaScript (javascript)

Typography

"typography": { "customFontSize": false, "dropCap": false, "fontFamilies": [], "fontSizes": [], "fontStyle": false, "fontWeight": false, "letterSpacing": false, "lineHeight": false, "textDecoration": false, "textTransform": false }
Code language: JavaScript (javascript)

Spacing

"spacing": { "blockGap": null, "margin": false, "padding": false, }
Code language: JavaScript (javascript)

Have you found additional tweaks you apply to keep design choices safe? Please share them in the comments.

Featured Image: “Locks on Bridge, Paris.” by Matt Benton is licensed under CC BY-NC-SA 2.0

by Birgit Pauli-Haack at February 05, 2022 05:47 PM under News

WPTavern: Creating Content Dividers With the Wavy Divider WordPress Plugin

Kevin Batdorf, the Project Lead Developer at Extendify, released the Wavy Divider plugin earlier this week. It is described as “a colorful, fun, lightweight divider block to energize your website with character and pizazz.”

As someone who believes every Friday should be officially titled “Fun Friday,” how could I not install and activate it?

I have not seen many block plugins employ a random design option before, and Wavy Divider may be the first. Its foremost setting is a “shuffle waves” control. When a user clicks it, the divider is regenerated with new locations for its peaks and valleys.

Adding the first Wavy Divider.

I have mixed feelings about the shuffling option. One side of me wants to know what I am getting before I hit the button, and the other is pleasantly enjoying the randomness of it all. Users who prefer tight control over each point where each wave rises or slopes down might want to look elsewhere.

The plugin is not entirely a jumble of unpredictability. It offers a handful of other options for users to exert some control over its output. There are toggles for the divider’s smoothness and direction. The former switches between the default wavy style and its straight-lined rigid counterpart. The latter moves the wave flow from the bottom to the top and vice versa.

Users can set the divider’s height, points, and opacity. There is also a color option.

If you really want to get creative, your best option is mixing and matching it with the core Group and Cover blocks. The plugin’s documentation walks users through creating a mirrored gradient effect by using two dividers inside a Group. I followed the directions and built a gradient river that flowed across the screen:

Two dividers inside of a Group block with a gradient.

In the right hands, it is entirely possible to buff out some of the roughness, putting a professional sheen on top of it all.

I threw together an intro section for a fitness or adventure blog. The goal was to create the appearance of a site owner with personality. However, better designers will use it to piece together something unique to their brands.

Adventure blog intro section with bottom divider.

Half the fun of this plugin is trying out-of-the-ordinary combinations with other blocks. The other half is discovering new shapes via the shuffle option.

You can also use the plugin for your next low-budget horror film’s cover art (this was absolutely an experiment gone weird when testing this plugin, but I figured I would share anyway ):

There is a little something for anyone with an imagination or enough time to repeatedly click the “shuffle waves” button until they land on that perfect wave shape. As I said, it is Friday, and we should all let loose and have a little fun.

I tend to bookmark projects with well-structured code for my own edification, and Wavy Divider fits that mold. For developers who want relatively simple examples of block development to study, it would be hard to go wrong using it as a starting point. The code is available on GitHub.

by Justin Tadlock at February 05, 2022 02:18 AM under Plugins

Gutenberg Times: How Block Themes work with Full-Site Editing

In this post, you’ll learn more about how block themes are built. I’ll share what I learned about building a block theme while I was testing Twenty Twenty-Two, the new default theme now shipped with WordPress 5.9, featuring the full-site editing experience. For this walk-through, I ran trunk Twenty-Twenty-Two, with trunk Gutenberg and WordPress 5.8.2.

You can just upgrade to WP 5.9, and the experience should be the same for you. The theme is now available in the WordPress.org Theme Repository for download.

Activating Twenty-Twenty-Two gives us this:

This looks about right. That’s the default Twenty-Twenty-Two home page.

Defining a block theme

All the magic starts in the theme.json file. When this file is present in the active theme, the template editor becomes available. This was a feature added in WordPress 5.8.

Next, the presence of templates/index.html determines if the site editor interface should be made available in place of the Customizer.

One interesting bit of the functions.php file is that the developers call add_theme_support( 'wp-block-styles' ), according to the handbook, to “opt-in to slightly more opinionated styles for the front end”. This will include a couple of block-specific styles listed here. It’s mostly default styling that makes some blocks (e.g. Image) look better.

To demonstrate, I added one Image block and defined the caption. This is how it looks on the editor:

Below you can see how it looks on the live site. Left is without wp-block-styles. Right is with it included. Notice how the caption is center-aligned, with smaller font size and gray-colored. Using wp-block-styles makes the end result look exactly like the preview.

The developers enqueued fonts inside the twentytwentytwo_get_font_face_styles function, which is called when the user opens the editor or the frontend of the site. But make no mistake: all of the styles need to be enqueued for the editor and front end – not just font-face ones. That’s what makes them look the same!

At the end of the functions.php file, there’s a required call to /inc/block-patterns.php so we can get block patterns registered. More on that later.

How block theming works theme.json

There’s a file called theme.json that defines some properties, most notably styles and settings. I’ll walk you through all the properties defined in Twenty-Twenty-Two, and there’s a handbook page about it if you want more information.

We’re using version 2 of the specification, which comes with some adjustments, like removing the custom prefix. Version 2 is officially supported on 5.9, matching the theme’s required version.

One of the most important parts of the theme lives inside settings. We define preset color pallette; typography presets (such as font families and sizes); spacing unit options, as well as custom CSS variables that can be used both inside and outside of theme.json.

All the entries defined in this property are exposed through CSS variables that are used inside stylesheets, block patterns, and blocks themselves.

Aside from presets defined in settings there are also “supports” options to enable or disable certain controls based on the theme developer’s preferences both at the global and individual block levels. 

For example, it could be that the content creator should be limited to only selecting from the predefined theme colors and so the custom color control would be disabled in the theme.json settings file with something like this:

{ "version": 2, "settings": { "color": { "custom": false } } }
Code language: JSON / JSON with Comments (json)

The Twenty-Twenty-Two theme doesn’t have many restrictions as it’s meant for the general population. It does turn off DropCaps, though. 

{     "version": 2,     "settings": { "typography": { "dropCap": false, }    } }
Code language: JSON / JSON with Comments (json)

There are also many default design control settings inside the styles property. They’re applied to blocks, global color settings, HTML elements, global spacing, and global typography settings. This section gives Twenty-Twenty-Two its unique feeling because here the default design control settings are defined and are enqueued to the CSS that’s pushed to the browser.

Then, one can use all the properties defined in theme.json inside their style files by using the power of CSS variables, as Gutenberg will inject them into the file. The variable path is a reduction of the actual property path. Something like:

body { color: var(–wp–preset–color–primary); }
Code language: CSS (css)

Enables a block to read theme configuration on the live site.

Templates and template parts

The difference between Templates and Template Parts is that the former is a full-page template (be it custom or not), such as home. Both templates and parts can use — block patterns.

Templates are rendered when viewing specific sections of the site (404 pages or post archives are good examples), and obviously, you can define custom templates that might be picked for specific postTypes, such as post or page.

Template parts are almost the same, except that instead of defining a whole page, they are part of a specific section of the template. In Twenty-Twenty-Two’s case, header and footer.

Twenty-Twenty-Two includes a couple of templates and template parts. These are defined inside theme.json. The purpose of defining templates in theme.json is to determine which post types the template should be available for use on. For example, the Page (Large Header) template is limited only to pages whereas the Blank template is made available for use as the template for both posts and pages.

Similarly template parts can be defined as intended for use as a header or footer in theme.json.

Some specifics about the templates in Twenty Twenty-Two:

  • 404 uses the header and footer parts, along with a hidden pattern called hidden-404, which cannot be selected inside the Patterns selector;
  • archive, is using the Query block just like the home and index templates uses it. The difference between the three is that home has a bigger header than index, and archive has an additional block indicating that the user is browsing the post archives;
  • page and single, that have some variations (large header, no separators) but their purpose is to display a page or a single post. The difference between the two is that the page template does not display metadata, such as the date, author and terms;
  • There is also a blank template so one could create a page or post from scratch. It only has a post content block. This template allows users to define a single-page website. Here’s an example from the demo that uses it.

The template parts are pretty basic:

  • footer, which is basically a Group block with padding and a theme pattern (footer-default) inside;
  • header, with the Site Logo and Site Title blocks, and a Navigation block to the right;
  • header-small-dark and header-large-dark, that include the header template part — a template part that uses a template part 🤯 — at the top and hidden-bird and hidden-heading-and-bird theme patterns, respectively.

Kjell Reigstad, designer of the Twenty-Twenty-Two theme explained the hidden-heading-and-bird pattern a bit more: “This is a little trick we used to ensure that changes the user makes to the main header and navigation stay in sync throughout their entire site. I don’t think most other themes will need to do this, but it works well for Twenty Twenty-Two.”

How block (and patterns in general) work

Twenty-Twenty-Two has 66 block patterns, so I’m not going to describe them here. Instead, let’s see how they work. 

Inside inc/block-patterns.php, Twenty-Twenty-Two registers block pattern categories using the register_block_pattern_category function. That function accepts an associative array with the slug of the category, along with its name.

After that, it registers each block pattern by calling register_block_pattern, passing the slug of the pattern and another associative array with a few properties:

  • title;
  • categories (at least one of the defined above, except if it’s a hidden pattern);
  • blockTypes, that declare in what kind of blocks I can insert this pattern to;
  • content of the pattern, formed of one or more blocks.

All that is wrapped into a function that is called after the init action.

One thing that caught my attention is that the contents of the pattern, essentially HTML, is defined inside the PHP file instead of a pure HTML file. I believe that’s for dynamic content (e.g. translations, dynamic URLs). There are plans to change how that works and make it a better developer experience, though! Stay tuned.

The WordPress Block Patterns Resource List has a lot more information about Block Patterns.

Putting it all together

Next Gutenberg kicks in. It is the glue that applies the theme definitions, its overrides, and injects the blocks into the used templates.

When you override a global style that is defined in theme.json or by WordPress core, a new post with the wp_global_styles type is created. The differences from the original global styles are saved as a custom post type. Here’s what happens when you modify global typography settings:

MariaDB [wordpress]>
select post_content
from wp_posts
where post_type = 'wp_global_styles';

post_content 
{“styles”:{“typography”:{“fontSize”:”var:preset|font-size|huge”}},”isGlobalStylesUserThemeJSON”:true,”version”:2}
Result set for above SQL statement

Blocks are defined as HTML comments, such as:

<!-- wp:spacer {"height":112} --> <div style="height:112px" aria-hidden="true" class="wp-block-spacer"></div> <!-- /wp:spacer -->
Code language: HTMLBars (htmlbars)

The first part defines the block name, and the object inside the comment stands for the block properties. From there, you can add, modify, and delete blocks inside the editor. The changes are saved within the chosen template. The contents that are “wrapped” by comments are the actual markup bits that are rendered on the live site. Of course, those comments are filtered away before the content hits the site’s front end.

When modifying the contents of a template (i.e. adding, removing, or modifying blocks), you get a full copy of the template as a new post with the wp_template type, along with all your changes. When changes are cleared, meaning the template is reverted to its original form, the post is deleted and the original template is used instead.

When a user modifies a block that also touches a WordPress General Setting options, like the for “Site Title” block, the site_title option is also updated in the options table.  

MariaDB [wordpress]>
SELECT option_value
FROM wp_options
WHERE option_name = 'blogname';

option_value  
This is changed from the editor!

The same thing happens for posts. When you change the contents of a Post Title block, the post itself is changed. Imagine the following post, inside the site editor:

When you change “Hey there!” to “Something else”, that’s what you would get inside the tables:

MariaDB [wordpress]>
SELECT post_title
FROM wp_posts
WHERE post_type = 'post';

post_title
Something else

Pretty magical ✨

On a side note: I’m uncertain whether it is a good option to let such changes happen. People might mistakenly assume that this is part of the template and not part of the post itself.

After the changes are saved and the site looks how the user wants, it’s rendering time!

The following paragraphs are an oversimplification of the process, but they should give you a nice overview.

First thing, the gutenberg_maybe_inline_styles() function is enqueued within wp_head and wp_footer actions so that styles are injected. This is where most of the styling, including block styles, global styles, and their overrides are applied. Something similar happens for scripts and external stylesheets. Note that, at this moment, CSS is not yet sent to the browser.

Then, gutenberg_add_template_loader_filters hooks into the wp_loaded action. Inside that function, a for-loop enqueues a filter that runs for every possible template:

add_filter( str_replace( '-', '', $template_type ) . '_template', 'gutenberg_override_query_template', 20, 3 );

Note how it calls gutenberg_override_query_template as a target. Inside it, the corresponding template for the page the user is requesting is resolved and the template-canvas.php file is returned as the result of the filter. That file is the final bit:

<?php $template_html = gutenberg_get_the_template_html();?> <!DOCTYPE html> <html <?php language_attributes(); ?>> <head> <meta charset="<?php bloginfo( 'charset' ); ?>" />     <?php wp_head(); ?> </head>  <body <?php body_class(); ?>> <?php wp_body_open(); ?>  <?php echo $template_html; ?>  <?php wp_footer(); ?> </body> </html>
Code language: PHP (php)

As shown inside the code, it calls gutenberg_get_the_template_html. That function does a few things, but most importantly:

  1. do_blocks, which grabs all blocks, parses them and return their content;
  2. wptexturize`, to escape all special characters into their safe HTML entities.

And that’s it! gutenberg_get_the_template_html‘s result gets echoed inside the <body> tag, wp_head and wp_footer functions render their respective content and voilà: your page gets loaded!

That’s how FSE with Gutenberg works, in an oversimplified way in January 2022.

Resources

Big Thank you to Daisy Olsen, Kjell Reigstad, and Jeff Ong for their review of this post.  

by Luis Felipe Zaguini at February 05, 2022 02:05 AM under News

February 04, 2022

WPTavern: CMS and E-Commerce Churn Data Shows WordPress Maintaining Market Lead, Shopify Gaining on WooCommerce

Rick Viscomi, one of the maintainers of the HTTP Archive, tweeted some interesting data from a report he is working on that tracks churn for different JavaScript frameworks and CMS’s over a specified period of time. He detected the changes using the open source Wappalyzer project. The first graph he shared shows shows data from 8 million websites, 12 months apart for any that changed tech stacks, visualizing the movement to/from frameworks.

A large chunk of the 32K+ sites that migrated to React came from Handlebars.js, Mustache, and Ember.js.

As the market leader, WordPress was also the recipient of quite a bit of churn from other CMS’s, primarily Drupal and Joomla, followed by Wix, Squarespace, and TYPO3. Viscomi found that WordPress picked off 9K sites from competitors but also lost ground to other CMS’s.

“It’s leaking quite a bit to other CMSs too, but not as much as it’s taking in,” he said.

CMS churn data from Rick Viscomi

Where are sites migrating to away from WordPress? They are primarily going to Drupal, Wix, and Squarespace, followed by a wide array of smaller, less popular, but growing, website builders like Duda and Tilda. Viscomi found that WordPress is involved in 79% of these migrations, either being replaced or replacing another CMS.

Tracking e-commerce platform churn, Viscomi said, “WooCommerce is more or less breaking even in the trades, but Shopify is gaining a lot of ground, especially from WooCommerce.” The e-commerce space is much more competitive with Shopify right on heels of WooCommerce.

E-commerce churn data from Rick Viscomi

It would be interesting to get an overview of the most popular sites that moved to a new platform and dig in deeper on why their engineering teams decided to make the move.

Viscomi said his data ignores any technologies that were not detectable in January 2021, as well as any site that removed a technology without a replacement from the same category. He plans to share all of the queries with an interactive version of the charts in an upcoming post on the HTTP Archive.

by Sarah Gooding at February 04, 2022 11:13 PM under woocommerce

WordPress.org blog: The Month in WordPress – January 2022

There are a few significant moments in the history of the WordPress project. January 2022 is one of them, with the release of WordPress 5.9! But that’s not all. Read on to learn more about the latest updates and achievements from the community.


WordPress 5.9 Joséphine is here

Meet WordPress 5.9 Joséphine. Named in honor of the acclaimed jazz singer, Joséphine Baker, this is one of the much-awaited releases. Version 5.9 brings full site editing to WordPress, among other exciting updates! Download WordPress 5.9 and try the new features!

Check out the WordPress 5.9 Field Guide to learn more. Lastly, everyone’s invited to participate in a retrospective of the WordPress 5.9 Joséphine release!

Are you interested in contributing to WordPress core? Join the #core channel, follow the Core Team blog, and check out the team handbook. Also, don’t miss the Core Team’s weekly developer chat on Wednesdays at 8 PM UTC.

Gutenberg releases: Versions 12.3, 12.4, and 12.5 are here

The Core Team launched three new versions of Gutenberg since last month’s edition of the Month in WordPress.

  • Gutenberg 12.5 brings global styles variations and Query Loop block enhancements, along with the Code Editor view to the Side Editor. Moreover, inserting new buttons is now easier than ever!
  • Gutenberg 12.4 was released on January 19, 2022. This version includes accessibility improvements, suggestions for assigning categories, keyboard shortcuts for the Site Editor, and more. 
  • Gutenberg 12.3 was released on January 5, 2022. This release brings new blocks, like the Author Name, Comments Next Page, and Comments Previous Page blocks, and many other cool updates!

Want to get involved in developing Gutenberg? Follow the Core Team blog, contribute to Gutenberg on GitHub, and join the #core-editor channel in the Make WordPress Slack. Follow the #gutenberg-new tag for details on the latest updates.

Team updates: Proposals, announcements, and more for 2022

Take the course on Learn WordPress to learn about the full site editing features in WordPress 5.9!  Also, help spread the word about social learning spaces on Twitter!

Feedback/Testing requests: Share your thoughts on WordPress 5.9 Joséphine

Share your feedback on the release of WordPress 5.9 Joséphine.

WordCamp Europe 2022 wants volunteers, photographers and media partners

  • WordCamp Birmingham, Alabama has been postponed until April or May.
  • The WordPress Foundation published a post explaining more about the nonprofit’s mission and why it exists.
  • Don’t miss the following upcoming WordCamps: 

WordCamp Europe 2022 opened a new call for volunteers, photographers, and media partners!


Have a story that we could include in the next ‘Month in WordPress’ post? Let us know by filling out this form.

The following folks contributed to January 2022’s Month in WordPress: @anjanavasan @harishanker @rmartinezduque @lmurillom @webcommsat and @nalininonstopnewsuk

by Anjana Vasan at February 04, 2022 07:41 PM under Month in WordPress

WordPress Foundation: What is the WordPress Foundation and Why Does it Exist?

The WordPress Foundation is a non-profit organization with the mission to democratize publishing through open source, General Public License (GPL) software. Established in January 2010, the Foundation strives to ensure free access, in perpetuity, to the software projects we support.

The WordPress Foundation has a unique history. While it’s true that the organization is eponymously named, our work extends beyond the WordPress project. In this article, we’ll cover just that: what the WordPress Foundation stands for and why our mission matters.

The heart of the matter: open source

“If you believe (as I do) that software constitutes at once some of the core tools and core rules for the future of how human beings work together to create wealth, beauty, new ideas, and solutions to problems, then understanding how open source can change those processes is very important,” says Steven Weber in The Success of Open Source.

Imagine if you couldn’t use the various software that is fundamental to technology right now, be it WordPress, Linux, Android, or something else. Many of the tools we use may not be as commonly available without open source, as intellectual property rights could restrict that access.

But open source challenges the idea of property, as Weber explains in his book:

“The conventional notion of property is, of course, the right to exclude you from using something that belongs to me. Property in open source is configured fundamentally around the right to distribute, not the right to exclude. If that sentence feels awkward on first reading, that is a testimony to just how deeply embedded in our intuitions and institutions the exclusion view of property really is.”

At its core, open source is based on the power of community and collaboration. By bringing people together, these projects leverage the combined perspectives and knowledge to create something more remarkable—and available to everyone—than what we can achieve individually. 

The WordPress Foundation is here to ensure that open source software is part of the future. Human beings may have limited life spans, but our efforts don’t have to. Our organization wants to ensure that the source code for projects like WordPress will survive beyond the current contributor base, so we may create a stable web publishing platform for generations to come.

by Anjana Vasan at February 04, 2022 05:07 PM under open source

WPTavern: WordPress Ramps Up Social Learning Events on Full Site Editing, Project Aims for 500 Block Themes in 2022

WordPress is hosting a live online event tomorrow called “Beginner’s Guide to Full Site Editing.” Within three minutes of WordPress’ Twitter account tweeting about it, all 70 spaces were booked and the waiting list kicked in.

As part of the project’s big picture goals for 2022, WordPress will be ramping up community efforts to help site builders learn how to use open source tools to get their sites up and running. One aspect of that goal involves publishing more educational content to learn.wordpress.org. Another part of that effort is hosting virtual social learning spaces through the project’s meetup group.

WordPress Executive Director Josepha Haden Chomphosy identified specific metrics the community team is aiming for in 2022:

  1. Ship LearnWP learning opportunities (1 workshop/week, 6 courses/year)
  2. Increase the number of social learning spaces (4 SLSs/week)
  3. Block theme contribution drive (500 block themes in the repo).

WordPress.org currently has 47 block themes that support FSE and they continue to trickle into the official directory. There doesn’t seem to be a mad rush to create block themes, but this could be due to theme authors’ lack of skills and reluctance to give up established, more efficient workflows.

During the 2021 State of the Word, Matt Mullenweg said he wanted the number of available block themes to be at 5,000. This figure seemed more aspirational after he pared it down to “300 or ideally 3,000 of these block themes” before the project enters the Collaboration phase.

Getting WordPress users up to speed with FSE goes hand-in-hand with growing a larger collection of free block themes. WordPress’ Facebook and Twitter accounts have been more active than in previous years, with marketing posts advertising new features with images and videos. It is helping familiarize more people with the major changes introduced in 5.9.

Based on the response to tomorrow’s event, there seems to be a demand for beginner’s FSE content. The session will cover block themes vs. theme blocks, styles, block patterns, and templates/template parts. More than 40 people are still waiting for spots. (When spots open up people on the waiting list get a place automatically.) This is a session that would benefit from being run multiple times to accommodate the large number of people wanting to learn the basics of how to use FSE.

If you want to learn more about creating block themes, you don’t have to wait for a WordCamp to get an interactive walkthrough. The “Zero to Block Theme” series is covering the basics for theme developers. It continues on with a new session on Friday (with spots still available) and previously recorded sessions linked in the notes. This is part of WordPress’ big picture goals for the ecosystem in 2022, which prioritize providing tools and training for building block themes.

by Sarah Gooding at February 04, 2022 02:25 AM under social learning spaces

WPTavern: FSE Program: The Media Experience and Its Future in WordPress

The FSE Outreach Program is back with another round of testing. Anne McCarthy asks for volunteers to test and provide feedback on media-related features in WordPress. Anyone is welcome to contribute, and feedback is open until February 23.

This round of the program includes two tasks. The first has users explore today’s media-related experience. The second asks what they would like to see in the future.

“Like last time, the focus of this exploration is to think with a more long term, ‘wishful thinking’ perspective in order to gather useful insights that will help inform the design of media related experiences going forward,” wrote McCarthy in the announcement.

As always, I dove right in with the hope that any discovery would make its way upstream to help mold the future experience.

Task #1: Exploring the Possibilities

I altered this task slightly. The call for testing asks that volunteers explore what is currently possible with the core media-related blocks. However, I work with these every day, so I know most of the ins and outs of the system.

Instead, I explored the WordPress photo directory — my favorite place on the internet right now — and see what new images have landed. I visit Pexels, Pixabay, and Unsplash far less often these days, and I am sure that I can do away with them altogether as the directory gets more CC0-licensed media.

I downloaded a picture of a giraffe by Marcus Burnette. Then, I attempted to add a couple of different Scotch-tape/Polaroid effects via custom block styles. The following is a screenshot of one of them:

“Scotch tape” effect via a custom block style.

I am happy that I went off-path in this stage of the exploration. I learned a lot about the inner workings of blocks in the editor and that styling the ::after pseudo-element is problematic. WordPress uses it to add a blue border around selected elements. So, I just wiped that out, at least for my custom styles. I am 100% sure that will come back to bite me at some point.

WordPress has come a long way in balancing the block-editing experience for users and allowing theme authors to style a WYSIWYG canvas. However, there will likely always be these edge cases where the two will be at odds.

Since I was already there tinkering around in the editor, I tested various combos of custom block styles and duotone filters:

Duotone filter used with custom block style.

It is hard to remember that there was a time when this was impossible in WordPress.

Task #2: My Vision for Media

The second task of the exploration calls for volunteers to think about the long-term picture. What features do you want to see? How can the experience be improved?

Quickly moving up the ranks of my wish list is WordPress Photos integration. Now that the directory is nearing 1,000 images after less than two months into its soft launch, it is clear the community is backing the project. Finding images without ambiguous licensing terms goes hand in hand with WordPress’s vision of an open web. Users merely need easy access to them.

When laying out an idea for a theme design earlier this week, I realized how much I wanted to see more image filters. One of the patterns I was working on included a comic, watercolor-like background image. I grabbed a photo by Patrick Boehner — yes, once again, it was from WordPress photos. In a minute or so, I had imported it into GIMP and applied the “waterpixels” filter to it.

Applying a watercolor-like filter to image.

There was a distinct style I was going for with the design, but users cannot easily recreate it from within WordPress. It may be possible to implement this filter via a custom block style, and I may very well attempt it if this particular theme idea ever comes to fruition.

However, I would like to see a range of filters available to users. If this is too much for core, perhaps a standard filter-registration system for developers might be in order. This is just me thinking out loud at the moment. I do not know what that system would look like, but it is on my mind. I have little doubt that some user out there is thinking the same.

The addition of existing block design controls would also help. Implementing the border options across the range of media-related blocks is low-hanging fruit. Captions should be a dedicated block with a range of typography and color controls. Padding and background color options for the <figure> wrapper around images would allow users to “frame” their photos:

Image block wrapper with padding and background color.

Outside of the previous ideas, there is at least one obvious wish-list item. I want to use my post’s featured image in any image-related block. I have long requested the ability to drop them inside of a Cover, for example.

There are less-obvious ideas too. It may be time that we rethink the concept of a featured “image.” In my previous life as a full-time theme designer, one of the scripts I had built and shaped over the years was a “media grabber.” Essentially, it allowed theme authors to get audio or video from the post content and display it in various places, such as alongside excerpts on the homepage.

There is no longer an easy way to use that PHP script in block-based HTML theme templates. It would require a third-party block plugin (none exist as far as I know) or a core feature.

by Justin Tadlock at February 04, 2022 01:39 AM under Opinion

February 03, 2022

Post Status: Post Status Excerpt (No. 44) — Small Wins With Small Plugins

In this episode of Post Status Excerpt, David talks with Collins Agbonghama, the Founder of ProfilePress and the author of a few other WordPress plugins. Collins shares what he called a “small” win in Post Status Slack early in January 2022: he acquired a plugin (now LoginWP) for “5 figures” and was able to break even on a revamped, commercial “Pro” version after only four months. David and Collins talk about this accomplishment and consider how similar opportunities may exist for other WordPress entrepreneurs.

Why This Is Important: Often you hear about large product acquisitions between relatively large companies in the WordPress space, but not so much the smaller ones — even though they can be just as impactful on people's livelihoods, especially for independent developers and freelancers.

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!

Transcript

EP 44

David Bisset:

So speaking with you today is a pleasure. Can you tell me, well, I am from I'm from the, as you probably already have figured out from our communication earlier.

I'm from the United States. I live in Florida. I'm from the east coast. Can you tell me where you are in terms of the current.

Collins Agbonghama: I'm from Nigeria. I live in Nigeria, actually, Nigeria is in Africa. Then I live in new city called Legos. Yeah. I think it's actually one of the most popular city in Africa. Yeah.

David Bisset: Is there and how are the WordPress meetups in that area of Africa in Nigeria?

Collins Agbonghama: Oh, my team, we have the biggest community or meetup in Africa. Yeah, we do have the, I think, a yearly WordPress conference or the meetup. So, although I haven't really attended the last one. They did. I wasn't really chance, I was actually out of the city.

So I could do that then. And it's supposed to do one last year, but because of the COVID situation, that got postponed. Other than that, we do . Little meetups here and there in NIGOs in Abuja and whatever, although I have not personally really attended them, but I do see the announcements on their post on stuff like that. And now local WordPress on slack.

We do have a WordPress slack community. Actually. I think it's utterly the biggest in Africa. Yeah. So.

David Bisset: Interviewed or spoke with Mary Jo a couple of weeks ago. I'm not sure if you know her. But okay, great. Cause it's a big continent and it's a big country, but I didn't want to make any assumptions, but we were talking about wpafrica.org.

And the websites she's put up in her hopes for getting WordCamp. Africa over there some day was a very encouraging I'll share that link in the show notes for people because I, where you're from and where she's from are close enough that I think it's worthwhile to make that connection to our readers.

Thank you for being a Post Status member. What I wanted to, what I wanted to talk to you about today was you shared what you called a small win last Friday on January 7th. And before we get into that, though, can you just briefly tell me I should say a little bit about your background, but how many WordPress plugins that you.

Currently, like have in your possession or what you like, give us an idea of what your WordPress plugin developer and business scope is. So we know that going in,

Collins Agbonghama: so actually started off teaching WordPress on plug-in development on blogs, like on-site point. So to close on that invite, to. And then smashing magazine in that proceeded to digging my own WordPress and actually to solve my own problems, then accident accurate factors because I had wrote a tutorial on side point on our two DG custom log-in from then I had people, come into in comment session, stating the ones, the two out to be Tony to a plugin they could install on their WordPress site. That was our beautiful, perfect verse. And over the years I had this situation, actually use Sandy for Miami marketing as my immediate marketing software. For sure. One of the problems I encountered with it was Eastern morality wordPress posts are to good to the platform, you know, to craft the process in newsletter to central message bedbugs.

So I was not like hi by that auction mix, this whole process. Then I discovered the API has a the mentor or an end point for sending the may to a Butte, a plugin called sending of loopy. I try to Butte the plugin from start to finish in and realized I could actually extend this particular plugin to support or the email marketing platform. That was out in Optune was born too, which may love team who send

bob stone opt-in forms or lead capture forms that, you know, you put in your name you're email . And when you click on send it will synchronize to your platform, then another part of the plugin is actually for Sandy, automated newsletter. From your WordPress, as you form your WordPress sites to your email marketing subscribers, it's actually kind of similar to newsletter Bolivia.

We actually came into the market for newsletter glue and the likes that, or do we, we don't do just email automation. That can send you WordPress post stats on images. We also do lead capture. Yeah. So that's pretty much the two plug-ins and yeah. Yeah. And I think so our school beauty, a couple of adults.

During the early days of easy digital downloads, I did a couple of add-ons for them. And I think there was a time is the clothes or tech parts in plugins. And they decided to acquire one of my add-on in

David Bisset: what if your, one of your EDD plugins that you made was acquired?

Collins Agbonghama: Yeah. Yes, it was not quite that.

I think it's called license free downloads. Yeah.

David Bisset: Who acquired? Also Pippin acquired a plugin that you wrote for EDD.

Collins Agbonghama: Yeah. So they wanted all plugins to sit in their website to be unofficial. I don't know, created by them. I spoke them. And then, so they reached out to me and said, if I would be keen.

in selling the items to them to do takeover on the maintenance. And I said, yes. Yeah. Also you're smart. The option of deciding not to say to them on Austin, you're set on selling it. You're safe. Yeah. So that was that was one option, but I just paid for them to acquire it. Yeah. So I also made the plugin called nippy.

That's really sort of like an umbrella site for a couple of payment gateways. Then our selling on WooCommerce and payment gateways, like to check out stripes, paper, and the likes.But over time, actually phase out on the stripes Boone tree. And to check out because of lack of sales in living, Jocelyn WooCommerceus to check out blogging on the EDD paddle gateway plugin.

So. Two years ago. Yeah. Two years ago I sold the business to WP manage the JAG. The folks behind showing four months if you're in CRM and you are in support. So

David Bisset: you were quite busy.

Collins Agbonghama: Yeah. So currently Monday. Oh, fabulous. logging WP, which was formerly known as Peter's Login Redirect

David Bisset: yeah. So yeah, log-in WP is actually what, we're, what we're here for today.

You made like, I, like I mentioned earlier, you made a post in Post Status slack business channel on the 7th of January, and I'll read it off here. So people don't have to go hunting for it. It says you're sharing a small win. You said three years ago, I acquired Peter's login. Redirect. Now renamed log-in WP plugin.

You said for five figures and continued to maintain it for free and then four months ago. So that was three years ago now, four months ago that would put this in September ish of last year. You revamped the code and UI and launched a pro version called LA. And then you gave the URL to logic, wp.com, which we'll put in the show notes then you're.

And then you said after that app, you're happy to announce that it broke even. And now in terms of now moving forward, looking for, to profit. And you had some doubts that it might either was the right investment at the time. And then you had a couple of great responses from the post status community in terms of.

I think the biggest surprise there was that you broke even on five figures in four months. I'm looking at the log-in wp.com right now. If no one is familiar with the plugin it, the tagline is on the website. It says redirect users to different URLs after they log in, log out and register.

And it has. According to your site here, it has over 100,000 active install. So I'm assuming that's the free version. Mostly. But the plugin offers log into redirection posts for, you know, after somebody has registered developer friendly placeholders, lots of integrations with commerce easy digital downloads profile press, and the list goes on and on.

So that's why we're here in a nutshell. And that's why I wanted to talk to you because that small win. First of all, I don't think it's that small. But it is a win and it's a wind that a lot of other people love to hear stories about. Yeah. And so I wanted to just pick your brain for a few minutes here, in terms of first of all, what attracted you to acquire this plugin three years ago in the first place?

Did you think three years ago that this was going to be something that you were going to be able to eventually turn into a revenue generator? Or did you just acquire the plugin just because you needed a sidebar.

Collins Agbonghama: Actually we'll be, we've been getting requests of ideas and pro fact-based.

We get customers asking us. They want to conditionally redirect users after they login. Perhaps based on the user role or different criteria, but mostly based on the users look like we have a couple of users that using some lender, lenders as their lending management system, you know, which vendors there. Yeah. Their are teachers and their students too.

We get a lot of requests for asking if we could implement a feature that allows students to get you directed to a particular page. Then maybe the teachers get redirected to on that page, you know, based on the user

And I discovered the there's actually another plugin called Peter's Login Redirect that does exactly what I was actually going to build into WordPress. So I reach out to ??. And he was open to on our position. We agreed on the C and she probably plugged in to me. So I continue maintaining the plug-in with each time, we'll get a request for condition after logging, who will comment maybe direct.

And I think Alex had discovered community, which was even when we commented documentation or knowledge base on websites for people looking for without, so over time we started getting requests for, with devish on, based on the courses students have. Take, for example, if your students have completed or is enrolled into core state, they want to use us to be dedicated to a certain page.

And if they give me the ability to cause B once you, your user to do that, you'll be directed to another page to get us some of those feedbacks on improve plugging. Yeah. So I started off selling that in the feed function and I was actually surprised that. It was really new. I think it got quite a number of installs we got a, quite a number of SES forms, especially from the land. That's pretty much the gist of what we have. We have users using from one, our plugins that we integrate with bots, the users from negative blend that actually makes up a majority of the the customer base .

Yeah. So that's what I found.

David Bisset: Interesting too. So just to kind of summarize the story a little bit, if I understand this correctly you acquired. This was the free plugin you acquired from Peter, right? You, it was free at the time when you acquired it. So, but once you acquired it, you started because you had the free plugin, people were making requests, like feature requests or enhancement requests.

And you saw a lot of Learndash requests in there. And then is it those requests that kind of fueled what is going to go into the pro version of the plugin? That sounds like.

Collins Agbonghama: Yeah, that's correct. And also Russell got requests for redirecting back to the previous pitch, say from a user, is visiting a setting page.

Then they click on the login link in the navigation menu also. And after logging the ones, they use that to be redirected back to the pages they are on. So I'll tell you it's that into the plugin to and that has also gotten quite a number from cs too. Yeah, right? Yeah.

David Bisset: So in slack, you don't use it in slack because the learn dash thing is very interesting to me.

The strategy here just seems to be, you had a free plugin, you're getting requests about LearnDash, which you said before, you didn't really have a lot of experience. It's not like you were a big learn dash user. You knew what yeah. You don't use LearnDash, but these people using this free redirect plugins says, Hey, could you, we would love to have this functionality and this functionality specifically for these things, including learn dash a lot of learn dash.

So that was kind of one of the big. One of the big features you wanted to put into the pro plugin, right? That's what I was reading out here in slack. So when it comes to other plugin developers I think there's a lesson to be learned here. Maybe it sounds like to me that for people trying to.

Find a way sometimes building the plugin is the easiest part for a developer. I think sometimes the hardest it feel free to agree or disagree, but sometimes it's coming up with something people want to use and eventually would probably want to pay for those ideas. And people start off with like the plugin like itself, but this plugin hooks into learn dash and A lot of other integrations as well.

So it kind of kind of enhances LearnDash, it's not really a, you know, you can use it for learn dash. You don't have to, it's not as much a standalone plugin as much a like a learn dash extra plugin or, you know, for people that just want it for LearnDash. Do you think that's a good strategy for plugin developers to kind of think less or just, or give more consideration to other WordPress platforms like LearnDash or.

Whatever else too, to see what's missing. And is, do you think that's a good market to go after, like you kind of did?

Collins Agbonghama: I think like for my story, I stumbled upon the market accidentally. . Right. So if I'm to advise the plugin developer, how I advise them to actually stickly niche that has beginning of market.

The for those to run, you get, you know, quite in off season to maybe carve out your development cost or, you know, just assay probably as is site e-comm or something that was not necessarily something you want to focus on. Syntech.

David Bisset: So you, so it might be a good idea. I mean, you said you stumbled into it accidentally, but you, not everyone is, has the time or the patience or the free plugin already acquired to stumble into that accidentally.

So, what I w so if somebody is looking for a niche market and S so one of the places can you share with us, like one of the places that you got, I think you mentioned this in slack, one of the places that you got, some of your ideas from. I don't want to sh I don't want to steal your thunder, but but I do think you got with one of the places.

Collins Agbonghama: Yeah. So basically see communities, for example, your Facebook group, Facebook. Yeah. You could look around your groups.

And significant blue dodgy or if they sell their positions that solved that problem. Yeah. You could also look around where this community lack on the WordPress community and also on twitter too, to get ideas from those places. Yeah. So you look for that. Yeah. I belong to quite a number of WordPress related groups. I try to see if I can the solutions to some of that problem

yeah. Although I normally don't do that often, but back in the days I used to, you know, look at problems users are facing through DAS solutions for those particular problems and see if it will flash on. And if at the end of the day, it doesn't really get any trash on it, and move onto the next thing.

David Bisset: W, you know, that's been, that's not the first time I've heard that, but I think it has to be repeatedly reminded that look for S look for something that's repeatedly being mentioned as an itch or, well, look for something that people are complaining about and see if you can fix it.

And that doesn't require creating a new plugin. But if somebody, like you said, you were in Facebook, was it a learn dash Facebook? Yeah. Okay. So it would Lauren dash Facebook group, for example, you see what people are either complaining about, or they keep asking the same questions over and over again, obviously LearnDash is probably looking at that too, but because you're, I'm guessing because you're a smaller, faster developer that you can create that kind of integration with the plugin that you have.

I think that's pretty smart. You said also not just Facebook boob groups, but Twitter and Reddit where your other places you were looking, but you, I should say Browns.

Collins Agbonghama: Yeah. Yeah. So, I normally do community like Facebook group. Ready time to that in the evenings before I'm also at night before I go to bed, just to see what people are talking about. You know, was it the news over. Was actually happening in the community. And also I belong to because of belonging to the marketing software, Facebook group stream, and just look around and see what people are talking about. Yeah. So that physically. I get most of my exits

David Bisset: That's fantastic. And I think you kind of have to go with where the regular users go. Oftentimes I think a lot of developers kind of, I don't know, I think maybe they're looking in the too high up in terms of what problems to solve sometimes, you know, like these like monstrous integrations and sometimes it's the simple itches other.

Watch what the developers to scratch. I'm just going, I'm just simply, still amazed at that again in about a, what was it? You broke even on this plugin five figures and four months. And just for those who are going to look at the site later, I'll spoil it for you. There is a simple, log-in WPS simple pricing.

It looks like it's per site and it's $49 standard for one year, one license for one site. And the agency has unlimited sites for $99 per year. I'm just bringing these prices because these prices are actually very reasonable for like a particular plugin. So that in itself, if you've already made, if you've already broke, even in four months, And we're not talking, it's not like this plugin costs like a million dollars per purchase and that's oh yeah.

It's easy to make up money in four months. So you must be getting, and you don't have to reveal numbers here, but you must be getting some great you must be getting a lot of traction to be able to do it in that, that quickly. How do you advertise, how did you advertise the pro version of log-in WP?

Did you use the free plugin for that? Or did you go back to these Facebook groups and what I mean. What was your general marketing plan? Once you figured out these people, once you figured out this solution you made was going to be good for these people.

Collins Agbonghama: So what I did was after bloody probation I anchored in to the???

That's been emotional ID. Then I also created a website for the product. And wrote a few documentation and actually started doing a little bit of content marketing, although that hasn't really brought seizing yet, yet, but majority of the, sales or marketing, although we see that from the free version. Yeah.

David Bisset: What do you think about the WordPress?

Plugin ecosystem today. I mean, you just like everyone else sees acquisitions by large companies. Large companies hosting companies are they're large companies. They take these big plugins, but they also take small developers to sometimes some developers have talked about. You know, there, there are these large companies putting lots of money and people toward these plugins and they feel like maybe their opportunities are reduced greatly because now, you know, five years ago, seven years ago, a lot of people were still small.

A lot of developers are small shops. And now if you decided to make a certain plugin, for example, That happens to be similar to a large, you know, plugin that's made by a larger company. That's a tough nut to crack. As I like to say, do you think there's still room in the WordPress plugin ecosystem for developers to have the kind of success that you said you accidentally fell into it?

So I'm going to use your words, but do you think developers can still have these happy accidents in the space.

Collins Agbonghama: I'll be honest. Backing it is when you creative, a WordPress Plugin. Publishing to any one place repository and maybe sit out almost other stuff. Most many times, oftentimes the plugin will grow organically and you've already gotten up to 1000 or thousands of installation activities so that our child, but I told him the same, like before actually we really very hard to grow and stand out from the crowd. Yeah. So now these, you actually really need to have it big marketing budget. Yeah. Content marketing. Yeah. And also promote promoting the plugin.

And also if you breed it, plugin actually takes, I think our months for you to go from so. 500 active installation or a thousand active installation, unless maybe he gets people back. Some of the major WordPress, Blockstack, maybe WPTarvern, Post Status and the likes. Trying to grow in new plugin, actually be very difficult, have seen a lot of in about plugging out to struggle with it.

Typical example is actually the guy that, so that owns home Slice WP. Yeah, then also on a couple of other plugins plugging or touching it. So it's really very difficult, but so that's actually the states or the secretion of tips. When you work for some plugging markets, do you just need to have money to spend on marketing and even spending it on marketing and trying to trying to promote.

Many times max, even months need any results. So it's really incredibly to be the new WordPress plugin.

David Bisset: Do you think that you would have had the same kind of success if you started fresh or do you think you had to acquire Peter's log-in redirect plugin because it already was in the plugin repo.

Collins Agbonghama: There is a number of plugins that does exactly what we were doing. Logging of loopy in the WordPress plugin repository, but many times if you search for, let's see you might not even see them in the first week because yeah, they're hating, we built down the paging. WordPress Search results. So it's, I really don't, it's actually very difficult.

Yeah. So that actually this decision of if you a new WordPress program, I'm not sure I would have had the same level of success. Yeah. Which I'm acquiring a new plugin. It's our basically was piggybacking on the already existing user base on trying to upset the probation. If I didn't acquire the plugin, I'm not sure I would have liked to seen such a success at all. So that's why they decided reality.

David Bisset: Yeah. Sad reality because yeah, it's very hard to get brand new plugin to have traction now in the WordPress plugin system. So a lot of strategies I've seen, not just yours. I have been to acquire a plugin that has a lot of installations. And also you also mentioned there was something very interesting was the plugin search, which I, that's not the first time I've heard that either. Where if you happen to rank high in a particular search word, for whatever reason you obviously tend to get more attention. So it's almost. There is an algorithm in the WordPress plugin, repo for searches that you enter. That's been, it's kind of being watched by a lot of people.

We, you know, the secret sauce that algorithm is only held by very relatively few people. So, to obviously not gain the system but yeah, if you appear at the top, for some reason, when someone types in a good keyword, they're more than likely to check out your plugin and then they're more than likely to install it.

And. More than likely to see your pro integrations and then upgrade. So that makes perfect sense. I

Collins Agbonghama: okay. I have a suggestion for the WordPress plugin repo.

It should be really absolutely days if they go, they could add on like a filter for popular plugins, new plugins. Yeah. That would allow for a lot of now plugins to get more visibility .

David Bisset: Yeah, they do have a featured plugins area on their homepage, but that featured plugins is I think cherry picked because right now it's classic editor, it's kismet jet pack and classic widgets. I mean, it's all automatic. Or similar really related stuff.

Collins Agbonghama: I would love the filter to be in the section. Lets say you are looking for a SEO plugin. After tapping in the ASU, in the search post, the results you'll get less. The feedback will be, less see, on the side bar. Well, this century is what's really cool. You know, sits out, back, open up plugins that new plugins. That will be really excellent.

David Bisset: Well, I know some people are probably getting this information, you know, I'm putting it into their spreadsheets.

I know that they're there. And I would like to, as you like to see that information come out in the public. And not keep it to some selves. Maybe we'll see that maybe assumed, but I agree with you what I wanted to tell people about, because I haven't heard you give a lot of interviews. I at least maybe I missed all these wonderful interviews you've given, because this is the first time I've heard your voice.

I do, however, have read your, this is your first one. Oh God man. I'm so sorry. I should not have been your first podcast. I re yeah. Believe me. Anybody who talks to you in the future. We'll is much, much better. I thought you did the WP minute, but we'll get to that in a second. I do want to point people though, when they're, when they finish listening to you want to learn more about you, you did an excellent hero press essay.

I'm not sure when it was this thing does not have a date on it, but it looks like it was probably early 2019. I'm guessing by the comments. You did w I'm going to put it in the show notes for this podcast. It's called WordPress saved my life. And I think if people want to learn more about your history with the net and with the web and then WordPress and in particular, I mean, you directly said in the post WordPress saved my life.

Apparently you were able to make enough revenue to live pretty comfortably in Nigeria things. Plugin works and your premium plugin profile press and all of that. So I encourage people if you like listening to Collins, first of all, ping him and post out of slack or on Twitter and tell him he should be doing more interviews because he's a smart man, but then also read the hero press as well to get some background on it.

One thing I did want to ask you about though, before time runs out for both of us For your w three w three guy handle. Is that, what, how did you come up with that? This isn't the last question. I'm just curious.

Collins Agbonghama: Oh, okay. Oh, and back in the days while I was trying to learn web development, actually, learned, a lot of.

What I know, like HTML CSS from w three schools. Yeah. So we replace the schools with guys who have been using that that's been running for so long.

David Bisset: Yeah. It makes sense. Yeah. It makes sense. Then when you said w three schools, I'm like, oh yeah, of course. I remember w three schools. They're still around.

Yeah. But I remember early days when I was learning stuff like you, I would Google something and w three schools was notoriously, always the top. Ranks in Google and that caused some controversy in terms of they were, I don't know if they were gaming the system or whatever, but it, nevertheless, it didn't matter.

It didn't matter to me the information was there. And at the time it was really good. Was that in stack overflow for me were the two things that got me going way, way back. Yeah. So that's cool. The other link I do want to send you, I do want to ask you real quick about this. So we did mention, we did, I just mentioned now talked about profiles.

And I'm going to blink in the show notes here, and it was something that happened. Let's see. It's hasn't, it's like mid last year. All of that, and I'm not, I don't want to go into the story of the background. First of all, the link I'm going to share the WP minute article is going to ha is going to explain it.

It's sharing an interview with you and Matt, and we kind of covered it in post status as well, but there was some confusion in the community when you acquire this was another acquisition, correct. And then he made some changes to the. That didn't sit well with some people that didn't sit well with some people.

And I know that must've been a difficult it couldn't have been an easy experience to have that kind of feedback come at you especially since a lot of people probably didn't know you. I didn't know you honestly. And that's kind of the reason why I wanted. I always like to talk to people eventually that I, that are doing things in the community because you don't want to be the F you don't want to hear the first thing someone is doing, not knowing them.

And then you hear about this and then you don't know anything about them. So what do humans typically do? They typically think, oh, they just assume soon bad intentions. Right? And I know you didn't have any bad intentions, but now that we have a year. Almost a year has passed since then. And you've, you're continuing to update the plugin, I think.

Right? Yeah. Yeah. What would, what were the lessons that you would feel you took away from that experience and what could plugin developers potentially learn? What knowledge can you bestow going through that particular learning, learning experience with the profile press. Yeah.

Collins Agbonghama: So I would like to put it out there that there isn't acquire the WP user avatar plugin, or basically the cost we've.

We genuinely, were requests for to create a feature that allows them to let start user upload custom profile data. And also for them to. You know, yeah. Basically to have a custom. user profile. So wanted to be the future into posts. Then I discovered there was a plugin that actually does that. And even more, it has incubation with job boards and stuff like that.

So, similar to what I did similar to map which w login VP pushed the auto and was willing to. To say the plugin on. Then I acquire the plugin. Then I revamped the plugin as I, or I rebranded the plugin as four factors. I really didn't know.

Oh, I did not remove any feature from the plugin. Yeah. What, in hindsight, I change most of the complaints or reports that I took. You release a simple plugin on, I needed to do really very complex plugin for that. I really apologize. I never really thought it was going to. So, you know, John's going to this situation will be that messy, but I think it's being over six months of sooner and at the heat of the moment, our, the peak of the situation we had we had the issue of the plugging drops from four point five to

Yeah.to eight point two, one or 1.5 on stock. Yeah. But over time, we'll start fixing many of the bugs then, you know, trying to do add back the bow. I use that time .We've gradually improve the review on about rating on the plugin from 1.5 to three. And we've continually I more on features that we get a lot of feature requests on with listened to many of those teacher requests and really to the plugin, you could check the plugin and see some of the recent reviews of cost of users.

So many of them, you didn't know what actual account that's done. Division-wide many users were really very upset. Yeah. For that. I really apologize.

David Bisset: These things happen, especially since things move so quickly in the WordPress ecosystem and plus, so plus once something catches on Twitter, sometimes it explodes. Yeah.

Collins Agbonghama: I actually wanted to revert, but I told you want to do with artistic changes, but I spoke to a couple of friends and the advice, some advice there, you know, regard to that. In the heat of the more mental in that particular, during that time we had some genuine customer messaging telling us or us seeing more features to be included like adding a payment feature on improving on the member direction and stuff like that. So we already have people that have already upgraded and loved the plugins.

And so trying to revert back to 10 to really, you know, make the situation even more messier. So I'd said to, you know, live it contentfully, there was another plugin or two that for the old plugin on. So people that were disappointed or that didn't love the change, this most of the, actually the name of the plugin is one user avatar.

We'll talk about actually using any customization or actually losing any features in some, the old plugged into that was actually the plugin actually act a light immigration deck for all disciplines. Yeah. So I think that actually is the situation.

David Bisset: Yeah. And I understand here, and I'll just read the quote here from the WP minute here.

It says to, to kind of wrap things up on this, it says, because I think your situation, it, a lot of times people feel alone in some of the challenges that they face dealing with. Plug-ins especially if you work remotely. And especially, I'll be honest with you. I mean, you being in Africa, I wouldn't be surprised if you if someone working in Africa versus someone working.

New York New York. There's a lot of people they're writing plugins and writing software and so forth. And maybe in certain places in another country somewhere there, there isn't many. I mean, sometimes you feel a physical presence sometimes, you know, It does add to being lonely or being left out, or at least it looks that way on Twitter or something.

You know, it looks like, you know, you have all these or these comments or coming in the ratings and all that on wordpress.org, but you did make a good point here. And I just wanted to repeat what you said on the WP minute Lincoln. Of course, we'll include this in the show. Moats show notes. And you said maintaining free plugins.

Unpaid labor. And it's very demanding. You get droves of users demanding help, and then even if you do help them, you can get criticized for doing so. And as soon as you offer a paid version to help offset the cost of development and maintenance for the free version you get criticized. And that's true.

That's you're only as good as your last job and you own what's the expression I'm looking for. I'll think of this in a second. Cause I'm going to have to edit this part cause like, only, oh good things do not. Oh, good things. Don't go on punished. Is sometimes an expression that I use, so you're trying to do good, but sometimes people are just nasty regardless if you give them something for free or not, but I really appreciated the.

The story that you left in post status slack. I really appreciated it because it, the more developers share their stories, especially in places like post-data slack, which I believe is a great environment, especially in the business area to act and to actually share those wins. Because if you don't share those wins Collins, then especially, you know, some people like if I were you and I had this thing that happened to me last year, and I had a little egg on my face.

There I keep using the expressions that I don't know if I was a little embarrassed if I was a little embarrassed by something that that happened to me that I did that happened to me just by chance. I'm not sure if I would be so brave to stick my head out in a community, but fortunately you, you are, and post status is a great place for that and that this win about log-in WP about making a financial.

Success in terms of just breaking even and show in such a short period of time is fascinating. And I can't wait to share this win with the WordPress community where we'll make a mention of it in a newsletter. And whenever people hear this podcast I, this is your first one. I'm glad it's in this positive light because these plugin developers a lot of.

Are still unclear about where to find their ideas and using you as inspiration, I think is a really good thing they should be doing so kudos to you. And yeah. And I'm going to say you're brave too, because you decided to talk with me and I didn't I'm you and for your first podcast, and if you knew me at all, you probably would not have picked me as your first person to talk to you on a podcast, but.

I would like to have you back on though, maybe sometime later this year to talk more about some of the things that Mary and I were talking about, like, the WordPress community in Africa and how people are making such strides over there, what you have seen because you're physically there firsthand to see some of these things.

And I think it's important for the entire global community to be, to know each other better and to know what's going on and not be focused. Other places in the world. But thank you very much for speaking with me. Is there, what are the best places for people to follow your work on your comments on the web?

Collins Agbonghama: I'm actually I'm actually active on twitter @w3guy then on Facebook or my Facebook.

David Bisset: that's okay. Yeah. I'm not going to pry into your Facebook life. I really don't.

Collins Agbonghama: And I also own also on the best non [email protected]. And you're going to share down there my blog. Yeah.

David Bisset: Yeah. You're going to share that in the, and I'll put it in the show notes as well. Great.

David Bisset: Thank you very much for your insight. Really appreciate it. And I'm going to look forward to seeing more of your small wins.

by David Bisset at February 03, 2022 06:22 PM under The Excerpt

WPTavern: German Court Fines Website Owner for Violating the GDPR by Using Google-Hosted Fonts

In late January, a Munich regional court ruled that a plaintiff was entitled to injunctive relief and damages of 100 € from an undisclosed website owner for passing on the visitor’s IP address to Google through the use of Google Fonts.

Since it is possible to use the fonts without connecting to Google, the court deemed this a violation of Europe’s GDPR (General Data Protection Regulation) because Google Fonts exposes the visitor’s IP address:

The defendant violated the plaintiff’s right to informational self-determination by forwarding the dynamic IP address to Google when the plaintiff accessed the defendant’s website.7

The automatic transmission of the IP address by the defendant to Google was an inadmissible encroachment on the plaintiff’s general personality rights under data protection law, since the plaintiff in this encroachment was undisputedly not in accordance with Section 13 (2) TMG old version, Art. 6 (1) a ) GDPR has consented.

Google Fonts FAQ discloses the data collection under a section about user privacy and states that it caches responses to minimize requests and serve the fonts faster. It does not specify exactly what data is collected but seems to imply that the information it collects is necessary to serve the fonts:

The Google Fonts API is designed to limit the collection, storage, and use of end-user data to only what is needed to serve fonts efficiently.

The German court’s ruling threatens a fine of €250,000.00 for each case of infringement or, alternatively, six months imprisonment, if the site owner does not comply and continues to provide Google with IP addresses through their use of Google Fonts.

More than 50 million websites use the Google Fonts API. Many site owners may not even know they are using them.

In consideration of those who may be subject to European courts, WordPress plugins and themes that use Google Fonts should offer a user-friendly option to self-host the fonts. If you want to continue using Google Fonts in a more privacy respecting way, there are many tutorials for self-hosting the fonts instead.

by Sarah Gooding at February 03, 2022 05:34 AM under google fonts

WPTavern: Gutenberg 12.5 Introduces Global Styles Variations, Preserves Adjacent Button Styling, and Adds Alpha Transparency to Color Pickers

Gutenberg 12.5 landed in the WordPress plugin directory earlier today. I have already been excited about at least one new enhancement, global styles variations. However, this is a beefy update with several developer and user-centric features.

With WordPress 5.9 now out into the wild, it looks like all hands are back on deck as we gear up for 6.0’s release in May. Last week, I covered the early roadmap, and some of the items from that list are already in this latest Gutenberg update in some shape or fashion.

Global Styles Variations

Switching between theme style variations.

Theme authors can now create multiple theme.json variations and place them into their theme’s /styles folder. Then, users can switch between the various presets to something that suits them best.

The new feature promises to be one of the highlights of the WordPress 6.0 release, and the default Twenty Twenty-Two theme will eventually ship multiple variations of its own.

I dove into the feature in more detail in a post last week. Gutenberg project lead Matías Ventura expanded on this in the comments:

Getting this early in the cycle so we can iron out the experience and mechanics. I expect it to be really good in a few iterations. I’m particularly looking forward to breach the theme-bundle wall, since all these variations are inherently compatible with every block theme out there!

While I share Ventura’s enthusiasm about the feature, I am not sure we can break the theme barrier with 6.0. The idea here is that such variations would be interchangeable between themes. I do not see that happening, given the current state of the global styles system.

Most of theme.json is standardized, but many authors use the settings.custom property. This allows them to set any number of custom values, which are often referenced via the theme stylesheet.

There is also that little problem of not having a standard naming scheme for features like colors and typography.

Because neither of these things will always be the same between any two themes, switching variations will not always be pretty. It is a lofty goal, and perhaps it is worth attempting to see what is possible. However, the concept feels like the pursuit of dropping the theme system altogether for one giant cookie-cutter default.

Variation-switching is best left to individual themes. Allow theme authors who build their custom systems on top of theme.json to manage the user experience and expectations. We should focus on building tools to help them execute their vision while not worrying about a user “installing” their JSON variation inside a wholly different project.

New Buttons Preserve Adjacent Button Styling

New Button block’s style matches the previous.

WordPress makes it relatively easy to duplicate a Button, but it is hidden away under the options drop-down in the toolbar. That is a two-click action compared to simply hitting the “+” icon to insert a new Button block. Before Gutenberg 12.5, this would result in the new one getting the default style treatment. It is one of those minor annoyances until you start working with several buttons at once.

The latest release automatically duplicates the adjacent Button block’s style when inserting the next one. This is a far better experience.

However, it does not take us as far as we need to go. What happens if you decide to change the design for every Button later? You have a lot of work ahead of you modifying each one. There is an open ticket to copy one style to all others in the Buttons block group.

Users Can Add Transparent Colors

Transparent color lets background show through.

Users can finally control the alpha transparency of custom colors at the block level. The feature works for text, background, link, and border color options. This enhancement closes a ticket first opened in October 2019.

There are some color pickers where it is not enabled. This includes the custom palette section in the global styles panel and icon-related colors for the Social Links block. The same is true for the Cover block overlay color, but it has a separate opacity control altogether.

Post Featured Image Size Option

Cropped and equal-sized featured images in a Query Loop block.

Gutenberg 12.5 introduces a new option that allows setting the Post Featured Image block to use a WordPress or theme-defined image size. It seems like a trivial change, but it is a hop forward for block theming.

Theme authors have been filtering the post_thumbnail_size hook to handle this. However, that method gets complicated when dealing with multiple post queries with varying image sizes.

I have only been mentioning this for going on a year. I have written about it over and over and over, trying to get anyone to listen. If we want more designers hopping aboard the block-based theme development train, they need control over featured images. Far too many layouts rely on specific sizing to look their best.

Now, if we could only use the featured image inside of Cover and Media & Text blocks…

Copy All Site Editor Content

Copying all content from the site editor.

Today I learned that there is a “Copy all content” button in the post editor’s options menu. I do not know how long it has been there, but that is kind of neat. I have been needlessly trying to select all content — sometimes with a measure of success — via the content canvas. Even those of us who spend nearly every waking hour in the editor can learn a new trick once in a while.

That copy-content option has now been added to the site editor as part of an initiative to bring feature parity between the two editors.

Code View in the Site Editor

Opening the code editor.

Continuing with feature parity between the post and site editors, users can now switch to the code view in the site editor.

Technically, this is called the “code editor,” but there be dragons ahead for anyone who attempts to edit anything. At least if they expect anything other than the dreaded “this block contains unexpected or invalid content” message. I would sail into calmer waters and avoid it for anything other than reading or copying.

by Justin Tadlock at February 03, 2022 01:24 AM under gutenberg

February 02, 2022

Post Status: This Week at WordPress.org (January 31, 2022)

Each week we are highlighting the news from WordPress.org that you don't want to miss. If you or your company create products or services that use WordPress, we've got the news you need to know. Be sure to share this resource with your product and project managers.

News

Post Status

You — and your whole team can Join Post Status too!

Build your network. Learn with others. Find your next job — or your next hire. Read the Post Status newsletter. ✉ Listen to podcasts. 🎙 Follow @Post_Status. 🐦

by Courtney Robertson at February 02, 2022 04:19 PM under WordPress Core

WPTavern: #12 – Amber Hinds on Why Accessibility Matters

About this episode.

On the podcast today we have Amber Hinds.

She works at Equalize Digital, and became interested in online accessibility when she was given the job of creating a website for a public university. Given that the site was funded with public money, the finished site needed to be built with accessibility in mind.

Since then Amber has been learning about accessibility, and educating others in how to build accessible websites through projects like the WordPress Accessibility Meetup.

Today we talk about what online accessibility means, and how it ought to influence any website build.

We consider the situations people who need an accessible website might find themselves in. What are they experiencing as they browse the web and what tools are they using?

Is there a legal / moral responsibility to build accessible websites, and is it enough to have a website which is partially accessible?

What tools can you use to help in this endeavour, and what tools you might want to avoid?

WordPress Accessibility Meetup

Amber’s Accessibility Checker

Web Accessibility Laws & Policies

WAVE Web Accessibility Evaluation Tool

axe Accessibility Testing Tool

NV Access

Siteimprove

Monsido

Pope Tech

Overlay Fact Sheet

Overlay False Claims

IAAP (International Association of Accessibility Professionals)

Web Content Accessibility Guidelines (WCAG) 2.1

WebAIM

Transcript

[00:00:00] Nathan Wrigley: Welcome to the 12th 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, the blocks, and in this case, the need for accessible websites.

If you’ve listened to the podcast last week, you’d have heard me say that we’re going to move to a weekly schedule from now on. This means that there’ll be lots more podcast episodes, and I would encourage you to subscribe to the podcast, so that you can get all of those episodes automatically each and every week. You can do that by searching for WP Tavern in your podcast player of choice, or by going to WP Tavern.com forward slash feed forward slash podcast.

And you can also copy that URL into most podcasts. With so many more episodes, I’d really like to hear from anyone out there who wants to come on the podcast and talk about whatever it is that you do with WordPress. It might be that you’re a developer, a WordCamp organizer, a contributor, a designer. Honestly, if it’s about WordPress, I’m keen to hear from you and hopefully get you on the show. Head over to WP Tavern.com forward slash contact forward slash jukebox and use the contact form.

Okay. So on the podcast today, we have Amber Hinds. She works at Equalize Digital and became interested in online accessibility when she was given the job of creating a website for a public university, given that the site was funded with public money, it needed to be built with accessibility in mind.

Since then Amber has been learning all about accessibility and educating others in how to build accessible websites through projects like the WordPress accessibility meet up. Today, we talk about what online accessibility means and how it ought to influence the websites that we build. We consider the situations, people who need accessible websites find themselves in .What are they experiencing as they browse the web, and what tools are they using? Is there a legal or moral responsibility here to build accessible websites? And is it enough to have a website which is partially accessible? What tools can you use to help in this endeavor? And what tools might you want to avoid?

If you’re interested in finding out more, you can find all the links in the show notes by heading over to WP Tavern.com forward slash podcast and search for episode number 12. And so without further delay, I bring you Amber Hinds.

I am joined on the podcast today by Amber Hinds. Hello Amber.

[00:03:17] Amber Hinds: Hi, Nathan. How are you?

[00:03:18] Nathan Wrigley: I’m very good. Thank you for joining us today on the podcast. Really appreciate it. We’re going to have a discussion today around the subject of accessibility. Accessibility seems to be a word which is cropping up more and more probably for very good reason, but it occurs to me, Amber, that it may well be the case that a lot of us either don’t have a clear picture of what web site accessibility is or we’ve got just a vague idea of what we’re trying to achieve when we want websites to be accessible. So the question is very broad. What is website accessiblity?

[00:03:55] Amber Hinds: Yeah. So the short answer to what website accessibility is, is it is a practice of making sure websites will work for everyone. People of all abilities. So we’re not all accessing the internet in the same way using the same devices, or even able to observe things in the same way with our senses. So some people for example, are blind or visually impaired.

Some people are hard of hearing. Some people can see in here perfectly well, but they have mobility limitations that make it challenging for them to use a mouse or a keyboard. And so they have to engage with the internet and websites in a different sort of way. And website accessibility is really about ensuring that websites can work for all people and not just those who are typically abled.

[00:04:46] Nathan Wrigley: Thank you. It’s so it’s a very broad definition. There isn’t one specific definition. There’s a whole multitude of different things that come under the umbrella. I wanted to ask that question first. Typically I ask people about themselves and what their relationship is with WordPress at the beginning, but I thought it would be curious to get that first, because then that would lead me on to that question. Could you just tell us how it is that we’ve got you on the podcast today? You know, in other words, tell us a little bit about how you’ve come to take accessibility seriously. What have you done in the recent past that makes you interested in this?

[00:05:21] Amber Hinds: Sure. So I am the CEO of a company called Equalize Digital. We’re a certified B corporation, which is, if you’re not familiar with that, a process that we went through with an external body to have all of our business practices reviewed and to show that we, while we are a for-profit company, we’re doing more to try and benefit the community and world and our employees than the typical business, and we’re not just trying to line the owner’s pockets, if you will. And our focus really is on website accessibility. I got into it, really became aware of it in 2016. When I started working with a university here in the United States, Colorado State University. All universities and publicly funded institutions in the U S are required to have websites that meet certain accessibility standards under the web content accessibility guidelines.

There are laws requiring that. And so I got thrown into it a little bit, which was building a website for the university and it had to be accessible in order for us to launch it. And so initially it was a little bit of checking boxes, but as I started to learn more about it, and research it and then we’ve gotten to the point now where we have user testers, so people with disabilities who come in and we pay them to test websites for our clients or for us before we launched them, and really having had the ability to talk to them firsthand, watch them navigate the web and hear in their voices some of the challenges that they experienced led to the passion that I’ve had for trying to make it work for everyone. And so that’s what brought me to accessibility.

[00:07:02] Nathan Wrigley: Thank you, that’s really interesting. When we talk about accessibility, it occurs to me that very often we’re talking about things which on a typical website might be missing. We failed to do something because we’ve failed to have the understanding that something needs to be done.

Now, forgive me and hopefully anybody listening to this, there are going to be bits in this podcast where probably I misstep and say something, which is not exactly correct, and I probably should have done my research a little bit better, but I would like to, I would like you to describe some of the scenarios, you mentioned just now that you have people who you get user testing done with. For the benefit of the audience, could you describe some of the things which those people are experiencing? So in other words, when I go to a website, I switched on a computer. I sit down. I use a mouse, I use a keyboard. I may very well use my finger if it’s on my phone. But I am looking through my own eyes and I’m consuming everything, either through my ears or through my eyes, basically. And that’s the way that I interact with the web. Now it occurs to me that in the scenarios that we’re going to be discussing today, much of that is not the case. So could you describe some of the different ways that people experience the web as they browse it?

[00:08:21] Amber Hinds: Yeah, the one that most commonly people think about when they think about website accessibility is people who are blind or very low vision. And those users, if they’re on the spectrum of just being low vision, they might still be able to see, but they might be zoomed in with their browser. So they might have it set where they’re always viewing a website at say 200%. Or if they have no vision at all, or very little vision then they may be using something called a screen reader, which basically reads out all of the content on the website to them, and it has different sorts of shortcuts that allow them to sort of try to skim in the same way that we would want to skim the content. You know, when you visit a website, you don’t read it word for word on every page. So there are features built into screen readers that help them jump around through the content so that it can be read aloud to them. Other things that is commonly thought of is people who can not hear. And in that instance, we want to see captions or transcripts provided for podcasts or video content.

But a thing that I think a lot of people don’t think about is colorblindness. Colorblindness is very prevalent. And if you have certain color palettes going on, or if you’re describing things by color The green dot means your microphone is on and the red dot means your microphone is off. If I can’t tell the difference between red and green, how do I know if my microphone is on or off? So that’s actually very common, but there’s also situations where I mentioned earlier, people who have mobility issues. There may be people that don’t have use of any of their limbs or very little use.

And so they might use eye tracking to move around. They might use a voice controller where they’re speaking and telling their computer or their phone to go to a certain element on a website. And if the actual HTML code behind it doesn’t match what they expect it to match or see, then the computer won’t be able to go where they’re telling it to go.

There’s also alternative keyboards and devices. So a good example of that is the Darcy USB keyboard, which is a morse code keyboard. So that allows people who may be only have use of one or two fingers to tap out in morse code and use that to interact with the web. So there’s really a very broad range of ways that people can engage with the web and, accessibility really impacts everyone. So there are people that we might obviously think of as identifying themselves as disabled. And there’s a lot of people who don’t identify as disabled, but who benefit from accessibility features. With my corrective lenses on I’m typically sighted, but I have been on websites on my phone outside where the color contrast is so poor that I can’t see it on a sunny day, and so that’s really something that I think a lot of people don’t realize is that accessibility features can help everyone.

[00:11:15] Nathan Wrigley: It’s really curious the sort of range and the depth there, it illustrates the spectrum of different things that we’re dealing with, and it does illustrate to me at least that when we talk about accessibility, we are definitely not talking about one thing. So we’ll try to tackle that in a minute.

But I was thinking to myself, as you were speaking in the physical world, a lot of this stuff has been mandated by law. So for example, if I was to go to a school or a shop in my local environment, it’s mandatory for the doors to be of a certain size and width and for there to be alternative arrangements to get people over steps and up ramps and things like that. So it’s been taken care of over many, many years because those things were identified and put into law. Now, especially in the year 2022, it feels like more and more things are going online, so take as an example, e-commerce it would be illegal, I think, in my country for a shop to have impediments in it, which would make unaccessible to everybody, but if they have their website online, in a sense, you’re trying to create the same shopping experience. You can see all of the products and examine them and get descriptions of them, and so on. The law hasn’t been able to catch up, and I’m curious about the law. I don’t really know what the position is. Is there a legal responsibility in the majority of countries, only a proportion of countries for things to be done in a certain way? Or are we just working on a kind of moral responsibility where this would be a desired outcome to have websites accessible, but it’s not mandated by law. What’s your thoughts on that?

[00:12:55] Amber Hinds: So the W3C has a page on it that is helpful if you’re trying to get a feel for laws worldwide. It hasn’t been updated for a while, I can’t remember how out of date it is. I know that there’s a stated goal that they’re going to try and update that sometime early in this year. But as far as, and I’ll say this I’m not a lawyer, or a solicitor, depending on where you are in the world. I have listened to a lot of them speak about it, and I feel like I have, comfortable understanding, but I’m not a legal professional. My understanding is though that there are at least 20 countries that have website accessibility laws that mandate websites have to be accessible.

The EU also does, so that would cover a lot of member countries in EU, and so there are in some places, laws that require it. Now, sometimes those laws don’t touch the private sector. They only touch the public sector Like here in the United States, there are laws that are specific for, as I mentioned, federally funded agencies or organizations that receive federal grants, which could be schools and universities, could be non-profits. Now we also are increasingly seeing here in the United States that there are laws that are being tried in the courts under the Americans with disabilities act against public businesses. And I think last year it was almost like 78% of those businesses were e-commerce stores.

So that’s really where people are coming in and law firms are coming in and suing businesses because their websites were not accessible. And in most cases they are winning or settlement is being made where the organization agrees to make their website accessible and they pay. So they not only have to pay for the improved development or content creation on that website, but they’re also paying a settlement to the plaintiff in the case

In Canada the strongest laws are actually more on the province level. So Ontario has a very strong website accessibility law. As of January of this year, all organizations that have more than, I believe it’s 25 employees, have to file an annual report with the government of Ontario, stating what the accessibility status of their website is annually. And if they have more than 50 employees, the fines could be as high as a hundred thousand Canadian dollars per half day that their website is inaccessible. So there can be some very large fines. My understanding from talking to people in Canada is it’s only just starting to be enforced. There’s not a huge amount of let’s say government officials going around checking websites of businesses in Canada and sending them fines, right. But they are working towards that. So it’s a shift that’s really been happening, I think especially we’re seeing it accelerate in the last three or four years.

[00:15:47] Nathan Wrigley: It’s obviously becoming much more important. It brings to mind some further questions about this and you may not have the answers, I don’t know. But, it’s a global marketplace. It could easily be that you or I would build a website for somebody in an entirely different jurisdiction. For example, I, in the UK could build something for somebody in Canada. And I wonder whose law may apply in that case? As I’m the person that’s taken on the responsibility of building all the things. Do you know if it’s incumbent upon me to work, in this case, with Canadian law or UK law?

[00:16:26] Amber Hinds: So I kind of tend to think that it’s going to move in the direction that privacy laws are going. Which is that, if they can prove nexus, which means you have some sort of business operations in an area, then you have to follow the laws in that particular area. This is something that we’re seeing here in the United States with the majority of the lawsuits are happening in the State of California, but, the businesses aren’t all located in California, but if they have an employee in California, they have a store in California, they store goods in California, they have a warehouse there, or they ship a vast majority or they run, let’s say paid Google ads in the State of California, well now they’ve established that they do a significant amount of business there, and so they have to meet the stricter website, there’s a state accessibility law called the Unruh Civil Rights Act. And so a lot of businesses that aren’t California businesses, because they do a certain amount of sales there or something else are falling under that law. And I think we see the same thing, with discussions around the GDPR laws and privacy, which is, I’m a small business in the United States. I don’t advertise in the EU. I don’t do a lot of sales there. I don’t have employees there. It’s unlikely I really have to worry about GDPR, but if I started really doing a shift in that direction then I would need to worry about that. And so I think really from a business standpoint or a developer standpoint, you really want to think about where is the business engaging with its customers and whether or not their headquarters or their main office is there. And then those laws might apply.

[00:18:09] Nathan Wrigley: Yes, the point that you made earlier, I think we’ll come back, and we’ll reiterate it, the point being, if you are concerned about this, the law side of things is of concern, I think you should probably seek counsel from somebody who is in fact an expert in these areas and can give you the correct advice at the time of you publishing those things.

Just as an aside, and it’s a curious thing I dont know if this is the case. I’ve heard of things in the past where lawyers, forgive me if you’re a lawyer, this doesn’t come across the way it sounds, but where lawyers have gone chasing things which they know are going to be profitable for them, shall we say. In other words, they go and seek cases where person being accused is on the wrong side of the law, and they go and discover that fault. Do you see that happening much in this space? In other words, is the enforcement of law and lawyers in particular, are they going out finding these problems? Do we need to worry about this?

[00:19:05] Amber Hinds: In the United States, and I’ll say I’m not familiar with this in any other countries in the world, but in the United States, there’s a couple of organizations, usable net. They put out twice a year, sort of the status of lawsuits. And one of the really interesting things that they track is the number of law firms. So last year there were slightly over 4,000 lawsuits that were filed and the vast majority of them came out of six law firms. I’ll also say that when we were doing some research to make sure that we were paying our testers, I was looking at other accessibility testing job boards, just to make sure, are our hourly rates in line with others. And I came across. A tester job that was posted by a law firm, and it was very clear by reading it that they were seeking a blind individual to test websites for them, and then come on as a plaintiff, on websites that didn’t meet standards or weren’t usable. Which is definitely, I would say shady, and I think to some degree, that’s where, people have some major complaints about this because it feels a little bit like sharks out there, circling, trying to ask things of business that maybe aren’t realistic, in some cases, if they’re very small businesses. But the other side of that is that at least here in the United States, part of how we motivate laws to be made, or we legislate laws is by enacting things in the court. And right now there are enough cases happening that it might get to a point, and there is actually a bill up for consideration at our federal government level, that would say when can these lawsuits happen and what requirements are there of businesses? So what’s hard in the United States is people are guessing that the ADA applies to websites, but we don’t have any legislation that specifically states that.

And so these lawsuits, while they might seem frustrating on one hand to the business owner, on the other hand, this is how in the past people with disabilities, or even people of different colors have gotten more rights. And so, I have a hard time completely villainizing the plaintiffs in all cases, or the law firms in all cases, because it could be possible that they’re coming from it from a standpoint of, they legitimately want to enact change and this is the way that they see to do it.

[00:21:24] Nathan Wrigley: Okay, thank you. That’s really interesting. Up until now, it feels like we’ve put the frighteners on everybody and we’ve described all of the ways that you can trip over and be caught out. Let’s flip the conversation. Let’s try to make it so that now we’re trying to figure out all the ways where we can do the right thing. Before we begin taking that apart a little bit. I’m just wondering. Imagine a website, a spectrum of websites. On the one hand, there’s a website where zero consideration has been given to website accessibility. It is appauling from your perspective. And on the other end of the spectrum is a website where every single box has been ticked. It’s exemplary. They’ve spent a vast amount of resource on getting it perfect. And so in between those two will be the vast majority of websites. Some, maybe 30% of the way along that journey, some 50, some 90. And I’m just wondering what the position is in terms of, is doing 30% okay? Is doing 50% okay? Are we trying to do this thing incrementally, or is this a case of no, no, no, you must achieve all of it. It’s a hundred percent or nothing.

[00:22:36] Amber Hinds: I think the reality of accessibility, especially accessibility remediation on a website that perhaps already exists, rather than a new build, is that it has to happen incrementally over time. Particularly if it’s a website that has thousands of pages, maybe even tens of thousands or it has a lot of PDFs. We just launched a website for an organization that has a ton of PDF documents. They’re government funded. They have to be accessible. But they have PDFs going back to, the early two thousands, in some cases, the nineties. I’ve seen organizations where they have PDFs from the eighties, where it’s more of a scan document, that’s been turned into a PDF. And so the thing is, the reality of going back and remediating all of those PDFs and making them work for someone doesn’t always make sense. And so you really want to think about a good place to start. The important points in a user’s journey. And this will vary depending upon what kind of website it is, but, common things are, can they contact you? Can they complete a checkout process, add a product to cart. Those sorts of things, you know, take the main actions that you really want them to take. Can they find really important information about your services. But maybe you have 5,000 blog posts that go way back into time. And if you look in Google analytics, they’re hardly getting any traffic, then that would not be where you would start, right? You want to start on the most important pages on the website and the most important components. And then yes, obviously we want to say let’s try and work towards being a hundred percent accessible, but we also have to take, you know, into account the reality of client budgets or internal organization’s budget. What time looks like, the size of the website and all those sorts of things. And there are definitely aspects of accessibility that can have much greater impact than other things. We commonly see alt tags being cited in lawsuits. We see captions on videos. And really they want to see accurate captions, not YouTube auto captions.

Another thing is headings. That’s one thing I’ve learned from observing some of our testers and hearing, seeing them navigate the web is headings are super important. Both that they exist on a page, but also that they’re used in the right order, because that is one of the fastest way for them to skip. So I could say, read me all the h2’s on a page, on a screen reader, and then I can say, oh great, I heard this third one, I’m going to jump here. But if I am missing headings or I have headings in a wrong order, then it can really make it hard for someone to move around the page.

That’s another really common thing, that is a good thing to fix that anyone can fix. You don’t have to be a developer, in most cases in WordPress to go in and add headings to your content or make sure your headings are using the correct numerical order. From a developer standpoint, I think, there should be a general baseline, especially if you’re building new websites, of ensuring that everything that should be actionable can be reached and used with a keyboard only.

This is one of my biggest pet peeves that I hope, plugin and theme developers can work on, is we’ll just start with a div, and a span is not a button. So following good HTML semantics goes a long way towards accessibility. So if you have a slider plugin or you have an accordion plugin or whatever that might be, making it so that the buttons to navigate through those things or the element that opens is actually a button and can actually be reached by a keyboard and then triggered with either the return or the space bar keys, that really will help a lot. And I think that’s a big thing for me is with WordPress, right, we build with components, and we’re using a lot of times someone else’s theme and we’re using maybe five, maybe 50 plugins in order to create the amazing websites that we build. And very few of us developers are building every single piece of that website from scratch.

And so really a big part of this and where this needs to come from in the WordPress world is that plugin and theme developers need to take this seriously because they’re not just impacting the accessibility of one website. If they have 500,000 installs, they’re impacting the accessibility of 500,000 websites, many of which might be owned by a DIY’er who has no idea about accessibility and has never heard of.

[00:27:01] Nathan Wrigley: Yeah, again, a really good point, and you described there some of the of low hanging fruit. I guess it may be that you’re in a, an agency, for example that could simply farm this out to another agency who specializes in this, or it may very well be that your agency is big enough that somebody can be dedicated to the role of making the website, giving it the checks and making sure that everything’s as it should be. But, I’m guessing that a significant proportion of the people listening to this podcast are people that do this by themselves and the responsibility falls upon them. We’re all WordPress users, and that’s the tool that we’ve decided to build our websites with. Are there any WordPress standards, if you know what I mean? Is there some kind of badge of honor, as a plugin developer that you can wear. Some description that we might be able to see, when we’re going out finding plugins and themes and all of the different things, more recently blocks, that would indicate to us, okay, the person creating this has done their due diligence, and we can trust what they’re doing, or is it still a bit wild west?

[00:28:03] Amber Hinds: In the plugin world, it’s definitely still wild west. There’s no label or third party vetting for plugins. We’ve seen some where they say. I think if you look in the repo on.org, there’s around 40 plugins that use accessibility as a keyword, and I’ve tested some of them and they have major accessibility problems.

Now on the theme side, and this is good news if you’re someone who builds websites, but doesn’t make custom themes. There is an accessibility ready tag in the theme repository, and these are all themes that have gone through a basic level of testing for important basics that need to exist in a theme. Which means that it would be a good starting place for building a website from the is accessible.

So that’s a great way to go and they’re all free themes. There are also some paid themes, but again, you kind of have to get into the who’s vetting them, who’s not. The accessibility ready tag comes after a vetting from the themes team. So in WordPress land, that’s probably the best place to start, but on the plugin front, it’s a lot harder.

I think there are some tools that can be used to test plugins before you even install one. So, or some different practices. There are two great browser extensions a lot of people are familiar with. Wave is one, and the other one is Axe which is by Deque. That one I tend to prefer because it is a more thorough, but both of these, you can have them installed and if you go to a plugins demo, you can click the button and you can get a quick accessibility report. Now it’s a little hard, cause you have to look at it and assess are these actually coming from the plugin or some of these problems in the theme that happened to be used on the demo page. But another thing, like I mentioned, being able to use things like keyboards, you could also tab through, just use your tab key on a plugin demo and use that to assess. So there are some ways that you can assess and decide whether or not plugins or themes will work, even without being a full expert in accessibility.

[00:30:07] Nathan Wrigley: Yeah. Okay. That’s really good to know. Speaking of tools, I’m wondering if somebody was listening to this podcast and they decided this was now something they wished to become more interested in and make some more explorations. What tools do you recommend? So this is not from the point of view of exploring WordPress products, but the website after it’s finished, just checking that everything is as it should be. You mentioned some browser extensions. I don’t know if it extends to, you know, Windows apps or Mac OS apps and things like that.

[00:30:38] Amber Hinds: Yes. So the two browser extensions are really great and you can use them when you’re building. I always recommend trying out a screen reader. If you’re on a Mac, you’re going to have voiceover on your screen reader already, or sorry on your computer already. So all you have to do is go into your Mac settings and you can go to accessibility and you can enable voiceover, and that will allow you to hear what the website you’ve built sounds like.

If you’re on a PC, I really like to recommend NVDA. It’s open source and free. So you can install that on your PC and use that, and it’s one of the most popular, free screen readers for Windows. So using a screen reader is very helpful. The other thing that you might want to do, particularly if you have a large website, is do some bulk scanning of the entire site, instead of the browser extensions, allow you to scan one page and get a picture of one page, which i s helpful, but also there are some things that scanning tools while they can’t get everything, there are things that they could get that it would be nice to just have a full picture of that. So there are third-party SaaS solutions for this. Site improve is one. Monsido is another one. Pope tech, which uses Wave API.

And then we also have a plugin called Accessibility Checker, Equalize Digital Accessibility Checker, which does the same thing, only it puts the reports right in WordPress dashboard. So you don’t have to connect with a third party API or pay per page. But the thing that’s useful about that is, I draw a lot of parallels between SEO and, you know, there are SEO plugins where you have it installed and as you’re writing your content on the page, it will score it and tell you, oh, maybe you need to add your keyword more, or maybe your reading level is too high or something like that. Our plugin does something similar. And I think the way you want to think about accessibility, whether you’re using ours or any other tool is really, what can you do to proactively build accessibility in from the beginning so that you’re not having to go back later and fix things. So think proactive accessibility, not reactive remediation, because that’s what will really save on the cost and the time, if you can do it right from the beginning.

And so it’s helpful to use any of these tools that I’ve mentioned as you’re creating content. Get that report on your post edit screen or, run an external report, if that makes more sense to you and do it right then rather than trying to go back and fix it later.

[00:33:12] Nathan Wrigley: Now, regardless of the legal or moral responsibility to get this stuff right, there’s work required to do this. And whenever difficult work presents itself, people always come up with ingenious ways of making it seem like the work can be achieved in a much more straightforward and simple way. And, my understanding is that there are a variety of tools on the market, which purport to offer the solution to website accessibility in a more or less copy and paste of this code and you’re done kind of way. Perhaps snake oil is a bit too strong a term, but my understanding is also that there’s not necessarily too much truth in that. I wonder if you could go into some of the tools which perhaps you would steer people away from.

[00:33:56] Amber Hinds: So I think the thing that people most commonly ask about are accessibility overlays. These are typically they’re JavaScript implementations. They’re a SaaS solution, but in a lot of instances, but there are also a few just WordPress plugins that are out there on wordpress.org that don’t connect to a third party.

And what they do, you may have seen these on a website you’ve visited, they typically put a little icon in the bottom left or right corner that is an accessibility icon. It looks like a little person. It might be on blue or some other color. And when you click it, it can open this panel. It has all kinds of different things. Turn on colorblind mode or change the colors, increase the font, add alt tags, all sorts of different things. The thing about the technology with these is, there are some things that can be fixed automatically after the fact with JavaScript. But there are also a lot of things that can’t. Automated alt tags is a great example. Frequently it gets it wrong. And then also there are cases where these accessibility tools actually cause accessibility problems, even though they’re trying not to. And so really I caution people to be careful about using overlays, particularly if the marketing for the overlay sounds too good to be true.

So if any company says, sign up for our plan, $39 a month and install this line of JavaScript in your header, and in 24 hours, your website will be 100% accessible. And by the way, we’ll protect you from getting sued. That’s when you need to back up and say, hold on, is this real? Probably not, and those are the companies that, we say stay away from. If you really want to learn more about overlays, there are two really great websites. One is the overlay fact sheet, and the other one is, I think it’s overlay false claims dot com. But they are put out by Karl Groves who was of Tenon, he now works at Level Access. Tenon is who, by the way did the accessibility audit of Gutenberg a couple years ago. He has done a lot of research into overlays and what can they actually do? What can they not? And so those websites are very helpful cause they’re very like fact-based and they include voices from people on assistive technology.

A lot of whom say they don’t like the overlays. I’ve heard people say that they block the IP addresses for those companies so that it won’t load the overlay when they visit websites. Cause it may actually makes it more challenging.

As much as I wish there was an instant solution, unfortunately there are no shortcuts.

[00:36:36] Nathan Wrigley: You mentioned a name there, Karl Groves. I’m just wondering if you have any other resources, any other useful places where you turn for advice that you believe represent a good investment in time that will enable us to quickly get up to speed with this whole subject.

[00:36:53] Amber Hinds: So if I can pitch a little bit, I’m the lead organizer of the WordPress Accessibility Meetup, which is an official WordPress Meetup through the WordPress Foundation. And we meet twice a month. It’s the first Thursday of the month in the morning for me, and the third Monday of the month in the evening for me, but we kind of have them spaced out because we get people from all over the world, which is super cool. It’s permanently virtual. It’s actually one of the first, topic-based not city-based meetups in the meetup program. And we have a lot of different speakers who come, and we also keep all of the recordings. So you can get more information and watch things if you’ve missed a talk.

So That’s a great resource. Also the international association for accessibility professionals, which I’m going to call, and most of them call the I A A P is they have certification programs and training courses. If you want to become one of theirs is the website accessibility specialist. They have different certifications. And so those are really good well-known resources that are vetted. I always recommend, go read the web content accessibility guidelines. I think a lot of people feel nervous about that, but each individual guideline itself is like a sentence and it’s broken out. Sometimes you have to read through a few of them to be like wait a minute, what does this mean? And they have links with information that are like, how can I actually implement this? But really go read the guidelines, so that you know what those are. And then the other website that I like to recommend too is web aim, they also talk a lot about how can you actually implement the guidance?

[00:38:37] Nathan Wrigley: That’s really excellent. There was a whole ton of things. I will make sure Amber that all of those hit the show notes so that the URLs are easy to find so that you don’t have to go scrolling back through the podcast and write it all down. So, the show notes are always attached, as I might add is a fully corrected version of the transcript. You’ll be pleased to know. We make the effort of putting this out word for word accurate, hopefully. This all sounds very laudable. Just one thorn I’m about to throw in the side of this, and I’m imagining that I work for Evil Corp, and my boss is the chief of Evil Corp, and he doesn’t care about this. To him this is just a hassle, it’s a thorn in the side. He’s quite happy to put the websites out as they are, because it’s more profitable because there’s less time to be spent on these things. I’m just wondering if you’ve got any advice for people in that situation. People who know that they could do a better job, but are stymied by the situation that they’re in. Is there any generic advice that you could give or a place that you could go or just some general advice I guess.

[00:39:38] Amber Hinds: My general advice, if you’re trying to convince your boss or any sort of higher ups in your organization, is that you have to draw parallels between how accessibility will benefit the bottom line or the mission and goals of the organization. So a lot of larger companies have corporate values let’s say, or they have initiatives for giving back to the community or things like that.

So, it can sometimes be easy to draw a parallel between accessibility and that. Another thing is as I briefly mentioned about accessibility in a lot of ways is similar to SEO. Well there are actual items that when you improve the accessibility, it improves the SEO of the website.

So if bringing in more traffic is helpful, then you might be able to say, we’ll do this and it might increase our traffic. Or, it will help our conversions because we’re going to reduce our bounce rate because more people are going to be able to get where they need to go and complete the actions that we want them to do.

So I think there are ways that it can be sold that really show the benefits to the business. As much as I want to approach it from the whole like, I don’t care about the benefits of the business, I care about the greater good for the world and all human beings. The reality of business and budgets is that we have to talk about what the benefits of the business are.

The other thing I will say is there are a lot of things that can be done for accessibility that don’t take extra time. Really beyond what you do in the day-to-day practice of your job. And so whether you’re a marketing person who is writing blog posts, and you said, hey, I just learned about accessibility, maybe my boss doesn’t want me to go back through all these old blog posts, but every new blog post I put in, I’m going to make sure it has alt tags. I’m going to no longer use ambiguous anchor links. So instead of linking the words, click here, I’m actually going to link the words, contact us. I’m going to add those headings like we talked about. Those are all things that you can do moving forward.

Same thing from a developer standpoint. If you are coding things in your organization, it doesn’t take that much longer. Typically it doesn’t take that much longer to make sure that you’re using the proper HTML tags. Don’t just make a span class and use JavaScript to make it act like a button. Let’s use a button tag and those sorts of things can be done. Even if there’s not a lot of budget in your company to go back, decide now as an individual that you’re going to, take the extra, you know, what does it take extra two minutes to maybe make sure you have alt tags on your blog post, right? Whatever it might be. So that at least moving forward, you can meet some baseline to help improve things over time.

And then maybe you can continue to work on selling your boss so that it can be like, hey, we really do need to resolve this issue in the header of our website, which, hey, if we fix it one time, it fixes 555 pages.

[00:42:39] Nathan Wrigley: That’s really nice advice. Nice to end it on a positive note. The idea being that, although there is a mountain of things to consider here, perhaps the best advice is to take one step at a time, achieve the things that which are achievable to you. Go and explore the tools that Amber mentioned and go and explore the communities and documentation that was mentioned and begin the journey.

You don’t have to reach the pinnacle necessarily tomorrow, but taking the first few steps is probably a step in the right direction. Amber Hinds, thank you for talking to us.

[00:43:15] Amber Hinds: Thank you for having me.

by Nathan Wrigley at February 02, 2022 03:00 PM under podcast

WPTavern: Sensei LMS 4.0 Introduces New Block-Based Learning Mode Course Theme

Full-site editing has come to Sensei LMS in the plugin’s latest 4.0 release. The headline feature of this update is Learning Mode – a new block-based theme that gives course authors the ability to customize the learning experience in ways that were not possible before.

This version also updates the nine-year-old plugin’s menus and admin screens to make things easier to find, reducing the number of top-level menus.

“Until now, all course content was displayed in your regular WordPress theme, like any post or page,” Sensei representative Ronnie Burt said. “However, this is not always the best learning experience for students, as the site header, sidebars, and other content can be distracting. We developed Learning Mode to solve this problem — so your courses are the students’ main focus.” 

Learning Mode is bundled in the plugin and brings the full-site editing capabilities launched in WordPress 5.9 to lessons and quizzes. It does not apply to the whole site – only the LMS content URLs. The rest of the site uses the regular, active WordPress theme.

Learning Mode is free, not a paid add-on, and it is also optional. Sensei LMS users who update to 4.0 can continue having their course content displayed directly in their WordPress themes as they have been.

Sensei is one of the first plugins to offer this kind of separate, in-app FSE-enabled theme. It enables course authors to make their own customizations to courses and templates using blocks. Things like extra instructions, announcements, advertisements, links, are now much easier to insert. The colors and design can also be further customized to match the site’s branding.

This particular implementation highlights the potential of FSE where these kinds of template changes might have cost site owners hours in custom development before template editing was within reach. Many other types of plugins that introduce their own templates could benefit from a similar approach. It will be interesting to see how FSE opens up WordPress customization beyond just themes.

by Sarah Gooding at February 02, 2022 04:16 AM under Sensei

WPTavern: Look Under the Hood With the Block X-Ray WordPress Plugin

One of my favorite tools in the past few days is the Block X-ray Attributes plugin by Sal Ferrarello. It is geared toward developers and shows block attributes in the WordPress editor.

After seeing his tweet on Friday, I immediately installed it.

The plugin is currently only available via its GitHub repository, and anyone who wants to give it a spin can grab the latest build from the 1.0.0 release page. (Update: it is now on WordPress.org.)

Ferrarello and his colleagues get a full day on company time to give back. WebDevStudios’s employees consistently devote one day each month to Five for the Future, an initiative that encourages organizations to contribute five percent of their resources to the WordPress project.

The company’s first Five for the Future day of 2022 landed last Friday. Ferrarello opted to build a plugin that will likely be immensely helpful to other developers who are building blocks.

Block X-ray Attributes adds a new tab under the Post sidebar panel in the editor named “Block X-ray.” It simply shows a code field with the currently-selected block’s attributes in JSON format.

Viewing attributes of a Columns block.

When I first installed the plugin, I expected the tab to be under the “Block” panel. Since the attributes are specific to the block, it made sense that it would be there. It is instead under the “Post” or “Page” panel, depending on what type of content you are editing.

One missing feature that I would like to see is a copy button. For nested blocks, the output can be lengthy to copy with a mouse, and having a quick way to grab and paste it in my code editor would save some effort on my part.

I imagine that other developers would find the plugin invaluable in taking a quick look at attributes while building new blocks. That would also be my primary use case for it, so I inserted a breadcrumbs plugin that I need to finish at some point:

Testing custom attributes for a block.

Being able to quickly look at custom attributes for my blocks allows me to see everything I need to know about them. I can note if the values are being added and correct when I toggle options on and off.

Another use case is the wealth of information available when the dreaded invalid block error appears.

Diving into block validation issues.

If there is one feature I want to put to the test, this is it. There are times when WordPress randomly gives me a block validation error within custom patterns for seemingly no reason. Maybe it is stray whitespace or some other invisible ghost poking around underneath it all. The block recovery options do not help. Therefore, I am leaving Block X-ray Attributes installed until I can finally catch one of those oddly-random cases. Will it help? We will see in time.

For now, I recommend anyone developing anything related to blocks to install and activate this plugin. It is a handy tool that could mitigate a headache or two.

by Justin Tadlock at February 02, 2022 01:54 AM under Reviews

February 01, 2022

WPTavern: Nesting and Grids: Super List Block Supercharges Lists in WordPress

Freelance WordPress developer Aurooba Ahmed released the Super List Block plugin earlier today. Essentially, it is like the core WordPress List block — just supercharged. It is her first publicly-released extension on WordPress.org.

The primary use case for the plugin is adding other blocks within the list items. However, its options allow users to take it further by supporting grid-based layouts.

WordPress does not currently allow end-users to nest other blocks into list items via the editor. It is rich text or nothing, and it can be an irritating part of the editing experience when you need this seemingly run-of-the-mill feature. It is an issue that makes you wonder why we moved on to FSE before smoothing out the content experience. HTML list item elements are, after all, containers for other content.

For me, at least, it is not something I often need. When I do, I code it via the Custom HTML block. That works if the list’s content is simple but not when you want to nest more complex elements like other blocks.

The Super List block turns its nested Super List Item blocks into containers for pretty much anything. One typical use case would be to add multiple paragraphs or other text-based blocks like headings as single list items.

Headings and multiple paragraphs under single list items.

However, the plugin does not limit users to text. They can stick whatever they want in, even nesting a Super List within a Super List Item block. Unfortunately, its indentation is zeroed out in that scenario, so its items do not appear nested.

The plugin’s claim to fame may be its grid feature. The closest things in WordPress are the Columns and Gallery blocks. However, Columns are limited to a single row, and Gallery only allows images.

This is also where the Super List block needs a little refinement. When selecting the horizontal (“grid”) orientation, a new box appears to allow users to set the maximum width of all sub-list items.

Four-by-four grid of quotes and images.

Wanting to create a four-by-four grid (two rows of two columns), I immediately selected 50%. It made the most sense. However, I did not get any columns. The value was too large and did not account for the gutter space between the items. I then lowered it until I hit a number that worked: 47%. I could have looked at the page’s source code and simply did the math, but it would be a guessing game for the average end-user.

A more intuitive interface would be to switch the max-width option to a column-number setting. Technically, this would limit the flexibility of the block in a few scenarios. However, it would cover the vast majority of cases where users just want a grid of equal-width columns that span the width of their container.

This assumes that the plugin does not eventually allow users to micro-manage each list item in grid mode. There is an open ticket in the plugin’s repository to add the option to individual Super List Item blocks.

Whatever future direction the plugin goes, an easy-to-use block for quickly setting up a grid of items will likely land in many developer and site-owner toolboxes.

Three features make this plugin simpler to use than many core WordPress or third-party blocks. The first is when the user has the Super List selected in the editor. Instead of only the “+” icon to nest another block, it appends the text label “Add Super List Item.”

Add new Super List Item button.

It is easy to get confused about where new blocks will be inserted after clicking the “+” editor icon. Super List Block’s text label makes it dead simple to understand. I would love to see WordPress and other third-party plugins take the same or a similar approach.

The other two nice-to-have features appear in the toolbar for the Super List Item block. The first is a “Settings” button for jumping back to the parent block. The second is a circular “+” icon for appending another item to the list.

Settings and append buttons in the toolbar.

Both options seemed to reduce misclicks when selecting blocks or buttons in the editor. However, I prefer WordPress’s approach to making some parent block settings available in the child block’s toolbar. Social Links is a prime example of this, allowing users to change justification and alignment without jumping back and forth.

Overall, I am impressed with Super List Block as a first release. I will be keeping my eye on it to see how it matures. It is well worth deploying on any site that requires its features now.

by Justin Tadlock at February 01, 2022 01:35 AM under Reviews

January 31, 2022

WPTavern: Essential Addons for Elementor Patches Critical Security Vulnerability

Essential Addons for Elementor, a popular plugin with more than a million active installs, has patched a critical vulnerability that would allow for a local file inclusion attack.

The vulnerability was discovered by security researcher Wai Yan Myo Thet and reported to Patchstack on January 25, 2022. Patchstack customers received a virtual patch the same day. The issue was already known to the plugin’s developers, WPDeveloper, who issued two insufficient patches before it was ultimately fixed in version 5.0.5.

Patchstack published a summary of the vulnerability and explained how WordPress sites using the plugin could be compromised:

This vulnerability allows any user, regardless of their authentication or authorization status, to perform a local file inclusion attack. This attack can be used to include local files on the filesystem of the website, such as /etc/passwd. This can also be used to perform RCE by including a file with malicious PHP code that normally cannot be executed.

It’s important to note that the vulnerability primarily impacts users who have the dynamic gallery and product gallery widgets in use.

The plugin’s changelog makes the update seem more like an enhancement than a serious security concern, so users may not be fully aware that they need to update:

5.0.5 – 28/01/2022
Improved: Enhanced Security to prevent inclusion of unwanted file form remote server through ajax request
5.0.4 – 27/01/2022
Improved: Sanitized template file paths for Security Enhancement
Added: Support for new Capability Queries for WordPress 5.9
Fixed: Elementor Popups not being triggered
Few minor bug fixes & improvements

All versions earlier than 5.0.5 are considered vulnerable. WordPress.org stats don’t break down active installs according to minor versions, but approximately 54% of the plugin’s users are running versions older than 5.0.

While this might seem like more than half a million users are still vulnerable, they would also need to be using the specific widgets in question. If you are not sure if you are using these widgets in combination, it’s best to simply update as soon as possible anyway.

by Sarah Gooding at January 31, 2022 09:26 PM under security

January 29, 2022

Gutenberg Times: Preliminary Road Map for 6.0, Block Theme Creator, Developer Hours — Weekend Edition #201

Howdy,

What a week this was! It was probably the biggest release for the project. Yes, even bigger than WordPress 5.0. Now all areas of a website can be handled by blocks.

I am awed by the massive accomplishments of all the contributors working on a major WordPress release that affects hundreds of million websites. I find these numbers mind-boggling:

  • 1900+ pull request merged for WordPress 5.9
  • by over 600 contributors
  • One hundred eighty of them contributed for the first time.
  • before WordPress 5.9 was released, WordPress 5.8 was downloaded more than 107 million times,
  • Today, four days after the release, WordPress 5.9 was downloaded already 12 million times.
  • 87.6% of all WordPress sites are now on version 5.0 or higher
  • 63.8% of all WordPress sites are on versions 5.7 and higher.

The transition to blocks for plugins and themes will take a few years for various reasons. The side editor and all Full-site editing capabilities are just the beginning. It’s important to give feedback from your experience, so the team can iterate and improve fast.

Nothing is perfect, especially not a release with so many code changes and contributors working on it. No amount of testing can surface everything. With so many configurations, settings, codebases and hosting offerings, not all the edge cases get caught. The release team is already preparing for a 5.9.1 version and is working fast to fix the bugs already reported, and those that didn’t make it into the release after code freeze.

And with that note, have a wonderful weekend ahead, hopefully away from the screens.

Yours, 💕
Birgit

The Gutenberg Developer Hours event series is now scheduled. The first event will take place on February 8th, 2022 at 11 am ET / 16:00 UTC with the panelist Tammie Lister, Nick Diego and Fabian Kägy. This event is geared towards developers to get their questions answered, discuss block development or get help with a bug. Register via the WordPress Social Learning Meetup.com space. Looking forward to talking to you then!


Release Week WordPress open-source Project

WordPress 5.9 Josephine is out now!

To catch-up on what’s new in WordPress 5.9, full-side editing and Block themes topics, the separate reading list has all the information you need. The End User documentation, DevNotes, and also a few curated Block themes you can use to get acquainted with the new features.

Sarah Gooding covered the release for the WPTavern: WordPress 5.9 “Josephine” Released, Introduces Full Site Editing and New Twenty Twenty-Two Default Theme


For folks curious about the impact of the Customizer, Anne McCarthy published this video on YouTube: All you need to know about the Customizer

  • If your current theme uses the Customizer, the Customizer will remain as is.
  • If you switch to a block theme, which is a theme that supports full site editing features, the Site Editor will replace the Customizer.
  • If you are using a block theme and you install a plugin that requires the Customizer (like WooCommerce), it will automatically return as a menu item under Appearance. This will happen without you or the plugin author needing to do anything.
  • While the menu item is hidden, you can always access it directly with wp-admin/customize.php direct link.
All you need to know about the Customizer video on YouTube by Anne McCarthy

🎙️ New episode: Gutenberg Changelog #59 – Gutenberg 12.4, Developer Hours, Extensibility of the Block Editor and more with co-hosts Grzegorz Ziolkowski and Birgit Pauli-Haack. Special guest: Fabian Kägy


Blocks, Blocks, Blocks. They are everywhere.

In his post Making the web better. With blocks!, Joel Spolsky, author and creator of many things, like Stack Overflow, Trello, or Glitch, announced Block Protocol as a new standard for sharing blocks. He wrote:”This kind of “insert block” user interface concept is showing up in almost every blogging tool, web editor, note-taking app, and content management system. People like it and it makes sense.” and he continues “Our hope is that this will make life much easier for app developers to support a huge variety of block types. At the same time, anyone can develop a block once and have it work in any blog platform, note-taking app, or content management system.”

Matt Mullenweg and Matias Ventura as well as Kevin Marks from IndieWeb movement engaged with Spolsky via Twitter

In her article, Block Protocol Project Aims to Create Universal Block System, May Collaborate with Gutenberg, Sarah Gooding, puts this new initiative into larger context. She cites two examples, Drupal Gutenberg and Laraberg, where the block-editor is used outside of WordPress. She also dived deeper into the Block Protocol.

Gutenberg Updates

The day after the WordPress 5.9 release, Matias Ventura, the architect of Gutenberg, posted the Preliminary roadmap for 6.0 for the Gutenberg project. Ventura lists, by area the new features and refinements the team will be working on.

Justin Tadlock recounts the post in his article: Looking Ahead to WordPress 6.0: The Early Roadmap

What is it that you want to see in WordPress 6.0 for the block editor? Share in the comments on either post.

 “Keeping up with Gutenberg – Index 2022” 
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. The index 2020 is here

Gutenberg for content creators and site builders

Eric Karkovack explored Scenarios Where the WordPress Gutenberg Block Editor Replaces Custom Code. “Developers may not need to fire up that code editor quite as often these days. Slowly but surely, the Gutenberg block editor is changing how we go about website customization. The result is an increasingly code-free experience.” Karkovack wrote.


Ganga Kafle published a comprehensive guide on What is WordPress Full Site Editing & How to Use it? It covers all features, and discussed the advantage, how to use it and showcases the best block themes. It ends with a discussion FSE vs Page builders.

Themes

45 is the current number of Block Themes, ready for Full-Site Editing in the WordPress repository. The newest one is the WordPress new default theme Twenty-Twenty-Two designed by Kjell Riegstad and Jeff Ong.

Stewart is also a fairly new theme by Automattic. It is very opinionated and probably the only one that sports a left sidebar.

UXL Theme shop added another new Block Theme Framboise, offering style variations of Alara theme. Justin Tadlock took a closer look and shared his review in this article UXL Themes Releases Framboise, a Colorful Child Theme Variation of Alara and introduced us to the developer of the themes Andrew Starr. Tadlock also noticed, “Framboise does not add its own set of block patterns. Instead, they all live in the parent, Alara. The same is true of Ceres and Zelia, the other two child themes. ” and concluded: “This is one of the most fascinating aspects of child theming with blocks. ”

Plugins

Chris Coyier, founder of CSS-Tricks, elaborated in his post: 4 Quality Options for a Table of Contents Block in WordPress on what to look for when you search a Table of content solutions, checks each block plugin against these requirements.


Aurooba Ahmed published her SuperList block in the WordPress repository. Use it to nest blocks inside list items, a feature many content creators have been looking for the core List block. You could also use the SuperList Block to create simple grid layouts, like a properly responsive pricing table, or a wrapping icon list. Ahmed wrote: “It aims to provide you with as much flexibility as possible, so you can harness it to create the content structure and layout you like.” Dennis Snell started working on InnerBlocks for the Core List block.


Nick Diego published the Block Pattern Exlorer plugin in the WordPress repo. The difference to the just released Pattern Explored in 5.9 is that it includes the ability to preview patterns at different sizes (mobile, tablet, and desktop) and displays patterns individually or in a grid view. Diego also experiments with category and types for better grouping in the modal. The Block Pattern Explorer plugin is a safe space to explore different ways to built in explorer can be enhanced.

Building Block Themes for Full Site Editing

Daisy Olsen and Ryan Welcher continued their Video Series “Creating a Block Based Theme” Part 2 is now available on YouTube. They covered:

  • Created a header.html and footer.html template parts
  • Discovered an issue with the Navigation block that has already been fixed
  • Defined a custom gradient in theme.json

The code is available on GitHub

Creating a block-based theme with Daisy Olsen. Part 1


Eric Karkovack wrote an essay and explored What Does WordPress Full Site Editing Mean for Freelancers? Karkocack started with “When we start digging into new features, there’s always a concern for any immediate impacts. But whatever comes from Full Site Editing will happen gradually.”


Justin Tadlock already looked ahead to next week’s Gutenberg plugin version 12.5, now available as release candidate and found Global Style Variations, “Skins” for themes, Have Landed in Gutenberg. He explained “a global style variation is user-selectable skin for their currently active theme.” and called it his most-wanted component for Gutenberg. “From a theme developer’s viewpoint, they would drop custom stylename.json files under a /styles folder in their themes” he wrote. The Create a Block Theme documentation page already has more details for theme developers.

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


Caroline Nymark created a Block Theme Generator with three levels of Starter Theme. You can create an Empty theme with 6 templates (Index, single, page, archive, 404, and search), a theme.json file and not patterns or block styles.

Then you also could create a Basic Theme, that has an additional custom template, and Header & footer template parts. It also creates examples for block patterns, selectable style variations, Block styles for specific blocks and HTML forms elements. You’ll find a more elaborated configuration via the Theme.json file in the downloadable Zip file.

The Advanced Theme adds a Category template and additional post and page templates to the packages, accompanied by six block patterns, and examples for using Google Fonts, example variations to core blocks and unregisters styles and blocks patterns. Its theme.json is also quite opinionated with elaborate configuration for various blocks, and offers 8 gradients, 3 duotones.

If you want to take a deep dive into Block theme development, this is the tool for you to get started and learn from one of the leading full-side editing experts.


Justin Tadlock recounts his journey as a theme developer from Classic to block themes in his post If This Is Modern WordPress Theme Development, Sign Me Up. He cherishes, the “No build process, no php composer, no node_module folder” approach to just build a WordPress Theme.

Tammie Lister express similar enthusiasm when she phrased: “Let Themes be Themes again” during our Live Q & A Theme.json for Theme Authors or Getting started building WordPress Themes for Full-site editing.

WordPress Social Learning Events (and Meetups)

February 2, 2022, 12 pm (noon) ET / 15:00 UTC
Ride Along: How To Switch From a Classic To Block Theme with Sarah Snow

February 4, 2022 1 pm ET / 18:00 UTC
Zero to Block Theme Series #3: theme.json Continued – Styles with Daisy Olsen and Sarah Snow

February 4, 2022, 3 pm ET / 20:00 UTC
Beginner’s Guide to Full Site Editing with Roxy Kohilakis via WordPress Social Learning Spaces

February 7, 2022, 12pm (noon) ET / 17:00 UTC
Taking Control Over the Editor for Client Builds with Fabian Kägy via WordPress Social Learning Spaces

February 8th, 2022 11 am / 16:00 UTC
Developer Hours with Birgit Pauli-Haack and expert panel via WordPress Social Learning Spaces

February 9th, 2022 5pm ET / 22:00 UTC
Using Block Patterns with Wes Theron via WordPress Social Learning Spaces

February 11, 2022 – 3 pm ET / 20:00 UTC
Breaking it Down: Blocks, Patterns, And Templates with Full Site Editing with Roxy Kohilakis via WordPress Social Learning Spaces

February 14, 2022 – 4 pm ET / 21:00 UTC
Exploring Theme Blocks with Wes Theron via WordPress Social Learning Spaces


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 January 29, 2022 04:02 PM under Weekend Edition

WPTavern: Global Style Variations, “Skins” for Themes, Have Landed in Gutenberg

It was a busy week, and I almost missed one of my most-wanted components landing in Gutenberg 12.5 RC 1. The global style variations feature quietly snuck its way in as everyone else was getting acquainted with WordPress 5.9. The official release of version 12.5 is not expected until next week, but that did not stop me from giving it a test run.

What are global style variations? I will assume you missed my post praising the idea last November.

In essence, a global style variation is user-selectable skin for their currently-active theme. For example, a theme with a default blue color scheme might package green, purple, or red alternatives. The idea is not limited to colors. Anything possible to change through the global styles system is at play, such as typography, layout, borders, and more.

Style variations in the site editor.

From a theme developer’s viewpoint, they would drop custom stylename.json files under a /styles folder in their themes. Gutenberg and, eventually, WordPress will automatically register these with the system.

The feature was intended to ship with WordPress 5.9, and the Twenty Twenty-Two theme was supposed to be its unveiling. However, it was not complete and is now on the slate for WordPress 6.0.

It did not take me long to build a couple of extra variations for my custom theme. I could change my color scheme and fonts at the click of a button.

If this feels eerily similar to another feature that already exists in WordPress, you are not alone in that feeling. Child theming was born out of this same idea of offering design variations for the same theme.

Child themes were not always possible in WordPress. They grew in popularity via a grassroots effort and a third-party plugin, and their first uses were to supply a different design via the standard style.css file. Users could keep everything about their site intact and add a new coat of paint whenever they wanted.

During the late 2000s, there was a stretch where the child theme industry was booming. The Sandbox theme was among the first to use the feature, and others like Thematic continued pushing the idea forward. Genesis became one of the most well-known to employ child themes over time.

However, child theming became a beast of its own. It steered away from that initial idea of skinning a website into creating full-blown themes as big as — sometimes bigger than — their parents.

Global style variations take us back to that initial foundation. It returns us to something more akin to CSS Zen Garden’s beauty of designing with CSS, one of the foundational promises of child theming.

There is one difference. Variations are housed in a JSON file rather than style.css. The former is a standards-based configuration file that lets users further customize their design via the site editor.

Child themes will still have their place in the world of WordPress. There are times when developers and DIY end-users will need to customize beyond what is possible via the site editor. However, global style variations will offer an enticing alternative in many cases.

It is promising to see this land early in the WordPress 6.0 release cycle. The feature will still need some work before it is ready for core, such as figuring out how to best to save user customizations of style variations.

Notes for Theme Authors

The block editor handbook already has documentation on global style variations. It is short, but custom JSON files should follow the standard theme.json schema. Not mentioned in the docs is that you need to add the version key to each file:

{
        "verson": 2,
}

If I did not add it, none of my variations worked in testing. I do not know if it is a bug or intentional. I expected it to fall back to the setting from the primary theme.json file.

You also cannot overwrite a single value in an array of items. For example, if adding a settings.colors.palette value, it replaces the entire palette.

by Justin Tadlock at January 29, 2022 01:58 AM under gutenberg

January 28, 2022

WPTavern: Block Protocol Project Aims to Create Universal Block System, May Collaborate with Gutenberg

Block Protocol is a new project that aims to build a block system for embedding interactive blocks in any web application. The goal is to create a more interoperable and open web where these blocks can be shared through a standardized protocol. The initial draft of the Block Protocol spec is being incubated by the team at HASH, an open source data, modeling, and simulation platform.

When HASH founder Joel Spolsky shared the idea with the world yesterday, through a post on his WordPress-powered blog, it caught Matt Mullenweg’s attention.

“This is 100% what Gutenberg is trying to do, and it’s designed to not be WordPress-specific, with the idea that Gutenberg blocks become cross-CMS,” Mullenweg said. “We have open source Android and iOS versions.” He recommended the Block Protocol team link up with Gutenberg lead architect Matias Ventura to discuss combining efforts.

Mullenweg touched on this vision during the 2021 State of the Word address, saying this was one of the reasons the project pursued dual licensing for Gutenberg.

“I just wanted to note that the WP apps don’t need the dual-licensing–they’re already GPL (AndroidiOS),” mobile developer Matt Chowning said during the dual licensing discussion with contributors in early 2021. “The motivation for the change is to broaden Gutenberg’s usage to the vast majority of apps that are not GPL like the WP apps and to grow the community using and contributing to Gutenberg.”

Mullenweg recast this vision during the State of the Word, saying he would like “Gutenberg blocks to become a standard that is larger than just WordPress.” He sees Gutenberg as “something even bigger than WordPress:”

There is a Drupal version of Gutenberg, et cetera. But I think part of that is that its blocks can become standard across every proprietary system. I make fun of Wix. I think it’s fair. They’ve earned it, but if they adopted Gutenberg, I would toast them and take them out to beers. I think that would be awesome.

Gutenberg is something even bigger than WordPress, which is basically saying how do we edit and create the web? And can we get as many people, both proprietary and open source collaborating on that as possible? So that is a bet we’ve made. Maybe it’s correct. Maybe it’s incorrect. I hope that you, as a contributor still are excited about being part of Gutenberg.

Projects like Drupal Gutenberg and the Gutenberg Cloud, which shares CMS-agnostic blocks across both Drupal and WordPress, were among the first to demonstrate that this idea could work in the real world. The Drupal Gutenberg module received an enthusiastic reception at Drupal Europe in 2018 after representatives of Frontkom, the Norwegian digital services agency that ported it over to Drupal, unveiled their work at the conference.

“It is key for us that Gutenberg stays decoupled from both CMSs as a library, and our hope is that Gutenberg core devs will catch onto the vision of Gutenberg as the ‘editor for the open web’ — not just for WordPress,” Frontkom CIO Per André Rønsen said after the event. Shortly after the launch of Gutenberg Cloud, Gutenberg engineers reaffirmed their commitment to keeping the architecture platform agnostic.

In 2019,  Maurice Wijnia, a developer at Van Ons, an agency based in Amsterdam, created Laraberg as an easy way for developers building applications with Laravel to integrate the Gutenberg editor. In many cases, Gutenberg usage outside the WordPress ecosystem is implemented to give clients a more friendly way to manage their sites.

The Block Protocol has its own technical objectives that go beyond getting cross-platform adoption of the same blocks. It also includes this idea of block data moving between apps:


The protocol provides standardized, guaranteed methods of bidirectional communication between blocks (user-interactable components) and embedding applications such as web-based, desktop, or mobile apps – in a secure, permissioned fashion. By making it easy to extend functionality for different data types, it allows users to edit data in one block and have the update reflected in other blocks (or applications), each providing useful functionality.

Practically speaking, this means that a user could potentially create a block in a to-do list app and then move that data into a kanban board block on another application, without relying on an API integration. This frees up data from its application of origin and makes it far more portable and interoperable.

The Block Protocol also aims to give developers access to a global registry of reusable blocks so they can embed them in their own applications. The protocol enables developers to pass structured data between applications.

Block Protocol’s quick start guide recommends building blocks using React but it says the team will be releasing examples of how to write blocks using different frontend libraries in the near future. The Block Hub has examples of blocks they have already built.

When WordPress was developing its Block Directory, the Gutenberg Cloud team encouraged them to make it a CMS-agnostic library of blocks, but the Block Directory is still strictly tied to WordPress’ infrastructure.

“A more ideal approach however, would be to merge the two efforts,” Rønsen said in 2019. “The key for us, is to make the infrastructure open to other communities, not just WP developers. We are happy to put our project in the hands of the WP core team – given that they share the same open vision.” This didn’t end up happening, which is why Gutenberg Cloud is still the only place distributing cross-platform Gutenberg blocks.

“Because it’s all 100% open, we hope that the Block Protocol will become a web standard and commonly used across the Internet,” Spolsky said in his announcement.

Block Protocol may have more success with distributing blocks that can be used anywhere on the web, since interoperable blocks are the main thrust with this project. The project is open to working with existing block editors whose creators want to contribute to the new standard. Gutenberg combining efforts with Block Protocol has the potential bring a better authoring experience to web apps around the world while also giving users the ability to easily move their data between apps.

by Sarah Gooding at January 28, 2022 11:27 PM under blocks

Post Status: Who is Post Status?

Back in December, we worked with Nicholas Petroski of Promethean Research to design a survey to help us take a fresh look at our members and larger audience. (You can still take it if you missed it.)

After a few weeks, we collected just over 90 responses. Here is a summary of the results followed by a sampling of the free responses to questions about what's exciting and concerning in the WordPress space today.

It is definitely a pivotal moment of high uncertainty with some people seeing the glass half-full while others see it half-empty. One person's threat is another persons's opportunity…. The most common concerns touch the health and viability of the WordPress community and ecosystem.

“Where do you live?”

Where our members are found.We have a lot of room for growth in the southern hemisphere.

Our survey included responses from people in 18 countries. Two-thirds of the respondents live in the United States while the next most-represented country was India with 7% of the respondents. Other than English, the most commonly spoken languages were German (5%), Hindi (5%), and Spanish (4%). 

When asked about ethnicity, 78% of the respondents identified as White, 8% as Asian, 2% as Black or African American, 2% as Native American or Alaskan Native, and 10% indicated Other or didn’t wish to identify an ethnicity.

“What is your highest level of education?”

Members' education levelsWe're a well-educated group.

84% of the respondents held a bachelor's degree or higher. 

“Which of the following best describes your skill set?”

Member skillsetsDevelopers are still the largest group.

The community is primarily comprised of developers, managers, and designers. Half of the respondents fell into the Developer skills category, followed by Management (16%), Designer (12%), and Marketer (8%). 

“How many years of experience do you have?”

Members' experienceWe need more people who are in the early years of their career.

The community is heavily weighted towards senior-level talent. Two-thirds of respondents were senior-level and another 27% were mid-level. We only had a single respondent who was entry-level. There was a pretty even split between focusing on products vs. services and 16% said they worked on both equally.

“Which of the following best describes your role?”

Member rolesMost of us are owners, employees, and freelancers.

There was a pretty even split between respondents who identified as Owners, Employees, and Freelancers. Much less common were Executives, Managers, and Consultants. 

“How many full-time employees work at your company?”

Company sizes by employeesSmall and starting to get big — but not much in between.

Almost half of the respondents indicated that there are 50 or more full-time employees at their company. Of those who own their companies, the majority (64%) fell in the 1-9 FTE range. 

“What is your firm's approximate revenue for 2021?”

Company sizes by revenueRevenue and employee headcount appear linked.

A third of the respondents indicated that their company’s revenue fell in the $100-499K USD range while just under another third said theirs was $10M+. Of those who owned their companies, 56% fell in the $100-499K range and none fell into the $10M+ range.

“How is your team currently structured geographically?” and “How do you think your team will be structured geographically in 3-5 years?”

Company structuresWe're happy working as we're working now.

Almost 2/3rds of respondents are working remotely or fully distributed while another 37% are hybrid. The distribution didn’t change when asked about the expected structure 3-5 years from now.

What's causing excitement — and concern?

The free response part of our community survey reveals many causes of positive excitement are also things that raise concern:

  • Block Editor/FSE/Gutenberg
  • Headless WP
  • No code
  • Improved communication flows
  • Diversity and Inclusion
  • Opportunities and Threats to Devs and Builders

The most common concerns all touch the health and viability of the WordPress community and ecosystem:

  • Corporate consolidation, lack of diversity, loss of small players and easy entry into the ecosystem.
  • Inability to attract and retain talent.
  • The pandemic, culture, social and political divisions.

“What industry theme are you most excited about in the next 2-3 years?”

“…We're transitioning away from hard-tech development toward Strategy, Message, and Marketing.”

“More enablement of custom solutions through no-code/low-code tech; make things more accessible, greater opportunities.”

“Web3 + Decentralization + WordPress”

“How do you think the industry might change over the next few years?”

“I think the WordPress project is at a make-or-break maturation point and the vast majority of it boils down to communication. I think the ability for WordPress to articulate next-generation Themes, provide more consistent and more transparent communication on timeline and roadmap are going to be why we succeed or why we fail.”

“A massive price increase of WordPress products is expected. Gutenberg forces developers to learn React. React developers cost 3-4x PHP developers. Using WordPress will become expensive, paying customers will decline as SaaS options will soon appear lucrative. AI in design and small developments will take over. A lot of freelancers will be out of business.”

“More distributed (OK, that's hopeful). More and more client-side based coding, less server-side as the device environment continues to move more and more to portable. Along with that could be more focus on AR/VR.”

What is this information good for?

It's great to be able to listen to our members and readers to learn who they are, how (and what) they're doing, as well as the things they are most excited and concerned by. This helps us validate, alter, or add to our our own sense of editorial priorities — the topics to follow, the questions to ask.

Does any of this surprise you — what was or wasn't included or represented? Let us know in the comments, or drop us a line. And you can still take this survey if you haven't done so yet.

by Dan Knauss at January 28, 2022 06:16 AM under Planet

WPTavern: New Proposal Aims for 3 Major WordPress Releases in 2022

WordPress 5.9 has already been downloaded nearly 12 million times since its release earlier this week. Millions of WordPress users are discovering full-site editing (FSE) for the first time. What will they think? What struggles with they have that will need to be addressed? WordPress developers and power users have done an immense amount of testing on FSE features, but a flood of feedback from real world users is about to make its way back to the architects.

Planning for 6.0 and beyond is already underway with a special recognition of the unique support load that follows such a big, complex release.

“I believe that the relationship between WP5.9 and WP6.0 will be similar to the relationship between WP5.0 and WP5.1 in that there will be copious user feedback to process so that we can extend, refine, and in some cases even rework the user experience with the vast new feature set introduced in 5.9,” WordPress Executive Director Josepha Haden Chomphosy said in an update published earlier this evening.

Haden Chomphosy is proposing that WordPress aim for three major releases in 2022, with the next two coming in late May (6.0) and mid-October (6.1). This timeline will “let WP5.9 breathe a little,” Haden Chomphosy said. It will also allow contributors to tackle outstanding items on the Phase 2 roadmap before the project moves on to the third (Collaboration) phase.

Haden Chomphosy also put out a call for more project manager type contributors to wrangle some of the details moving forward, as those currently managing releases need more support.

Reports of contributors getting burned out during the 5.9 release cycle may indicate the packing so much into one release over a longer period of time isn’t optimal, though it may have been unavoidable given how interdependent many FSE features are that were set to launch.

The initial discussions about possible release timing for 2022 brought a lot of feedback, as quarterly was being considered as one of the options. This discussion came fresh off a stressful year where WordPress aimed for four major releases but ended up delivering two. With the current shortage of contributors skilled in project management and operations, a well-spaced trio of releases in 2022 seems like a more realistic and healthy approach for retaining contributors.

by Sarah Gooding at January 28, 2022 03:12 AM under WordPress

Post Status: Post Status Excerpt (No. 43) — Accessibility Roundup with Amber Hinds

“When it comes to accessibility lawsuits, we as developers should be proactive to ensure a site is as accessible as possible.” — Amber Hinds, Founder and CEO of Equalize Digital

In this episode of Post Status Excerpt, David chats with Amber Hinds, the Founder and CEO of Equalize Digital. Amber outlines some of the things WordPress professionals should be paying attention to in accessibility. Their conversation covers recent trends and news in the accessibility space: meetups, lawsuits, overlays, and design.

Why This Is Important: Accessibility is important to everyone, so it is critical for WordPress developers and designers to keep accessibility in mind. David and Amber only scratch the surface of this topic. Amber encourages developers to read this call from the Accessibility team to share their ideas, take part in the discussion, and suggest what to prioritize for WordPress in the near future.

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.

Transcript

Amber Hinds: I was using super cheap, like earbuds. And I think like something happened and, you know, well, you figured out later, cause I was on a zoom call with someone and they're like the same thing and I unplugged them and all the feedback went away

David Bisset: to throw them in the garbage.

Amber Hinds: Yup. And I was like, huh, I will give these to my children.

Cause they don't ever talk

David Bisset: let's not let's let's not talk about that. Cause my kid's , it's like the island of misfit toys, but podcast equipment edition cherish this moment because when they get to be 13, 14, they know when you're giving them crap. Well, I've made some mistakes in my day with tech, but one mistake that hasn't been made today is getting to talk to you.

So it was good to have you on, thank you very much for deciding to talk with me. And this is not the first time we've been together on a podcast. Um, uh, we, you were recently on one of our, uh, news draft podcasts on Post Status comments. So if anybody wants to hear more of Amber, please feel free to look at that episode.

If you haven't had the chance to listen to Amber before Amber tell us briefly about yourself.

Amber Hinds: Yeah. So I am the CEO of equalized digital. We're a certified B corporation and we specialize in WordPress accessibility. So we are WordPress, VIP partner. We do a lot of enterprise builds and we really got started in accessibility around 2016 when I started working for Colorado state university. And it was right around the same time that they were getting serious about accessibility. And the first website we did for them, there was like loosely did it, but there's no process. And then the second website, oh, this has to go to an accessibility committee.

And so I really got forced to learn accessibility cause it started getting audits. and so that was sort of when I started getting my feet wet with it. And then, um, since then we've had, you know, other government clients, large businesses where, you know, it's, it's a priority for them. And not just a checkbox in part of the launch process.

And, and I will say, I don't say that to imply that it is that way for CSU. Um, it's also a priority for them as well, around like 2017, 2018 is when I really started like diving into it and learning a lot more about it. And, um, Equalize Digital was a spinoff launched that in 2020, and we have a plugin called accessibility checker.

And I also organize the WordPress accessibility meetup, which is twice a month and super fun.

David Bisset: Oh, yeah, I hear that hassled good turnout. Is that, um, how many of those accessibility and meetups are.

Amber Hinds: Yeah. So actually we are a permanently virtual meetup. We're actually one of two meetups in the official WordPress meetup program that are not city-based.

The other one is a hosting meetup. I'm pretty sure hosting insecurity. And so we are always virtual and we always will be even with COVID we meet twice a month. It's on the first Thursday. In the morning for us people. And then in third, Monday in the evening for us people. So we have kind of worldwide coverage, which is cool because we get people from all over the world who come to the meetups and we can have anywhere from 30 to 70 attendees, which is really cool.

David Bisset: And you talked about an accessibility checker too, that your company does. Um, think I've seen that before. There is a, there is a free and a paid model there, right?

Amber Hinds: Yep. Um, so accessibility checker, you can find on wordpress.org, the free version, which scans unlimited posts and pages. It's not something that fixes your website, but what it does is it, it's almost like we use the analogy.

A lot of it's like the Yost for SEO

David Bisset: Now I am going to get copyright notices. Now

Amber Hinds: I know maybe I shouldn't say that I should go right in Post Status and ask, can I say this about my tool, but it's a good analogy, right? It puts a box on your poster page edit screen that shows you the results of an accessibility scan. Not everything with accessibility can be identified with a scan, but we can get a lot of things and it will help you to figure out what can be fixed.

Uh, in your content, we're in the header, footer, sidebar of that page in order to, um, make it more accessible. And it's great because it can be helpful with even post-launch of websites. So we really started it because our clients, we would build these websites, they were accessible and then clients would start adding content and they would start.

David Bisset: Adding content

Amber Hinds: over time, it would become less and less accessible, which, you know, if you're in an industry, especially here in the U S where there's a lot of lawsuits, you can't really risk that. And so we wanted to create something that would help to educate clients as they're adding content, but it's now become a tool that as we're building, we use it.

You can use it while you're developing locally, because it doesn't connect to an API. Your site doesn't have to be live anywhere for it to be scanned by a third-party tool. It can run right on your local server. Um, and you can use it to test while you're developing. Um, and it works really well for collaborative testing and then remediation also,

David Bisset: um, Amber and I are talking today because a lot of WordPress professionals have so much on their plate to think about accessibility should be one of those things that they think about.

But let's be honest. There's not enough hours in the day. Dig deep into some aspects or at least get the cliff notes of the highlights of what the accessibility trends are with what's going on in the community. Normally you would probably go to a WordPress meetup and hear a presentation about it. Amber, with her experience is going to share with us kind of like the cliff notes, I don't know if that's a good phrase, but at least the highlights in the next 20 minutes or so all of the links that we're about to share now, and probably even more are going to be in the show notes. So feel free to follow along if you can. But Amber, you said something about lawsuits and I know I've seen lawsuits in the news.

So when we hear about the, the lawsuits that are in the tech news now, what are the key things that we're taking away from those lawsuits?

Amber Hinds: Yeah. So when we're talking lawsuits related to website accessibility, we're typically talking about the United States. It's very specific states in the US where we see most of it, like California, New York, Florida.

These are typically cases that are filed under the Americans with disabilities act we're in California. There's a law called the Unruh civil rights act. That references website accessibility. Basically it's an individual who is unable to use the website with assistive technology frequently. In these lawsuits, it is someone who is blind and they are using a screen reader to navigate the web.

Sometimes there have been some pretty high profile cases also for against, um, universities, for example, that have a lot of video content on the web that don't have captions or transcripts for podcasts, or they do have captions. But the captions are auto-generated and not corrected. And they have been sued because the auto-generated captions are so poor that no one can really understand what's happening in the video if they are deaf.

So those are, those are probably what we see as far as most lawsuits, but there are other ones where people have mobility issues, things like that. I was follow usable net and we can post the link, but they put out a report twice a year about the status of lawsuits in the United States. Um, they just released one at the end of December for what it looked like in 2021, a little bit over 4,000 lawsuits.

But as a web developer, I think the way you have to think about this is getting a lawsuit dismissed doesn't mean that your client got their money back from their lawyers who had to work to do that, to get it dismissed in the first place. Um, it also doesn't mean that there wasn't a headache with having to deal with that.

So really we want to be kind of proactive on the accessibility side. And then, and the other way I kind of look at lawsuits is I have a hard time completely being anti lawsuits or upset about them because for better, for worse than the U S this is part of how our laws are made. Right. We want. Bring a bunch of things to the courts and maybe that prompts our legislators to actually enact stricter laws.

And, and that's sort of a problem in the US for for-profit businesses is we don't have really specific guidelines about what counts as an accessible website and what doen't.

David Bisset: if you're not an expert in this, so you don't have the time to become an expert, what resources or what would you do as a WordPress professional building a site for someone to make.

Outside of probably hiring someone else. Cause it was probably a good idea. What would be some, maybe some initial homework that somebody could do or where they would go to?

Amber Hinds: Yeah. So I think of course, going to the source is really important. Most laws around the world site the web content accessibility guidelines, the current version for that is 2.2.

Some laws are outdated and so they cite 2.1. But going there and I'm going to call this WCAG, W-C-A-G going through Wikipedia and actually reading the guidelines. It's like a long list, but each one is maybe a sentence, um, and sort of familiarizing yourself with what it is. And particularly what's at the AA level.

So there'll be labeled with either A, AA, or AAA and AA is generally what's considered the best practice. So other resources that I recommend a international association of accessibility professionals, and there are courses that you can take to prepare for. They have certifications. If you're interested in getting certified, which as a developer, if you have some certifications through them that can really help you on the job hunt.

So they have courses that will help you prep for that. And they also have ones that are focused on content creators, or designers or things that are not necessarily just coders. Um, of course our meetup is a great place to come and our meta actually counts as continuing ed credits for those certifications.

Uh, WP accessibility days, an annual conference that it should be in, uh, November of this year, we just set the dates. Actually earlier today, we had an organizer meeting. It's going to be November 2nd and third. It's a 24 hour conference.

David Bisset: I love hot breaking news. There you go.

Amber Hinds: But I think like that's a good place to get started as far as learning, once you're building a website, my recommendation.

Um, of course you can use tools like ours, or there are browser-based tools. Ax by DQ is one that we like and recommend a lot. Um, wave is one that a lot of people have heard of. I don't think it says thorough, so I don't typically recommend it as a browser-based tool, but it's one that a lot of people use, um, go to the front end of the website, or if you're a theme developer or a plugin developer, whatever page you have your piece of code on.

Try to interact with it fully without using a mouse. So use your arrow keys and your tab keys and the enter key and the space bar and see if you can do everything that you would want to do on that way.

David Bisset: You know, what I do is eat something with my right hand while I'm trying to do something on a website or sometimes type something in your left hand.

So that's my own personal testing. It's not as easy on some sites as it is on others.

Amber Hinds: I think the biggest thing too, if you're a developer is brush up on HTML, semantics

David Bisset: is HTML have accessibility built in into it if you do HTML correctly.

Amber Hinds: Yeah. This is probably one of the most common things we fix in plugins that are actionable elements that should really be buttons, meaning using a button and HTML button tag are just like a div or a spin class.

And then the plugin developer has. Written scripts that applies to that div or that span class in order to let's say, move the sides in a carousel or open a modal in a chat window, right. Or submit a form. Sometimes it's the submit button rather than being an input or a button is just a div or span the result then is that dibs in space.

Are not focused, simple. So you can't even go to them with your keyboard. Like if you hit the tab key, it'll just jump right past that element. Sometimes they do an okay job of adding focus, but it doesn't, it can't actually. Uh, interacted with, with an inter or a space bar, which is what we expect the button to do.

Um, so really just like using a keyboard to test what you do is very helpful. And if you follow correct HTML, if you're like, well, if this is a button to go to the next slide, then I use a button tag that gets you. Very close to accessibility.

David Bisset: It's when you start getting creative is when things go wrong.

And then I don't mean

Amber Hinds: And I don't want to say that, cause that makes it sound like you can't be creative.

David Bisset: Yeah. But yeah, there is a challenges in there between having these great designs. Elements or these design trends and then, you know, thinking to yourself, am I about to do something that's just going to affect you usability?

Should I, or excuse me, accessibility. Should I stick? You know, how far do you, do you kind of go out on a ledge a little bit and that's, it's a difficult path to walk? I think it sounds like,

Amber Hinds: I think I will say I've been noticing just in general, like design trends over the last like year or two, at least on major brands.

I feel like there's been this shift. Away from some of the like crazy movement that we saw a ton of parallax or things like flying or fading in, I, I see a lot more like minimalism kind of happening, which can be helpful. Now. I wish that some of the, like if you go on some of the themes, demos that you, certain page builders, you see all this crazy stuff flying in and I'm like, man, I wish people would get on it.

But like, if you follow a major brands, like I think a lot of. You know, background videos were super hot several years ago and I hardly see those any more on major, right. And, and so I do feel like some of the design trends have moved back towards things that are more accessible, but you know, the plus side of that too, is they're better on first speed and performance, which is super important for the fact that most of us have a huge chunk of our traffic coming from mobile devices.

And then of course we all care about our search engine ranking. So that's, what's kind of neat about accessibility that a lot of people don't realize is that when you focus on accessibility, you can actually increase the traffic to your website and increase or decrease your load times, right. Which might decrease your bounce rate.

Like a lot of things can be really helpful on accessibility, beyond making it work for people of all abilities.

David Bisset: Does dark mode help accessibility?

Amber Hinds: Dark mode can. Yes. I think the thing that is really interesting, we actually just had a talk, um, at our, one of our recent, um, accessibility meetups was on the use of overlays.

and one component of overlays, or sometimes you don't use a full. Powered like JavaScript overlay, but there's a lot of plugins in WordPress that are like add a dark mode toggle to the front end of the website. Um, and one of the conversation points there is that a lot of browsers and or operating systems themselves have dark mode options.

And typically those dark mode options function better than a dark mode option that has been added to a website. With a plugin or an overlay tool because the plugging in her overlay might not always catch everything. Uh, so unless you've very specifically coded your dark mode option for your theme and your plugins and everything that is on your site, it might like miss some headings or misplace holder texts or miss, you know, and then you have.

It's actually creates a readability problem for everyone. If it gets turned on and it's not catching everything.

David Bisset: So preferably, you want people to probably code that into their own theme directly rather than try to grab a plugin.

Amber Hinds: Preferably yes. If you want it. But I think going back to the fact that it exists on operating systems, a lot of people who know they need dark mode.

Um, that have certain disabilities. Like if you have glaucoma, some people with glaucoma white, like the FFF white really bothers them. Um, they probably know that and they have a filter turned on on their computer to always add a color overlay right. To that. So it won't bother them. So the real question is, is do people actually use that beyond us developers for like, oh, it's so cool.

We go to a website, you know, like whitehouse.gov. We all turned it on. Right. When it launched and we're like, oh, they have a dark mode. Let's go turn it on. But. Do real users use that on a daily basis? I don't know because the people with accessibility is probably have some other tool that does it for everyone.

Right. Not just this one. So they don't really need a tool that does it just on this one website.

David Bisset: There's also, um, a way in CSS that you can, um, but respect the system wide preferences for dark mode as well. So you don't need a switch on the website.

Amber Hinds: It'll it's just going to say on that mode, there's the same thing.

There's a system preference for. Um, decreasing movement. And if you do add movement, which I'm like, don't do it, don't make these fly in at all. But if you do, you want to make sure you code websites in a way that respects that as well.

David Bisset: So I, I don't, I literally just want to spend a minute or two on this because I think I would be kicked if I, we didn't, you mentioned overlays a minute ago, we're going to drop some links in the show notes.

So basically. If something says, um, we can fix your accessibility issues or add accessibility to your website with an overlay. That is a bad thing. No. And if so, what would you say for someone who has an existing site that might be tempted to use something like that?

Amber Hinds: The biggest thing I think that website owners or developers need to be aware of is that having an overlaid does not protect you from getting sued.

Or even having to settle or losing your lawsuit? Um, the number that I saw was I want to say, uh, between like 12 and 15% of the lawsuits last year were websites that already had overlaid accessibility overlays on them. Um, and the big one that I mentioned when we did the Post Status draft was, um, an e-commerce brand called eyebobs and they had the excessive.

On it. And excessively is probably a good case in point for why I think a lot of accessibility professionals really don't like overlays because they. Promise more than they can really deliver. And so they say we'll make, you know, install a single line of JavaScript. We'll make your website accessible in 24 to 48 hours.

And part of me wonders if the Overlake companies didn't promise that and they didn't promise we'll protect you from lawsuits. If they wouldn't get so much negative press, if they were more like we are part of the solution to being accessible, because there are some things. That automated technology can fix.

And um a good example of that is Joe Dolson has the WP accessibility plugin, which in some, in some sense of the word acts sort of like an overlay, it uses JavaScript to add things like add skip links to a theme that doesn't have skip links. He only does things he knows. He can do, right. And a lot of the bigger, like SAS based overlay solutions, they're promising that it will be 100% accessible, which is not realistic because there's just things that computers cannot do.

And human beings have to make decisions about like, even writing all texts, like you said, there's some cases where maybe I can get kind of close and there's other cases where. It just has no idea and it writes something completely wrong or, or it's like factually. Correct. But contextually makes no sense about why that image was selected.

And, and so that's really the thing about overlays is that, you know, they promise a lot more than they can deliver. And there's a great website that Karl groves put together. Well, he's got two, he's got the overlay, false claims.com where he talks about all of them. False marketing that they do. Um, and then the overlay fact sheet, which has come out of a ton of research research he's done into like, what can they literally actually achieve and what can they not?

And he's got a ton of like quotes and like tweets and stuff that he's included from actual people with disabilities and Mo a lot of them say that. Some I've heard, some of them say that they blocked like accessibility and user way, and some of these bigger plugins, their IP address so that the it won't load.

If they go to a website with that,

David Bisset: if you ask someone quickly to summarize what the accessibility to overlays are, and if you're someone who's looking into it, probably in the middle of a site project that may be accessibility, probably wasn't given that much consideration of in the beginning. And. There is a hint for you.

Maybe do it in the beginning then I guess, look at these links and just be very, very careful and realize that slapping a solution on something is probably not going to say. All of your problems, even the accessibility plugin. I think that accessibility plugin, the WP dash accessibility, I think it's fantastic.

Ideally, you want to start fresh. So it is that about summarize when it comes to overlays?

Amber Hinds: Yeah. That pretty much summarize it. Yeah. I think the only other thing on that, that was really interesting that came out of the, that particular lawsuit with the eyebobs was eyebobs came out with a statement afterwards they've since removed AccessiBe, but they said.

Part of AccessiBe contract, as they promise to help you, if you get sued and they reached out to AccessiBe multiple times and assessed to be just didn't even

David Bisset: respond. I think if you have to put that in your contract clause, I think you've got other, you've got other concerns. Um, let's, let's talk about, very briefly to close things up here.

Cause we have, we've gone over lawsuits. We've gone over. Thing, you know, things, particularly from those lawsuits, we want to pay attention to design trends and dark mode and overlays. There was a post about accessibility teams goals for WordPress WordPress, 6.0, we're going to include the link in the show notes.

So we don't have to cover it too much here. But what was the biggest thing that you think we should pay attention to in this.

Amber Hinds: Accessibility team for core has, um, they actually put up a post and they're kind of going back to how they assess which bugs or, um, accessibility issues to handle. And they are wanting to get feedback and input.

So if you are someone who uses WordPress and has experienced accessibility issues. I would highly recommend going and checking out the posts. They have a whole process for how you can submit, but they're going to use user and community feedback in order to make an order to prioritize their approach for 6.0,

David Bisset: okay.

So you heard it here. This is, this is something you may want to keep your eyes on, especially if you want to see what accessibility progress is being made for. Would you say these are calls for contributions, calls for feedback, but definitely this is a blog post about like the future. At least we're looking ahead into the future.

I think this is a definite the transparency, the openness, or at least the acknowledgement that these are concerns. Um, you know, some, some things can be fixed faster or better than others ways. Probably it's a complex issue when you've got an ever evolving product. And I'm looking forward to your analysis as well.

It may be in a couple of months, we can touch base again. And see, um, how WordPress specifically is addressing accessibility after, um, it releases 5.9 this month. So great. Yes. Yes. She's just saying yes, just to get rid of me. We have a great list of links here. Make sure to check them out and show notes.

You gave your comments about general designs or in general design trends. There's also a link or two in there about design trends that, um, you should probably think about from a usability perspective. You throw that

Amber Hinds: in there. Yeah, that that link is, uh, from bet Hannon's website. Um, one of her employees wrote it and it's actually really thoughtful about the different design trends and how some of them impact accessibility.

Um, it's a great blog posts, relatively newly published.

David Bisset: Fresh news. Yes. Whenever I see 2022 in the URL, that's a good sign.

Amber Hinds: Cause that's how they get you with the SEO, click.

David Bisset: I'm a sucker. And then we talked about accessibility overlays and of course the word per 6.0 blog posts. Check that out as well.

So that in a nutshell, if you have been feeling a little bit guilty about not keeping up with accessibility, news and trends, Amber, just basically something. Probably all you need to know, at least for now. And then you up to you now to dig in those show notes for those links and get further familiar, Amber, what would be a good place for people to follow you in any other big accessibility stuff on social media so they can continue being an.

Amber Hinds: Yeah. So we're just at equalized digital we're on Twitter, Facebook and LinkedIn, and the best place to find out about the meetup is if you go to equalize digital.com/meetup, you can get recordings of all the past events and see what's coming up.

David Bisset: Fantastic. Well, Amber again, thank you very much for joining me here.

One-on-one to bring the WordPress community a little up to speed on some latest accessibility trends and stuff.

Amber Hinds: Yeah. Thank you.

by David Bisset at January 28, 2022 02:07 AM under The Excerpt

WPTavern: Looking Ahead to WordPress 6.0: The Early Roadmap

With WordPress 5.9 only just stepping its toes out the door and greeting the world, the lead developers seem to have hardly taken a moment to catch their breath. Yesterday, Matías Ventura posted the preliminary roadmap for 6.0. It covers the general scope of the planned features to land this year.

Version 6.0 is expected to be a conceptual wrap of Phase 2 of the Gutenberg project, covering the visual site-building tools. They will continue playing a crucial role in future development, but developers will likely shift much of their focus to Phase 3 for WordPress 6.1 and beyond.

The following are the four phases outlined in the long-term roadmap:

  1. Easier Editing: Block-based content editing.
  2. Customization: FSE, block patterns, block directory, block themes, and global styles.
  3. Collaboration: Co-authoring content.
  4. Multilingual: Implementation of multilingual sites.

Editor Enhancements

Ventura listed 10 high-level focus areas around the post and site editors in core WordPress. They range from big-ticket items like a site-browsing mode to a more back-to-basics approach to the writing experience. I will focus on some things I most look forward to.

Theme Global Styles Variations

Twenty Twenty-Two theme design variations.

I have a running list of features that I cannot wait for. It seems that I find something new to add to it every other day or so. However, global styles variations would easily land in the top three.

The feature was expected but did not quite make it into WordPress 5.9. The goal was to allow users to select from multiple presets, transforming their site’s colors, fonts, and more at the click of the button. Several variations for Twenty Twenty-Two are already in progress.

This is sort of like a light version of child theming where only the theme.json file can be switched around. Essentially, they are skins.

This will most likely be one of the most crucial features of wrapping up Phase 2 of Gutenberg. Some pieces of it can be tough to follow, but several screenshots and videos are in the associated ticket.

Essentially, the goal is to refine the experience of moving around and interacting with the site editor, global styles, templates, and navigation. The work in 5.9 was stellar, but now there is a need to create a more intuitive interface.

Part of this is exposing the site structure as navigation outside the Navigation block in the UI. Users can currently only edit this from within the site canvas.

Such things are easier said than done, so contributors will have their work cut out for them. It will take a community effort.

Template Creation and Theme Switching

There is currently a limited number of templates that users can create through the site editor interface. For example, they can add an archive design but not break that down for specific types of archives (e.g., category) or slug-based versions of them (e.g., category-news).

Eventually, the site editor should allow the creation of any possible template from the template hierarchy. Presenting that in an easy-to-use interface will be a challenge. The hierarchy is limited only by the number of objects (posts, terms, etc.) on a site.

The other piece of the template-creation process is decoupling them from themes. Users should never lose their customized templates when switching from one to another. This becomes even more vital as plugins begin to introduce block templates.

Patterns as First-Class Creation Tools

Block pattern explorer.

Since their introduction alongside WordPress 5.5, patterns have been one of the most powerful tools available to users. I have been telling anyone who will listen that they will be a game-changer for at least two years. WordPress 6.0 might just make good on my promise.

One proposal would make patterns a central part of template and page building. Several pieces to this may fit into various flows, but one of the overarching goals should be for end-users to figure out what to do with an empty template or page. If done right, patterns can help them get off the ground running.

A proposal to transform existing content sections with patterns is also on the table. I wrote about how this was a missing component of the user experience earlier this week.

For theme authors, pattern registration may become less complex. Currently, they must use the Patterns API to register them via PHP. However, there is a proposal for WordPress to automatically recognize them. Patterns would most likely live in a dedicated /patterns folder in the theme and be registered similar to page templates. However, the final solution has yet to be determined.

Block Enhancements

There is an array of block-related enhancements to look forward to. Much of that will revolve around continued iteration on the Navigation block. Theme authors should also have more blocks for controlling the output of comments.

However, let me dive into some of the features I am most looking forward to.

Concept design of post featured images used in the Cover block.

Instead of superpowers, this would cover the use cases already possible in traditional theming. As much as I like block themes, one of the most glaringly-obvious issues is the Post Featured Image block. Essentially, it currently outputs the post-thumbnail image size.

Theme authors can set the width and height but not use cropped sizes that they have registered (fixed in the dev version of Gutenberg). They also cannot use it within the context of other blocks like Cover and Media & Text.

Beefing up featured image capabilities will hand over much-needed design tools to theme authors. Right now, the missing features are blockers for many layouts.

Inline tokens

If there has been one feature I have seen developers ask for more than most, it is the ability to output dynamic data within blocks or HTML templates. Some of this is solved with the Pattern block, but it does not cover every use case.

For example, there is no way to output the current date within a paragraph. This is a routine use case for the site footer copyright line. More typical is grabbing dynamic URLs to theme or plugin resources like images. Ventura noted in the post that they would explore the viability of inline tokens in this release cycle.

Other Blocks

Table of Contents block.

There may be a Table of Contents block on the way. It has been just under a year since I first wrote about such a proposal, so I am eager to see this land.

The Quote and List blocks should finally allow child blocks. Both are severe limitations that were always possible in plain HTML and the classic editor. I know more than a few bloggers who will be happy to see this happen.

Improvements to the Table block are also likely coming. At the moment, it offers a poor user experience — users cannot even tab through cells. At most, it handles the most basic of use cases. Currently, there are over two dozen open tickets to clean it up.

Design Tools

Several components should make theme authors, in particular, excited about 6.0. We could be looking at new height and width controls for more blocks, providing more flexibility in theme designs. And using min and max CSS features along with flex-based containers could make fine-tuning responsive designs easier.

On the typography front, there is a ticket for introducing responsive fonts. This is relatively easy to handle with custom CSS at the moment if a user chooses a theme’s predefined size. However, with custom sizes and line-heights, it is problematic. Because these tools exist in WordPress, we need responsive handling baked in.

One long-awaited typography feature is likely to launch in this cycle: the Web Fonts API. After being pulled from WordPress 5.9, it is now being developed within Gutenberg. I expect this to land sooner rather than later because the bulk of the code is finished.

Support for customizing captions across various blocks and possibly finding a solution for link hover and focus states are also on the slate for 6.0.


What features are you looking forward to the most in WordPress 6.0?

by Justin Tadlock at January 28, 2022 01:42 AM under WordPress

Post Status: WordPress 5.9 “Joséphine” Introduces Full Site Editing and Themes Created Entirely with Blocks

WordPress 5.9 “Joséphine” was released as planned this past Tuesday. Matt Mullenweg was the lead on this release. 5.9 involved 470 tickets on Trac and over 1,900 pull requests.

71 locales had translated 90% or more of WordPress 5.9 into their language at the time of release. There were more volunteers on this release than the previous 5.8 version. (624 now and 530 then.) Aaron Jorbin noted that WordPress 5.9 was the 8th release with 200 or more first-time contributors, and the total number of contributors (632) was the fourth-highest total in WordPress' history.  Also notable — 40 people have contributed to 20 or more releases since 3.2.

The 5.9 release introduces the Full Site Editor — a new suite of editing capabilities based on blocks that enable the editor beyond a post or a page. It can be used across an entire site now, and there are blocks for headers, footers, and menus. Full Site Editing (FSE) makes possible a “no coding” experience for site-building.

5.9 comes with a new default theme, Twenty Twenty-Two, which was built for FSE as a block theme. Twenty Twenty-Two ships with relatively little CSS, as its goal is for all theme styles to be configured through theme.json and editable through Global Styles.

At the time of this writing, there are 45 block themes ready for Full-Site Editing in the WordPress repository. Traditional themes work fine with 5.9, so the transition time between traditional and “full block” themes will likely be gradual. Nevertheless, WordPress 5.9 will be seen as one of the biggest steps in the second phase of the Gutenberg project.

Those not moving to a block theme will still be able to enjoy enhancements such as an improved Gallery block, more block controls and design tools (including typography, color, and dimension options in blocks), and a revamped List View that facilitates navigation between layers of content and nested blocks. Developers should make sure to check the WordPress 5.9 field guide for additional filters, actions, and performance enhancements.

WordPress' Executive Director Josepha Haden Chomphosy notes, “WordPress 5.9 is a halfway point on this massive, multi-year project to rebuild the way that people work with their content online. It started with a call to ‘learn Javascript deeply,' and I think this release helps prove that vision we were first given way back in 2013.”

Josepha also acknowledged “the work of over a thousand people who show up every day to help make getting online easier, to make crafting your personal brand a little more fun, and to do all that while also making sure users have basic freedoms that are vital to the open web.”

Looking ahead, Josepha has proposed a schedule of two major releases this year, and Matias has shared a roadmap to 6.0.

by David Bisset at January 28, 2022 01:38 AM under WordPress Core

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:

February 08, 2022 06:00 AM
All times are UTC.