Menu

Wordpress

Using Markdown and Localization in the WordPress Block Editor

September 23rd, 2020

If we need to show documentation to the user directly in the WordPress editor, what is the best way to do it? Since the block editor is based on React, we may be tempted to use React components and HTML code for the documentation. That is the approach I followed in my previous article, which…

My Long Journey to a Decoupled WordPress Gatsby Site

July 13th, 2020

As a professional research biologist, my playground used to be science laboratories filled with microscopes, Petri dishes, and biology tools. Curiosity leads many scientists on their journey to discoveries. Mine led me to web design. I used to try learning HTML on my lab desktop while centrifuging extraction samples or waiting for my samples to…

Adding a Custom Welcome Guide to the WordPress Block Editor

June 15th, 2020

I am creating a WordPress plugin and there is a slight learning curve when it comes to using it. I’d like to give users a primer on how to use the plugin, but I want to avoid diverting users to documentation on the plugin’s website since that takes them out of the experience. What would…

How to Use Block Variations in WordPress

May 6th, 2020

WordPress 5.4 was released not so long ago and, along with other improvements and bug fixes, it introduced a feature called Block Variations. I had a chance to use it on one of my recent projects and am so pleasantly surprised by how smart this feature is. I actually think it hasn’t received the attention…

Continuous Deployments for WordPress Using GitHub Actions

April 6th, 2020

Continuous Integration (CI) workflows are considered a best practice these days. As in, you work with your version control system (Git), and as you do, CI is doing work for you like running tests, sending notifications, and deploying code. That last part is called Continuous Deployment (CD). But shipping code to a production server often…

How to Customize the WooCommerce Cart Page on a WordPress Site

February 28th, 2020

A standard e-commerce site has a few common pages. There are product pages, shop pages that list products, and let’s not forget pages for the user account, checkout flow and cart. WooCommerce makes it a trivial task to set these up on a WordPress site because it provides templates for them and create the pages…

Digging Into the Preview Loading Animation in WordPress

October 22nd, 2019

WordPress shipped the Block Editor (aka Gutenberg) back in version 5.0 and with it came a snazzy new post preview screen that shows the WordPress logo drawing itself while the preview loads. That’s what you get when saving a post draft and clicking the “Preview” button in the editor. How’d they make it? I had…

Bringing CSS Grid to WordPress Layouts

July 31st, 2019

December 6th, 2018 was a special date for WordPress: it marked the release of version 5.0 of the software that, to this day, powers more than one-third of the web. In the past, people working on the platform pointed out that there has never been any special meaning to version numbers used in WordPress releases;…

CSS-Tricks on Flywheel

July 4th, 2019

I first heard of Flywheel through their product Local, which is a native app for working on WordPress sites. If you ask around for what people use for that kind of work, you’ll get all sorts of answers, but an awful lot of very strong recommendations for Local. I’ve become one of them! We ultimately…

Managing WordPress Metadata in Gutenberg Using a Sidebar Plugin

June 20th, 2019

WordPress released their anticipated over to the post editor, nicknamed Gutenberg, which is also referred to as the block editor. It transforms a WordPress post into a collection of blocks that you can add, edit, remove and re-order in the layout. Before the official release, Gutenberg was available as a plugin and, during that time,…