How to Set Up PHPStan with WordPress and Visual Studio Code
|

How to Set Up PHPStan with WordPress and Visual Studio Code: A Step-by-Step Guide

As a plugin developer, it is imperative to write secure and error-free code. PHP is a widely used programming language, but it has peculiarities and pitfalls that can lead to unexpected errors and warnings in your code. Even simple things like a typo or a missing semicolon can cause problems, and it can be challenging…

How to Self-Host Google Fonts in WordPress with Kadence

How to Self-Host Google Fonts in WordPress with Kadence

Fonts play a crucial role in creating an appealing and engaging website. They enhance the overall aesthetics and readability of your content. Google Fonts is a popular choice for many website owners due to its vast library of high-quality fonts. However, loading fonts from Google’s servers can have some drawbacks, such as slower performance, privacy…

WordPress Block Development Made Easy: A Series of Practical Tutorials
|

WordPress Block Development Made Easy: A Series of Practical Tutorials

Are you ready to take your WordPress development skills to the next level? I’m excited to introduce you to my tutorial series on Gutenberg block development! Gutenberg is the block editor that allows you to build beautiful and complex layouts with ease. However, if you want to create your own blocks that suit your specific…

WordPress block development: Building multiple blocks

WordPress block development: Building multiple blocks

This is the fifth part of my Gutenberg block development tutorial series. In the past four chapters, we’ve learnt how to build static and dynamic blocks, add custom settings and change styles. Many of my plugins contained a single block which served as an alternative to the shortcode. However, I did need to build two…

WordPress block development: Building dynamic blocks

WordPress block development: Building dynamic blocks

This tutorial is the fourth part of the WordPress block development series. The first three parts of the series covered creating a simple block using @wordpress/create-block. We then customised the block to display an inline notice/alert with customisable text. In this tutorial, we will create a dynamic block. Unlike static blocks, dynamic blocks are rendered…