12 Jul 2019

feedWordPress Planet

WPTavern: In Case You Missed It – Issue 28

photo credit: Night Moves - (license)

There's a lot of great WordPress content published in the community but not all of it is featured on the Tavern. This post is an assortment of items related to WordPress that caught my eye but didn't make it into a full post.

Changes to WordPress PHP Coding Standards

Based on changes that were proposed back in March, the PHP Coding Standards for WordPress have been altered. Note that these changes apply to WordPress core only and Gary Pendergast recommends that developers can and should choose practices that best suit your needs for plugins and themes.

PHP Coding Standards Changes

Excluding Remote Employee Job Applicants Based on the State They Live In

Like Brad, the topic of not hiring job applicants for a remote company based on the state they live in because of tax laws is not something I've seen discussed.

A really interesting topic around remote companies, and one I haven't seen talked about much, is the idea of "stateism". Basically, not hiring from certain states because of their heavy handed laws (usually tax related). There are a few states I'd rather avoid at this point.

- Brad Williams (@williamsba) July 12, 2019

In certain situations, companies that go the extra mile to hire a remote worker can also turn that person into an advocate.

Interesting. @wpengine had to jump through some additional hoops to employ me remotely as a Canadian and I think that shows what a good employer they are and makes me advocate for them more. Worth thinking about beyond purely financial considerations.

- Chris Garrett (@chrisgarrett) July 12, 2019

If you're involved in the hiring process for a remote company, I'd love to hear your thoughts on this topic in the comments.

Would You Like to See A Product Hunt for WordPress Products?

Once you create something awesome in the WordPress ecosystem, it's tough to get the word out. Ben from LyrWP wants to know if anyone is interested in a Product Hunt website for Themes, Plugins, and Services.

Would anyone be interested in a Producthunt purely for #WordPress themes, plugins and services? I think this needs doing. It's hard for #developers to get the products they slave over out there without costing a bomb in marketing. Anybody else interested in this happening?

- Ben (@lyrwp) July 12, 2019

I think it's a great idea and something I'd like to see become a reality. There are probably a ton of great products in the WordPress space that go unseen because there's no easy way to reach a large mass of people outside of sites like the Tavern.

However, Mario Peshev is concerned that such a site may end up posting infrequently or promote mediocre products.

I don't disagree with your stance. I just think that the overall quality of WP-baked solutions is pretty poor.

Meaning that the site will end up promoting mediocre products or post infrequently, that's all.

- Mario Peshev (@no_fear_inc) July 12, 2019

If Peshev's concern became a reality, there wouldn't be much of a point to continue with the site and developers would be back to square one.

Speaking of learning about new products, who remembers the Plugin Release posts on WeblogToolsCollection.com?

Early Look at What A Block Directory in WP-Admin Could Look Like

Mel Choyce has shared a collection of concept images that depict what a Block Directory could look like inside of WP-Admin. She describes the inspiration for each image and how each screen would work.

Block Directory in WP-Admin Concepts

What I find interesting is that users will be able to try out new blocks before installing them. "Inside the modal, you'd also be able to demo a block before installing. @ck3lee has figured out how to make this possible," Choyce said.

It's also great to see that the tech behind Shiny Updates will be used for quickly installing and activating new blocks. If you have feedback regarding the conceptual designs, please leave a comment on her post.

Notes From Lead Developer Conference

More than 20 Automatticians are attending the Lead Developer Conference in London, England, and are publishing notes from each day. You can check out Day 1 here.

WPCampus 2019 Will Be LiveStreamed

Thanks to Pantheon, all sessions excluding workshops at WPCampus will be livestreamed with captioning and available to watch for free. Simply visit the livestream page on Friday, July 26 and Saturday, July 27.

Apply for a DonateWC WordCamp Sponsorship

DonateWC is looking for applicants for its sponsorship program. DonateWC provides underrepresented and minority groups within the WordPress community with the means to attend a WordCamp.

That's it for issue twenty-eight. If you recently discovered a cool resource or post related to WordPress, please share it with us in the comments.

12 Jul 2019 10:00pm GMT

HeroPress: Syndication!

WordPress.org banner

As of today, HeroPress essays will be syndicated on WordPress.org/news once a month, on the first friday of the month.

A few weeks ago Josepha The Great approached me and said she'd been tasked with getting Better News at that location, and HeroPress was one of her first thoughts. We discussed how it would work and here's what we came up with.

Once a month I'll suggest an essay and someone at Automattic will paraphrase and condense the essay and publish it at WordPress.org/news along with links to the original. This gives us both the opportunity for a traffic boost.

I'm super excited about this opportunity, and I'd like to thank Josepha Haden, Matt Mullenweg, Yvette Sonneveld, Alison Rothwell, and Aditya Kane for their work in making this happen.

The first one is about Ugyen Dorji from Bhutan, I hope you'll check it out. Please leave a comment for Ugyen on HeroPress.com.

The post Syndication! appeared first on HeroPress.

12 Jul 2019 8:03pm GMT

WPTavern: Experimental Block Areas Plugin Allows for Editing Content Sitewide with Gutenberg

WordPress core committer Felix Arntz is working on an experimental Block Areas plugin that would enable users to create and edit content sitewide using the Gutenberg editor. Inspired by a conversation with Morten Rand-Hendriksen at WordCamp Europe, Arntz created the plugin to "explore what the theming of tomorrow could look like already today."

Block Areas allows users to define specific areas where they want to use the block editor (outside of regular posts). The block areas function similar to widget areas, but are created using a custom post type with a familiar admin UI.

"They are implemented as a post type - with the key aspect that they can't be accessed in the frontend via a certain URL, but your theme has to render them via a block_areas()->render( $slug ) method that the plugin exposes," Arntz said. "The slug you pass to the method should match the block area slug (i.e. post slug) of one of the areas you have created in the admin."

The plugin comes with block areas for site header and footer to provide a starting point. However, adding the block areas to a theme is one technical hurdle that currently limits this experimental plugin to developers.

The concept is reminiscent of the now seemingly abandoned Buckets plugin that aimed to provide an alternative to WordPress widgets. It allows admins to create reusable pieces of content and place them anywhere on their sites. Reusable buckets can be created with the same UI as the legacy post editor and then placed anywhere using a shortcode or via a button in the TinyMCE editor.

In the case of Buckets, the idea was to preserve the users' ability to create content using the visual editor and media manager. Block Areas seems to have a similar aim - to preserve users' ability to use the block editor anywhere they want throughout the site. That is part of the general goal of Gutenberg Phase 2, which includes migrating widgets and menus to use the block editor.

Block Areas is just one idea for providing a unified approach to reusable content inside WordPress. It is not an official project and may not be the approach that the Gutenberg team settles on for core. However, it offers a good opportunity for discussion and collaboration about the possibilities of taking the editor sitewide. This will open up a whole new genre of blocks for plugin developers.

"Think about a block that renders the site title, the custom header, a menu, the copyright information - taking Gutenberg to the site level opens up a whole new set of typical blocks that would be required," Arntz said. "Start thinking about which blocks you would need outside of your post content bubble today."

The Block Areas plugin is available on GitHub if you want to experiment with it. Check out Arntz's introduction post for more implementation details.

12 Jul 2019 5:41pm GMT