Search
Mastering theme.json: You might not need CSS
18.10.2024
I totally get the goal here: make CSS more modular and scalable in WordPress. Put all your global WordPress theme styles in a single file, including variations. JSON offers a nicely structured syntax that’s easily consumable by JavaScript, thereby allowing …
Mastering theme.json:...
Optimalizace async. parseru JSON v C++20
8.5.2024
Toto je dodatek k předchozímu článku o parsování JSON pomocí korutiny. Ačkoliv původním záměrem nebylo maximalizovat rychlost, ale spíš benefit asynchronního zpracování, tak diskutéři pod článkem mne donutili podívat se na možnosti optimalizace právě na rychlost. Co měřit? Posuzovat efektivitu...
Why JSON-LD matters for Web3
29.11.2023
Web3 is confusing because it’s still in its formative stages. Nobody quite knows which inventions will shape it next
Unraveling the Online Legacy of Satoshi Nakamoto: Bitcoin’s Mysterious Creator
19.10.2023
The mysterious Satoshi Nakamoto appeared online nearly 600 times through emails and forum posts. Records of Nakamoto’s writings indicate he was most active in July and August. While Nakamoto covered many topics, Bitcoin’s inventor was notably visible when sharing new release...
JavaScript: Reverse Arrays
26.6.2023
Manipulating data is core to any programming language. JavaScript is no exception, especially as JSON has token over as a prime data delivery format. One such data manipulation is reversing arrays. You may want to reverse an array to show most recent transactions, or simple alphabetic sorting....
Adding Box Shadows to WordPress Blocks and Elements
7.12.2022
The CSS 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.
Adding Box Shadows to WordPress Blocks and Elements originally...
Using The New Constrained Layout In WordPress Block Themes
30.11.2022
One of the main goals of the WordPress Site Editor (and, yes, that is now the “official” name) is to move basic block styling from CSS to structured JSON. JSON files are machine-readable, which makes it consumable by …
Using The New Constrained Layout In WordPress Block Themes originally...
Managing CSS Styles in a WordPress Block Theme
7.11.2022
The way we write CSS for WordPress themes is in the midst of sweeping changes. I recently shared a technique for adding fluid type support in WordPress by way of theme.json, a new file that WordPress has been pushing …
Managing CSS Styles in a WordPress Block Theme originally published...
Collective #728
8.9.2022
Is it :modal? * Critical CSS? Not So Fast! * Stable Diffusion * JSON Crack
Creating Style Variations in WordPress Block Themes
16.5.2022
Global styles, a feature of the block themes, is one of my favorite parts of creating block themes. The concept of global style variations in WordPress were introduced in Gutenberg 12.5 which would allow theme authors to create alternate …
Creating Style Variations in WordPress Block Themes...
Working With Web Feeds: It’s More Than RSS
16.12.2021
Between Google Chrome experimenting with “following” sites, along with a growing frustration of how social media platforms limit a creator’s reach to their fans through algorithmic feeds, there’s been renewed interest in RSS feeds and they’re primed for a …
In-Page Filtered Search With Vanilla JavaScript
26.10.2021
If you have a page that includes a lot of information, it’s a good idea to let users search for what they might be looking for. I’m not talking about searching a database or even searching JSON data — I’m …
The post In-Page Filtered Search With Vanilla JavaScript appeared first...
jq for JSON
27.8.2021
I old enough to remember when we thought XML was going to change the programming world…then JSON saved us from that hell. Parsing and querying JSON data is fundamental task we’ve all coded for, but sometimes I just want to get some data locally with minimal fuss. I just learned of...
ECMAScript proposal: JSON modules
21.7.2021
Dr. Axel Rauschmayer looks at JSON modules, which is already live in Chrome 91 (but nothing else). It looks just like an ES Modules-style import, only you asset the type at the end.
import configData from './config-data.json' assert {type:
…
The post ECMAScript proposal: JSON modules...
Just How Niche is Headless WordPress?
15.6.2021
I wonder where headless WordPress will land. And by “headless” I mean only using the WordPress admin and building out the user-facing site through the WordPress REST API rather than the traditional WordPress theme structure.
Is it… big? The future …
The post Just How Niche...
CSS-Trickz: An Experiment with Netlify’s On-Demand Builders
8.6.2021
WordPress sites have an API by default. Wanna see this site’s most recent posts, with just a specific set of data… in JSON format? Here ya go. Alex Riviere made a joke site using that.
At first, the site …
The post CSS-Trickz: An Experiment with Netlify’s On-Demand Builders...
JSON in CSS
21.5.2021
Jonathan Neal tweeted a heck of a little CSS trick the other day, putting JSON inside CSS and plucking it out with JavaScript. Valid values for custom properties are quite liberal! So this looks for a CSS rule (e.g. a …
The post JSON in CSS appeared first on CSS-Tricks.
You can support...
NFT Criticism Heightens: Skeptic Calls Tech a ‘House of Cards,’ Claims NFTs Will be ‘Broken in a Decade’
21.3.2021
On the week of March 7 through the 13th, the term “NFT” touched an all-time record high in terms of popular search queries according to Google Trends (GT). The highest score is 100 and this week, GT shows interest has dwindled a hair down to 97. Meanwhile, while the NFT hype affects...
Algolia
4.2.2021
Algolia is for search. Literally any website can take advantage of Algolia-powered search. You put JSON data (“records”) in, and then you can search them at lightning speed. The magic of Algolia is that they help you with both of …
The post Algolia appeared first...
Using Trello as a Super Simple CMS
27.7.2020
Sometimes our sites need a little sprinkling of content management. Not always. Not a lot. But a bit. The CMS market is thriving with affordable, approachable products, so we’re not short of options. Thankfully, it is a very different world to the one that used to force companies to splash out...