If you are wondering how to update_post_meta on the current post with Gutenberg, this is the article for you. You can just use editPost like so: The code above will update the post meta wholesomecode_meta_key_example with the value ‘Example’. Remember…
wp_get_attachment_image WordPress Block Editor (Gutenberg) Equivalent is getMeta

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…
Agile Project Management – A Quick Overview

This is a super quick reference guide to agile project management. In this guide we cover the following two approaches: Agile Sprint Cycle Agile Project Management with Kanban Agile Sprint Cycle Here is a diagram of how the Agile Sprint…
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 MoSCoW for Work Prioritisation

MoSCoW is a great way to prioritise your tasks, and an essential part of any agile project managers toolkit. MoSCoW stands for: Must Have Should Have Could Have Won’t Have Here is what you do. Plot your tasks on a…
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…