In my last guide I told you how to install your GitHub maintained WordPress themes and plugins with composer. Well what if I told you you could also use composer to install any Theme or Plugin from the WordPress repository?…
Install WordPress Plugins and Themes from GitHub with Composer

In your client projects, do you keep installing the same theme or plugin that you have developed? Do you make a fix in one project that you really wish you could easily roll out to all the other projects? If…
update_post_meta WordPress Block Editor (Gutenberg) Equivalent is editPost

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…
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…
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…
Coping with Lockdown

Virus PNG Designed By nickfz from Pngtree.com. On the morning that this blog post was published, my son presented himself with a temperature and a cough. Previously the UK Government had issued advice that if you have a temperature and…