Gutenberg + Themes: Week of July 16, 2021

Hello! This is the 57th weekly roundup of theme-related discussions, fixes, and developments in GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/.  

As always, please weigh in on the tickets below — your feedback is crucial and appreciated. 

Issues / Discussions & PRs

  • Themes: theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. properties can’t be overridden in PHPPHP PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. http://php.net/manual/en/intro-whatis.php. #33367
  • Themes: Dynamic Template Parts #32939
  • FSEFSE Short for Full Site Editing, a project for the Gutenberg plugin and the editor where a full page layout is created using only blocks.: Fix nested layout containers #33501
  • i18n: Add pattern blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. #33217
  • Global Styles: Add new progressive disclosure panel and update spacing supports #32392
  • Themes: Add a setting to opt-out of block templates using theme.json #33500
  • Themes: improve the way custom units are handled #33470

Merged/Fixed/Announced

  • Themes: Allow themes to provide empty values for color.duotone and spacing.units #33280
  • Themes: Specify what settings can be part of settings.layout #33303

Overview Issues

  • Global Styles: Design Tools Overview #33447

General Resources:

#gutenberg-themes-roundup

Themes Team Meeting Notes – July 13, 2021

You can find the full meeting transcript on Slack (login required).

This meeting was based on the agenda. You can check agendas here

1. Weekly updates

The themes team published weekly updates about tickets and HelpScout emails. See this week’s updates here. Thank you @poena for this post. 

Current status:

  • 5 new tickets are waiting for review.

In the past 7 days,

  • 362 tickets were opened
  • 370 tickets were closed:
  • 351 tickets were made live.
  • 29 new Themes were made live.
  • 322 Theme updates were made live.
  • 0 more were approved but are waiting to be made live.
  • 19 tickets were not-approved.
  • 0 tickets were closed-newer-version-uploaded.

Number of reviewers: 4


2. Theme directory uploads

On 7/7/ 2021, theme uploads were broken for a few hours due to the tracTrac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. authentication change. The themes were added to SVNSVN Apache Subversion (often abbreviated SVN, after its command name svn) is a software versioning and revision control system. Software developers use Subversion to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly compatible successor to the widely used Concurrent Versions System (CVS). WordPress core and the wordpress.org released code are all centrally managed through SVN. https://subversion.apache.org/., but the trac tickets were not created for those themes. The issue was resolved quickly by the metaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. team and @dd32


3. Prevent spam and keyword stuffing

During the meeting, attendees discussed whether there needs to be a new requirement added for spam and keyword stuffing. The attendees agree that it is difficult to steward the description whether automated or manual.

@joyously suggested making the readme visible so that it’s not only searchable but also provides more room for the authors to describe their themes. 

@poena also suggested that a pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party similar to Akismet can be used to find spam in the description. See the related meta ticket #5773. You can follow up on the proposal and discussion here


4. Theme Check plugin new update

The new version of the Theme Check plugin will be released in the upcoming days. This release will solve the upload issue for blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. themes and wp_title issues. Besides that, there are some minor fixes too.


5. Open Floor

