Welcome to Wholesome Code

Freedom through code

Expert advice about remote working, running a business, writing wholesome code and staying healthy in the WordPress web industry.

Latest Articles

Code tutorials, remote working, keeping healthy at work. There is something for everyone.

WP_Query and the WordPress Block Editor (Gutenberg)
If you are new to writing plugins for the WordPress Block Editor (Gutenberg), you may be a little confused how to do all the things you did regularly, like grabbing …
Additional Configuration for webpack
This article builds on top of the webpack.config.js file we created in the article Extending the WordPress Create Block Script webpack Config. If you have not read that article, you …
Compiling Sass for Multiple Blocks with the webpack Config
This article shows an example of how to use the Sass files we setup in the article Extending the WordPress Create Block Script webpack Config with multiple blocks within the …
Extending the WordPress Create Block Script webpack Config
With official support from the WordPress Editor (Gutenberg) team, you can now quickly get up and running with a block plugin using the WordPress Create Block Script (@wordpress/create-block npm package). …