Articles Tagged
WordPress blocks
WordPress Global Styles Reference Tables
Defining Global Styles
Defining Global Settings
Glossary of Terms for theme.json
WordPress Block Themes CSS and Style Settings Guide
Styling Buttons in WordPress Block Themes
A little while back, Ganesh Dahal penned a post here on CSS-Tricks responding to a tweet that asked about adding CSS box shadows on WordPress blocks and elements. There’s a lot of great stuff in there that leverages new features …
Saving Settings for a Custom WordPress Block in the Block Editor
We’ve accomplished a bunch of stuff in this series! We created a custom WordPress block that fetches data from an external API and renders it on the front end. Then we took that work and extended it so the data …
Adding Box Shadows to WordPress Blocks and Elements
box-shadow
and outline
properties gained theme.json
support in WordPress 6.1. Let's look at a few examples of how it works in real themes, and what options we have to apply these styles to WordPress blocks and elements. Creating a Settings UI for a Custom WordPress Block
So far, we’ve covered how to work with data from an external API in a custom WordPress block. We walked through the process of fetching that data for use on the front end of a WordPress site, and how to …
Rendering External API Data in WordPress Blocks on the Back End
This is a continuation of my last article about “Rendering External API Data in WordPress Blocks on the Front End”. In that last one, we learned how to take an external API and integrate it with a block that …