Exploring WordPress 6.4 (beta 4)


Upcoming and pending features

colorfultones.com/exploring-wordpress-6-4-beta-4

WordCamp Atlanta

Next slide


Damon Cook Avatar

Developer Advocate at WP Engine

WordCamp Atlanta

Next slide


WordCamp Atlanta

Next slide


  • Font Library (54169)
  • New blocks: Time to Read (53776), Table of Contents (42229), Scrolling Marquee (41730)
  • Public Interactivity API – merged, but not available for public use (50906)
  • Revisions to Templates and Template Parts (57704)
  • Post Formats for block themes (53049)

WordCamp Atlanta

Next slide


Lightbox toggle available for Image block (Global Styles and Block Settings) [51132]

WordCamp Atlanta

Next slide


Aspect ratio support for placeholder Image block state [54216]

WordCamp Atlanta

Next slide


Rename the Group block in the List View, or under Settings > Advanced [53735]

WordCamp Atlanta

Next slide


Styling for nested Heading and button blocks within a Group + Columns block [53667][54104]

WordCamp Atlanta

Next slide


Add a Background Image to the Group block [53934]

WordCamp Atlanta

Next slide


The toolbar location is attached to the parent for nested blocks: List, Navigation, and Quote block.

WordCamp Atlanta

Next slide


Orientation settings allows users to change text to be vertical
Themes can opt into this feature with writingMode: true [50822]

WordCamp Atlanta

Next slide


Navigation block supports Button block nesting [53966]

WordCamp Atlanta

Next slide


WordCamp Atlanta

Next slide


Ability to choose how many numbers to show in the Query Page Numbers block [51216]

WordCamp Atlanta

Next slide


Option to enable enhanced pagination on Query Loop block [53812]

WordCamp Atlanta

Next slide


๐Ÿ”ด ๐ŸŸก ๐ŸŸข

theme.json

"typography": {
	"fluid": {
		"maxViewportWidth": "800px",
		"minViewportWidth": "600px"
	},
}

[53081]

WordCamp Atlanta

Next slide


Briefly referred to as auto-inserting blocks.

Allows developers to attach blocks and insert them in specified locations:

  • before โ€“ inject before the target block.
  • after โ€“ inject after the target block.
  • firstChild โ€“ inject before the first inner block of the target container block.
  • lastChild โ€“ inject after the last inner block of the target container block.

See: Developer Resources > Block API Reference > Registration > Block Hooks

๐Ÿ”ด ๐ŸŸก ๐ŸŸข

block.json

{
    blockHooks: {
        'core/verse': 'before'
        'core/spacer': 'after',
        'core/column': 'firstChild',
        'core/group': 'lastChild',
    }
}

WordCamp Atlanta

Next slide


๐Ÿ”ด ๐ŸŸก ๐ŸŸข

theme.json

"settings": {
    "blocks": {
        "core/buttons": {
            "layout": false
        }
    }
}

[53378]

WordCamp Atlanta

Next slide


Default Theme

WordCamp Atlanta

Next slide


Preview Site

Call for testing Twenty Twenty-Four new default theme

WordCamp Atlanta

Next slide


Easier access to the ‘Open in a new tab’ for links

WordCamp Atlanta

Next slide


List View โ€“ utilize the Esc key to deselect blocks

WordCamp Atlanta

Next slide


Duplicate blocks in List View with keyboard shortcuts โ‡งโŒ˜D

WordCamp Atlanta

Next slide


๐Ÿ”ด ๐ŸŸก ๐ŸŸข

childComponent.js

function ChildComponent( props ) {
	const blockEditingMode = useBlockEditingMode();
	let text = 'Child component';
	if ( blockEditingMode === 'disabled' ) {  
		// Block is disabled, add custom block properties to indicate disabled mode.
	        text+= ' is disabled!';
	}
	
	if ( blockEditingMode === 'default' ) {
	    // Block can be edited, show controls or other editing-related settings.
	    <MyBlockCustomControls />
	}

        return <div { ...props }>{ text }</div>;
}

useBlockEditingMode() [52094]

WordCamp Atlanta

Next slide


New commands for block transforms and options to duplicate, copy, remove, and insert after/before.

WordCamp Atlanta

Next slide


Improved responsiveness to varying viewports for the Command Palette

WordCamp Atlanta

Next slide


Patterns

Ability to create custom pattern categories

WordCamp Atlanta

Next slide


Patterns

Patterns can be exported and imported between sites as JSON files [54337]

WordCamp Atlanta

Next slide


  • Preformatted: Add margin and padding support. (45196)
  • Social Links: Add Threads Icon. (52685)
  • Verse: Enable line breaks. (52928)
  • Details: Add block gap support. (53282)
  • File: Add margin and padding support. (45107)
  • Colum: Add stretch alignment (53325).
  • Image: Keep image size upon replacing an image (49982).
  • Buttons: Allow using a button element for button blocks (54206).
  • Post Content: Add block gap support (54282).
  • Post Content: Add color control support (51326).
  • Footnotes: Add link, background, and text color support (52897).
  • Footnotes: Add typography, dimensions, and border block supports (53044).

WordCamp Atlanta

Next slide


Join us in testing!

WordCamp Atlanta

Next slide


The WordPress community is us. Not “we”, or “I,” or “them.”

This presentation was created with the following:

WordCamp Atlanta

Back to the beginning