Looking for how to get the post thumbnail, or an attachment URL by its Id in WordPress gutenberg? You may have a returned post object by using the WordPress Gutenberg equivalent of WP_Query (or the WordPress Gutenberg equivalent of get_post)….
get_post_meta WordPress Block Editor (Gutenberg) Equivalent is getEditedPostAttribute(‘meta’)

If you are new to writing plugins for the WordPress Block Editor (Gutenberg), you may be searching around for how to get the meta of the current post with get_post_meta. Never fear, you can still get_post_meta, just use getEditedPostAttribute(‘meta’) on…
WP_Query WordPress Block Editor (Gutenberg) Equivalent is getEntityRecords

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 posts with WP_Query. You will be very pleased to know…
get_post WordPress Block Editor (Gutenberg) Equivalent is getEntityRecord

New to writing plugins for the WordPress Block Editor (Gutenberg)? you may be searching around for how to do a get_post to get a post by ID. You can still get a post with get_post, just use getEntityRecord and pass…
Wholesome Publishing – Comments and Draft blocks in WordPress
Looking for Google Docs style comments? Try the plugin from Multdots instead. Wholesome Publishing brings some wholesome editing features to the WordPress Block Editor (Gutenberg). Features include: Ability to add threaded comments to individual blocks. Ability to mark a block…
Debugging WordPress

You have just pushed out an update to your WordPress site, but somethings gone wrong. Perhaps you have got the dreaded White Screen of Death, or some error is being outputted on the screen. Here are the steps you need…
Where to Store WordPress Settings?

Saving some data in WordPress, but not entirely sure where it should go? It is always good to have consistency when creating plugins, so I’ve made a handy little guide. Network Setting (Multisite wide settings) For settings that impact several…
Using the WordPress Block Editor (Gutenberg) with the REST API

In my previous article I talked about how to loop through posts and custom post types within Gutenberg. In this post I talk about receiving and using custom data within Gutenberg from WordPress REST API endpoints. In this example we…
@wordpress/create-block bug hunt

Today I was writing my @wordpress/create-block series over on Wholesome Code, and during a demo I was filming relating to this, I wanted to use both a Mac and a PC to to run the script to show how easy…
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 may want to give it a quick read. Supporting CSS…