Best Practices for Blocks and Themes in the new editor

This post by Jason Yingling look in detail the best practices for developing new blocks in the new WordPress editor and how to integrate these features into features into WordPress themes.

One interesting part of this tutorial focuses on where to put your new blocks, in your theme OR in a plugin:

The general rule of thumb for including functionality in plugins or themes is to keep themes to the presentation of content and use plugins for functionality.

Blocks fall under this same set of principles. And I fall into the camp that blocks should be included in plugins as they extend the functionality of WordPress.

Read the full thing here.

Let's talk about you

Prefer to talk on the phone?
You can speak to Kimb by calling us direct on (+44) 01143 606660.

Email the team…
Send your requirements to hello@makedo.net and we’ll reply within 24 hours.

Make Do Blog Rewind…

You may have not noticed (we didn’t) but the last post on our Blog was number 100! So to celebrate this very small achievement we’ve dug out some of our favorite posts from the past 100 and will be re-sharing these over social media in the coming weeks!

What’s changed at Make Do since the COVID-19 lockdown?

4 weeks ago the UK was locked down because of the global COVID-19 pandemic. It has been a challenging few weeks for a small agency like ours but we’ve managed to adapt quickly to the change and remain productive in the ‘new normal’.

Read more blog posts

Sign up to our newsletter