Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 6, 2020 02:43 pm GMT

How to Create Custom WordPress Editor Blocks in 2020

Peter Tasker on creating blocks right now:

Its fairly straightforward these days to get set up with the WP CLI scaffold command. This command will set up a WordPress theme or plugin with a blocks folder that contains the PHP and base CSS and JavaScript required to create a custom block. The only drawback that I noticed is that the JavaScript uses the old ES5 syntax rather than modern ESNext. Modern JavaScript allows us to write more concise

Read article “How to Create Custom WordPress Editor Blocks in 2020”

The post How to Create Custom WordPress Editor Blocks in 2020 appeared first on CSS-Tricks.


Original Link: https://deliciousbrains.com/custom-gutenberg-block/

Share this article:    Share on Facebook
View Full Article

CSS Tricks

A Web Design Community curated by Chris Coyier

More About this Source Visit CSS Tricks