The process of updating the existing theme to accessibilityAccessibility Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both “direct access” (i.e. unassisted) and “indirect access” meaning compatibility with a person’s assistive technology (for example, computer screen readers). (https://en.wikipedia.org/wiki/Accessibility)-ready was discussed. When the existing themes are changed to accessibility-ready, they will be listed in the Updates to accessibility-ready themes report.

#meeting-notes, #themes-team

Themes Team Meeting Agenda for July 13, 2021

Channel: #themereview | Time: Tuesday, July 13 2021, 15:00 UTC

The themes team conducts a meeting on the second and fourth Tuesday of the month.
The meeting takes place in the #themereview channel on the WordPress SlackSlack Slack is a Collaborative Group Chat Platform https://slack.com/. The WordPress community has its own Slack Channel at https://make.wordpress.org/chat/. and you need an account to participate.

Along with the fixed agendas, we have an open floor at the end where you can ask or share anything related to themes.

We encourage all members and anyone interested to attend.

Meeting agenda

  1. Weekly updates
  2. Theme directory uploads
  3. Preventing spam and keyword stuffing in theme descriptions
  4. Theme Check pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party new update
  5. Open floor

Weekly Updates

Current statistics can be found on: https://themes.trac.wordpress.org/ 

Themes TracTrac Trac is the place where contributors create issues for bugs or feature requests much like GitHub.https://core.trac.wordpress.org/. ticket graph: https://themes.trac.wordpress.org/ticketgraph

Check regular weekly updates here.

Also check,


Theme Directory uploads

Last week, theme uploads were broken for a few hours due to a Trac Authentication change. It looks like the themes got added to SVNSVN Apache Subversion (often abbreviated SVN, after its command name svn) is a software versioning and revision control system. Software developers use Subversion to maintain current and historical versions of files such as source code, web pages, and documentation. Its goal is to be a mostly compatible successor to the widely used Concurrent Versions System (CVS). WordPress core and the wordpress.org released code are all centrally managed through SVN. https://subversion.apache.org/., but the trac ticket didn’t get made.

MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress. team disabled the uploads for some time before fixing it.

We would like to thank meta team and @dd32 for the quick fix.

Preventing spam and keyword stuffing in theme descriptions

Theme developers have used keyword stuffing in the theme description for their theme to show up when a user searches for a popular theme. There has been at least one negative review from a user calling this “click bait” and it has
been brought up by theme developers that this should not be allowed in the theme directory.

See the related meta ticket #5773. For this, we may need to clarify the theme requirements.

As an example, you can read how this is handled in the plugin guidelines:
https://developer.wordpress.org/plugins/wordpress-org/detailed-plugin-guidelines/#9-developers-and-their-plugins-must-not-do-anything-illegal-dishonest-or-morally-offensive

Theme Check plugin new update

Dion(@dd32) is going to release a new version of the Theme Check plugin in a few days to fix uploading Block themes to the theme directory.

So, If anyone has anything else they’d like to get into the next release, if you can get it merged sooner (within reason, tested, etc) than later that’d be great.

Open floor

We will discuss everything related to themes. Attendees can ask or share themes-related things.

Please comment in the comment box below if you have anything to bring up during the open floor.

#meeting-agenda, #team-meeting, #themes-team

Gutenberg + Themes: Week of July 9, 2021

Hello! This is the 56th weekly roundup of theme-related discussions, fixes, and developments in GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/.  

This week includes a few items specific to the upcoming release of WordPress 5.8. As always, please weigh in on the tickets below — your feedback is crucial and appreciated. 

Issues / Discussions & PRs

  • Theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. call for testing is still going on until the 14th! https://make.wordpress.org/test/2021/06/24/call-for-testing-thrive-with-theme-json/
  • GS: Request: expose theme.json layout presets in global styles #33184
  • Themes: Standardizing required theme CSSCSS CSS is an acronym for cascading style sheets. This is what controls the design or look and feel of a site. Variables #33180
  • Themes: Latest Posts excerptExcerpt An excerpt is the description of the blog post or page that will by default show on the blog archive page, in search results (SERPs), and on social media. With an SEO plugin, the excerpt may also be in that plugin’s metabox. length not working #33027
  • Themes: Option to disable default blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. styles #32051
  • Themes: Post MetaMeta Meta is a term that refers to the inside workings of a group. For us, this is the team that works on internal WordPress sites like WordCamp Central and Make WordPress.: Allow meta onto one line #33268
  • Global Styles: Consider supporting gap #32366
  • Global Styles: Try a simple navigation #33064
  • Blocks: Ensure bundled query patterns inherit correct layout settings #30506
  • Group Block: Add a ‘display horizontal’ option #24473
  • Editor: Reduce specificity of reset & classic styles #32659
  • i18n: Add pattern block #33217
  • i18n: Add a block to allow strings in template files to be translated #33192

Merged/Fixed/Announced

  • Themes: Update documentation for link color in WordPress 5.8 #33162
  • GS: Allow themes to provide empty values for color.duotone and spacing.units #33280
  • GS: missing link color on style properties to css var mapping. #33150
  • GS: Preset variables not being user on the site editor. #33149
  • GS: Update theme.json docs for WordPress 5.8 #33131
  • GS: Cover against non existing styles #33127
  • Blocks: RSS Block: Update block styles #33294
  • Blocks: Latest posts: Remove grey color for dark themes #33325
  • Blocks: TagTag Tag is one of the pre-defined taxonomies in WordPress. Users can add tags to their WordPress posts along with categories. However, while a category may cover a broad range of topics, tags are smaller in scope and focused to specific topics. Think of them as keywords used for topics discussed in a particular post. Cloud: Remove editor style so editor matches frontend #33289

Overview Issues

  • Updated scope for site editing projects #33094

General Resources:

Thanks, @scruffian, and @mikachan for your help with this week’s summary. Please comment if there’s something you’d like to highlight 🙂#gutenberg-themes-roundup

Summary: Theme features in WordPress 5.8

The release of WordPress 5.8 is planned for July 20, 2021, and is now at release candidateRelease Candidate A beta version of software with the potential to be a final product, which is ready to release unless significant bugs emerge. 2.
WordPress 5.8 includes important theme updates. You can test the features with the beta tester plugin.

This post is a summary. See the 5.8 field guide for more information.

The new widgetWidget A WordPress Widget is a small block that performs a specific function. You can add these widgets in sidebars also known as widget-ready areas on your web page. WordPress widgets were originally created to provide a simple and easy-to-use way of giving design and structure control of the WordPress theme to the user. screens are enabled for classic themes

For classic themes, the two widget screens have been updated, and you can place blocks in widget areas:

  • Appearance → Widgets
  • Appearance → Customize → Widgets.

Themes can opt-out of the widget screens by removing the theme support:

remove_theme_support( 'widgets-block-editor' );

Users can opt out of the widget screen by installing the Classic Widgets pluginPlugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party.

For further information, read the Widgets how to guide in the blockBlock Block is the abstract term used to describe units of markup that, composed together, form the content or layout of a webpage using the WordPress editor. The idea combines concepts of what in the past may have achieved with shortcodes, custom HTML, and embed discovery into a single consistent API and user experience. editor documentation. 

Block themes do not use widget areas, and the widget screens are not enabled.

You do not need to convert existing widgets to blocks

-At least not for the short term. You can add existing widgets to the widget screens, and you find them under the Widgets categoryCategory The 'category' taxonomy lets you group posts / content together that share a common bond. Categories are pre-defined and broad ranging..

Template editing is opt-in for classic themes

Template editing is a new feature where you can create custom page templates with blocks. Templates can be created and edited from the new Template section in the block editor.

Initially, template editing was enabled for all themes. Theme developers raised concerns that they could not update all their existing classic themes to support this new feature. With a late change, the release squad and editor team choose to change the template editing to be opt-in for classic themes. 

To opt-in, include a theme.jsonJSON JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML. file or use the new theme support:

add_theme_support( 'block-templates' );

Classic themes with a theme.json file can opt-out of template editing by removing the theme support: remove_theme_support(  'block-templates' );

Template editing can not be disabled for block themes.

Themes with support for template editing can select the default blocks used in new templates

Themes can include a default block template used for creating new templates in the template editor.

You can add the blocks by filtering defaultBlockTemplate in block_editor_settings_all

You can use a file:

add_filter( 'block_editor_settings_all', function( $settings ) {
     $settings['defaultBlockTemplate'] = file_get_contents( get_theme_file_path( 'block-template-default.html' ) );
     return $settings;
});

Or add the markup in the filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output.:

add_filter( 'block_editor_settings_all', function( $settings ) {
     $settings['defaultBlockTemplate'] = "<!-- wp:paragraph -->
     <p>This is a random template</p>
     <!-- /wp:paragraph -->";

     return $settings;

});

If the theme does not provide defaults, the new template will include:

  • Site title
  • Site tagline
  • Separator
  • Two group blocks
  • Post title
  • Post content

-At the time of writing this, it is still undecided if the feature will be enabled for the default theme.

New options for loading block styles

WordPress 5.8 improves the way block-styles are loaded by introducing 2 new features:

  • Load styles only for rendered blocks in a page
  • Inline small styles

You can opt-in to only load styles for the rendered blocks by using the should_load_separate_core_block_assets filter:

add_filter( 'should_load_separate_core_block_assets', '__return_true' );

You can opt-in to inline styles per-stylesheet basis, and reduce the number of requests when a page is rendered.
To opt-in, add the ‘path’ data to your stylesheet:

wp_style_add_data( $style_handle, 'path', $file_path );

The themes team encourage you to consider page speed and sustainability and take advantage of these new features. Read the dev note by @aristath for more information.

Both classic themes and block themes can use theme.json

Any theme can take advantage of generating CSSCSS CSS is an acronym for cascading style sheets. This is what controls the design or look and feel of a site. custom properties and default settings and styles for blocks using theme.json.

The team is updating the Theme Developer handbook; meanwhile, you can learn about the theme.json format in the block editor handbook

Block themes will not work in WordPress 5.8 without GutenbergGutenberg The Gutenberg project is the new Editor Interface for WordPress. The editor improves the process and experience of creating new content, making writing rich content much simpler. It uses ‘blocks’ to add richness rather than shortcodes, custom HTML etc. https://wordpress.org/gutenberg/ installed

In WordPress 5.8, you can only activate block themes with Gutenberg installed. Block themes no longer need to check if Gutenberg is active.

New blocks in 5.8

Site blocks:

  • Site title
  • Site tagline
  • Site logo

Post blocks:

  • Post title
  • Post date
  • Post featured imageFeatured image A featured image is the main image used on your blog archive page and is pulled when the post or page is shared on social media. The image can be used to display in widget areas on your site or in a summary list of posts.
  • Post content
  • Post excerptExcerpt An excerpt is the description of the blog post or page that will by default show on the blog archive page, in search results (SERPs), and on social media. With an SEO plugin, the excerpt may also be in that plugin’s metabox.
  • Post tags -variations of post terms
  • Post categories -variations of post terms

Archive blocks:

  • Archive title

Structural blocks

  • Login / out
  • Page list

Post listing blocks

  • Query LoopLoop The Loop is PHP code used by WordPress to display posts. Using The Loop, WordPress processes each post to be displayed on the current page, and formats it according to how it matches specified criteria within The Loop tags. Any HTML or PHP code in the Loop will be processed on each post. https://codex.wordpress.org/The_Loop., alias Post List
  • Post Template (inner block)
  • Query pagination (Previous page, next page, inner blocks)

Notable name changes

Post Hierarchical Terms (categories) and Post Tags have been reduced from two blocks to one block called Post Terms. The block has one variation for displaying categories and one for tags.

The Query Loop has been renamed to Post Template. The Query block’s label (The name visible in the editor) has been changed to Query Loop.

Changes to the Add Themes screen

The featured tab has been removed from the Add Themes screen in the WordPress admin area. The tabs now match the theme directory.

Thank you @kafleg and @aristath for proofreading.

#themes-team