Search

Nalezeno "json": 34

Mastering theme.json: You might not need CSS


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


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


Web3 is confusing because it’s still in its formative stages. Nobody quite knows which inventions will shape it next

JavaScript: Reverse Arrays


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


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


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


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


Is it :modal? * Critical CSS? Not So Fast! * Stable Diffusion * JSON Crack

Creating Style Variations in WordPress Block Themes


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


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


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


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


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?


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


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


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

Algolia


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


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

Nahoru
Tento web používá k poskytování služeb a analýze návštěvnosti soubory cookie. Používáním tohoto webu s tímto souhlasíte. Další informace