Skip to main content

Basics

Prior to WordPress 5.0, themes were mostly PHP-based, with JavaScript used only to provide interactive functionality on the website. Now it's a bit different because we have PHP in the core, JavaScript (specifically React.js) in the block editor, and some styles in the editor and the theme parts of the website.

Now that everything is different, we must adapt to the changes as well.

Let's finally start with documentation‚Äč

We took our time to set up a bunch of WP-CLI commands. That should help you set up everything and use all our features, without worrying about correct names, files, and organization. You can find out more about it on this link:

WP-CLI

If you would like to read about our extensive WP-CLI features, find out how to use service classes, or learn how dependency injection container works with auto wiring, this link is for you:

Back-end stuff

If instead, you would like to check out what we have prepared regarding the JavaScript Babel and Webpack, or find out how we ensure that our code is the same across multiple developers, this link is for you:

Front-end stuff

On the other hand, if you would like to see our extensive Dynamic Blocks collection and learn how you can use them with all the developer's flexibility and as little code duplication as possible, check out this link:

Block editor blocks