Skip to content

Hello Blocks! Coding a custom block

Photo of Wes Theron
Hosted By
Wes T. and Ryan W.
Hello Blocks! Coding a custom block

Details

Target Audience: Developers

Have you always wanted to create your own Gutenberg block but didn't know where to start? Or, maybe you tried and found the process daunting or confusing?

If so, then this intermediate learn-up is for you!

PLEASE FOLLOW THESE STEPS BEFORE THE SESSION:
https://developer.wordpress.org/block-editor/how-to-guides/javascript/js-build-setup/#setup

A local WordPress environment is required (Local, MAMP, XAMP are options) with the ability to access and edit files in the wp-content/plugins directory.

At the end of this session, you'll be able to...

  • Scaffold new blocks using the @wordpress/create block package and understand the purpose of each file.

  • Understand the build process provided by the @wordpress/scripts package.

  • Understand the block registration process and block.json

  • Use the supports property to add controls to your block

  • Learn how to add custom attributes to a block to save and display a user-defined message in your block.

  • Understand the difference between a static block and a dynamic block, and the pros and cons of each.

Date: Monday 21 February 2022
Time: 12:00 pm Eastern Time
Where: Zoom (link will be visible after RSVP)
Audience: Developers
Level: Intermediate

Check out the time in your local timezone:
https://www.timeanddate.com/worldclock/converter.html?iso=20220221T170000&p1=tz_et&p2=22&p3=tz_pt

Photo of Learn WordPress Online Workshops group
Learn WordPress Online Workshops
See more events