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.
April 2, 2024 — In this lesson, we will explore some new features that landed with WordPress 6.5.
April 1, 2024 — Let’s demystify templates together!
It can sometimes be tricky to understand how the different pieces of the WordPress puzzle connect: how do blocks, patterns, template parts, templates, and themes differ? When should you use one versus another? We’ll untangle everything and help you harness the power of templates to create the site you envision.
Diving into the Site Editor, we’ll explore the key elements that drive the look and layout of your site, clarifying the purpose of each built-in template. We’ll look at some scenarios when it makes sense to create a custom template, and get hands-on to build a couple of them live. By the end of the workshop, you’ll have a better understanding of the potential of WordPress templates, and be excited to play with templates on your own site!
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.