How to insert an ad between posts in Wordpress - Gaslamp Media Library
Does your project call for you to insert an ad, graphic, or some other type of content between posts? If so, there’s a very easy solution. A typical loop looks like this, taken from the twentyfourteen theme: if ( have_posts() ) : while ( have_posts() ) : the_post(); get_template_part( 'content', get_post_format() ); endwhile; else : get_template_part( 'content', 'none' […]
How to use the Color Tokens from your Design System directly in Tailwind CSS
Find out how to use your design system's color tokens directly in Tailwind CSS, and how to keep those token colors updated in all Figma components and your code.
CSS-Only Type Grinding: Casting Tokens (sm|md|etc) into Useful Values
How to use CSS-only Type Grinding to allow your design tokens written in your CSS to be transformed into any other values without relying on JavaScript!
Delightful UI Animations With Shared Element Transitions API (Part 2) — Smashing Magazine
In this article, Adrian Bece will show how to create same-document page transitions for Single Page Apps using Shared Element Transitions API and check out its future implementation and potential for creating cross-document transitions in Multi-Page Apps.
Rendering External API Data in WordPress Blocks on the Front End | CSS-Tricks
There’ve been some new tutorials popping here on CSS-Tricks for working with WordPress blocks. One of them is an introduction to WordPress block development