Block development

  • Using block inspector sidebar groups

    With the introduction of block inspector tabs in WordPress 6.2, block developers have more control over where custom controls should appear by leveraging the group of the InspectorControls component.

    Read Post

  • useEntityRecords: an easier way to fetch WordPress data

    The @wordpress/data and @wordpress/core-data packages are extremely useful for fetching and working with data in your block development projects, but they are not exactly intuitive to use. This tutorial introduces you to useEntityRecords which is a custom React hook that makes fetching data a great deal easier for the developer.

    Read Post

  • What’s new for developers? (May 2023)

    The fourth edition of a monthly roundup that brings you all the latest features, updates, and fixes you need to know about for extending WordPress.

    Read Post

  • How webpack and WordPress packages interact

    Learn how WordPress uses Webpack to manage importing from the built-in packages that ship with WordPress.

    Read Post

  • What’s new for developers? (April 2023)

    The third edition of a monthly series that cuts through all the noise of a busy development cycle and brings you the latest features, updates, and fixes you need to know about to build on top of WordPress.

    Read Post

  • Quick and easy local WordPress development with wp-env

    wp-env is a tool that allows developers to create a WordPress development environment from the command line with zero configuration. Learn how to install and use wp-env, and discover the benefits that it provides over other local development environments.

    Read Post

  • What’s new for developers? (March 2023)

    Welcome to the second edition of this monthly series. If you’re a developer who builds on top of the WordPress platform, […]

    Read Post

  • Block deprecation – a tutorial

    There’s no need to use a dynamic block if you foresee that your block will change and evolve over time. You can use a static block and use Block Deprecation whenever you update your block. This tutorial post shows you how.

    Read Post

  • Converting your shortcodes to blocks

    Learn tips and tricks for creating blocks from existing shortcodes, based on real world examples. Understand when a shortcode should be converted to a block, processes to follow to convert blocks, and useful block development practices.

    Read Post

  • Creating a custom block that stores post meta

    Learn how to create a custom dynamic block that saves information to custom post_meta and creates a one-to-one experience in both the block editor and on the front end. You will see an example of how to to use @wordpress/create-block package to scaffold a block.

    Read Post