Using gulp-libsquoosh to replace Imagemin
All my Javascript projects include imagemin, a tool that allows you to convert images between different formats and do some level of processing to the images as it converts them. Unfortunately, the...
All my Javascript projects include imagemin, a tool that allows you to convert images between different formats and do some level of processing to the images as it converts them. Unfortunately, the...
One of the hardest files in an epub book is the content.opf manifest file. This file tells an epub reader what files are in a specific rendition of an ebook. There are three components to a...
Starting in WordPress 5.8, there is a JSON metadata file we can use to register blocks. The block.json file is the block-level equivalent to theme.json and is now the preferred way to register...
Meta boxes work in Gutenberg but they may not do so for a while or be the best solution for your needs. During the full migration to the Block Editor, WordPress Provides two compatibility flags. Most...
CSS Color Module Level 4 and level 5 introduce a lot of new color features but unless you're really into the guts of working with colors on computers you probably wouldn't know how to use them. There...
Privacy in the context of a web application like WordPress goes beyond legal requirements. It's also answering the following questions: What information we collect Why we collect it How we use it How...
If we want to allow users to configure our plugin, we can add menus to the admin pages either as a top-level menu or a submenu of an existing menu. When used with the settings and options APIs we get...
The next few items (Meta Boxes, and Cron) are nice to have, require a lot more work, and are not necessary for the majority of plugin projects. I include them here because I'm interested in what they...
Rather than writing plugins (or any PHP code) procedurally, we can leverage Object-Oriented Programming (OOP) to write our plugins. OOP is easier to maintain and extend as the needs of the plugin...
Anyone can build a plugin but it takes a lot of work to get the plugin done right and ready for sharing or WordPress review and approval. I realized the extra work involved when I was looking at the...