Skip to main content
Dublin Library

The Publishing Project

Plugin Topics: JSON Block Configuration

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...

Color.js A CSS Color Tool in Javascript

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...

Plugin Topics: Thinking about privacy

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...

Plugin Topics: Adding Plugin Admin Pages

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...

Plugin Topics: Meta Boxes and Cron

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...

Notes On Building A WordPress 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...

Add inline scripts in WordPress

When working with WordPress, you may need to insert an inline script into a page or a template. This post will discuss two ways to do it Method 1: wp_add_inline_script() # The first method,...

Archive Navigation