April 3, 2024 — In order to add custom CSS or JavaScript, a WordPress plugin needs a way to add script or style tags to the HTML being rendered at any time.
Fortunately, WordPress allows plugin developers to enqueue their plugin CSS or JavaScript, so that it is added in the right place in the HTML of any post or page request.
In this lesson you’ll learn how to enqueue custom CSS and JavaScript, on either the front end, or the admin dashboard.
March 28, 2024 — When developing WordPress blocks, you’ll need to consider the functionality of your block, and whether it needs to change based on external factors.
Fortunately, it is possible to create blocks that are either static or dynamic, depending on your requirements.
Let’s look at what the difference is between static and dynamic blocks, how to determine which is right for your needs, and the different approaches for development.
March 28, 2024 — One of the benefits of blocks is the ability to control the block’s appearance on a per-block level.
To do this, you can use something called block supports, as well as define the block’s styles.
March 28, 2024 — One of the benefits of building blocks is the ability to allow users to control the block’s appearance and behavior via block attributes.
Let’s learn how to add attributes to a block, and how to add controls to your block to allow users to change those attributes.
March 28, 2024 — After making any changes to your plugin file and block metadata, you can start adding the block’s core functionality.
This is usually a case of adding the block’s functionality in the editor, via the Edit component and adding how the block stores it’s output, via the save function.
March 28, 2024 — Once you’ve scaffolded your block using `create-block`, you can start tweaking the code to meet your requirements.
Let’s dive into what this might look like for the Copyright Date Block you scaffolded in the previous lesson.
March 28, 2024 — Once you have the necessary tools installed for block development, you can start developing your first block.
In this lesson, you will learn about a tool called create-block, which will allow you to quickly scaffold your first block plugin. You will learn why you should use create-block, how to use it, and review the code that it generates.
March 28, 2024 — WordPress blocks are the default way in which a WordPress site stores and represents content.
Let’s take a quick look at what blocks are, how they work, and what you need to get started developing them.
March 26, 2024 — This week I will continue from where I left off two weeks ago in testing out new developer-focused features coming to WordPress. Join me as I dive into testing WordPress 6.5, and let’s find out what new goodies are in store.
March 9, 2024 — In this week’s livestream I’m in full “testing WordPress” mode. With 6.5 coming out later this month, it’s time to spin up the latest Release Candidate, and see what developer focused goodies are in store.