Category: JavaScript
-
Headless Hackathon Takeaways
In early 2019 the Studygroup I’m in decided to take part in a hackathon hosted by Zac Gordon. The goal was to build a headless WordPress site. Our Headless Site: A meal planning site that allows you to create your meal plan for the next week from a list of stored recipes. WordPress Installation For…
-
How to Use The @wordpress/scripts Build Tool with Custom WordPress Blocks
This post was commissioned and first published on javascriptforwp.com In our last article about how to build a basic block using registerBlockType with no webpack or JSX we covered how to setup a custom block without having to use a build system, jsx and modern javascript that needs to be converted in order to run in browsers…
-
Gutenberg Block Tutorial with registerBlockType() and NO Webpack, ES6, JSX or Babel
Since the new Gutenberg block editor has been merged into core with the release of WordPress 5.0, the demand for creating your own blocks has increased greatly. In this short guide we’ll be getting you up and running creating your first block. Although build tools like webpack are commonly being used, in this tutorial we…