Wholesome Code Wholesome Code
Wholesome Code Wholesome Code
  • Blog
  • Guides
  • Plugins
  • About
  • Contact

Matt Watson

Wholesome Code > Articles by: Matt Watson
A.

Array Chunk

January 4, 2020 7:07 amFebruary 9, 2021By Matt WatsonIn Guides, WordPress0 Comments81 Views

Using array chunk (array_chunk) we can easily split an array into a multidimensional array (an array of arrays). The array chunk function could be used to break an array into smaller parts, perhaps to make it easier to process. Basic…

Read more

A.

Array Change Key Case

January 2, 2020 10:06 pmFebruary 9, 2021By Matt WatsonIn Guides, WordPress0 Comments76 Views

Array Change Key Case (array_change_key_case) is a simple function THAT allows you to make all the keys of your array uppercase or lowercase. Basic Example Composition Features and Specific Examples Further Reading Basic Example If we setup an array with…

Read more

I.

Import your Existing Website into a WordPress Install via RSS

January 18, 2019 7:42 pmFebruary 4, 2021By Matt WatsonIn Blog, WordPress0 Comments173 Views

Do you want to import an existing website into WordPress? Does that existing site provide an RSS feed? Then this is the article for you. The great news is WordPress has a default importer for RSS. Simply go to Tools…

Read more

C.

Converting React.createClass to React.Component

January 14, 2019 6:18 pmFebruary 5, 2021By Matt WatsonIn Blog, WordPress0 Comments168 Views
Converting React.createClass to React.Component

In my last article I talked about patching older versions of React to work in a modern environment. In this article I go one further and give a step by step guide to upgrading a classic React component to a…

Read more

B.

Broken React.createClass Component? Let’s Fix It!

January 14, 2019 5:20 pmFebruary 5, 2021By Matt WatsonIn Blog, WordPress0 Comments152 Views
Broken React.createClass and React.propTypes

If you are building WordPress Gutenberg Blocks (or even if you are not) you may be trying to get a third party React Component working in your build. But if it’s an older element, specifically one that uses the deprecated…

Read more

C.

Create a Virtual File in WordPress with Support for WordPress Multisite

January 1, 2019 11:00 pmMarch 4, 2021By Matt WatsonIn Blog0 Comments13 Views

Recently I was working on a WordPress Multisite instance, and I needed each site (multilingual in this instance) to have their own unique dynamically generated sitemap. I generated these sitemaps by creating virtual files within WordPress. This article shows you…

Read more

S.

Secure Blocks for WordPress Gutenberg

January 1, 2019 11:00 pmFebruary 9, 2021By Matt WatsonIn Plugins, WordPress0 Comments79 Views
Introducing Secure Blocks for WordPress Gutenberg

Secure your content in the WordPress Gutenberg editor via login or by user role, with Secure Blocks for Gutenberg. Using Secure Blocks you can add any Gutenberg block inside a secure block, and have it render only to logged in…

Read more

H.

Hackathon – Hack the DMC – March 2018

January 1, 2019 11:00 pmMarch 4, 2021By Matt WatsonIn Blog0 Comments7 Views
Our plan of action

Hackathons (or Hack Days) are a great way to engage with technical people in your community (not to mention one or two business folks and entrepreneurs), they are also a huge amount of fun! Over the 9th and 10th of…

Read more

A.

A Question is a Powerful Thing!

January 1, 2019 11:00 pmMarch 4, 2021By Matt WatsonIn Blog0 Comments6 Views
A Question is a Powerful Thing

A question can be a very powerful thing! Take this one for instance: “Anyone in #barnsley got a building going free for an #umbraco mashup day?” Matt Watson What is so special about that question? Well, that was a very…

Read more

C.

Creating a Custom CMB2 Link Picker Control for WordPress

January 1, 2019 11:00 pmFebruary 8, 2021By Matt WatsonIn Plugins, WordPress0 Comments103 Views
Creating a Custom CMB2 Control

In this tutorial I will look at how you can create a custom control to extend the functionality of CMB2 (Custom Meta Boxes 2) by WebDevStudios. I develop websites (and web applications) with the WordPress CMS (Content Management System), and when a new…

Read more

Posts navigation

Previous 1 2 3 4 5 6 7 Next

Useful Links

  • About
  • Terms and Conditions
  • Privacy Policy
  • Cookie Policy
  • Contact

Guides

  • Create Custom Meta Boxes Using the WordPress Block Editor (Gutenberg)
  • Using Post Meta Fields to Store Attributes in the WordPress Block Editor (Gutenberg)
  • Using PHP to Render a Block in the WordPress Editor (Gutenberg)

Latest Posts

  • update_post_meta WordPress Block Editor (Gutenberg) Equivalent is editPost
  • wp_get_attachment_image WordPress Block Editor (Gutenberg) Equivalent is getMeta
  • get_post_meta WordPress Block Editor (Gutenberg) Equivalent is getEditedPostAttribute(‘meta’)
  • WP_Query WordPress Block Editor (Gutenberg) Equivalent is getEntityRecords

About

Wholesome Code: Crafting wonderfully wholesome things with WordPress.

Subscribe

© 2019 – 2021 Wholesome Code Ltd.
All rights reserved | Business No: 12196107

Menu
  • Blog
  • Guides
  • Plugins
  • About
  • Contact
Search