-
A primer on WordPress SlotFill technology
What is SlotFill and how can you use it in your projects? Well, lets start at the beginning of my SlotFill exploration. A common business model in the WordPress ecosystem is to provide a free plugin (or theme), generally distributed on WordPress.org, and then offer premium functionality that users can purchase…
-
Programmatically add classes to blocks in the WordPress editor based on attributes
When working with custom attributes in the WordPress block editor, you may want to add a specific CSS class to block components based on the value of your attributes. This post will detail how this can be done. Note that we will not be covering how to add classes to blocks on the frontend of your site, just the block editor…