Dennis Snell retweeted
Inspired by Dennis Snell's talk on #WordPress Playground at #WCUS2024, I put together a #VSCode extension to edit ReadMe files in the block editor.
Dennis Snell retweeted
🌊 "We're so used to WordPress development being a drop in a massive ocean, but with Playground, *we are* the ocean. We get to choose everything that goes out to our customers," said @dmsnell23, sharing unique opportunities with Playground at #WCUS. 💻✨
#WordPress #PlayGround
Dennis Snell retweeted
Did you know that HTML API is built from 0, specially for #WordPress, and there's no other framework or CMS that has anything similar? They all still use regex 🥲 There's also an interesting effect on performance 👯
I'll show you its magic in two weeks at @PHPSrbija #PHPSRB 🥰
Dennis Snell retweeted
11/ In this hook, we'll create a custom class using the `wp_unique_id` function and apply it to our block using #WordPress relatively new `WP_HTML_Tag_Processor`. We'll then compose the style selector and add the icon markup using a regex.
Dennis Snell retweeted
When learning about new features in code, I found that reading tests is, by far, the fastest route to understanding the usage and learning about available methods.
Here are some utterly educational tests for WP_HTML_Tag_Processor by @dmsnell23 🤩
github.com/dmsnell/wordpress…
Dennis Snell retweeted
なお、ブランド名など翻訳させたくないテキストには、translate="no"をつけようネ💪
developer.mozilla.org/ja/doc…
WPのブロックエディタでは、WP_HTML_Tag_Processor を使うと良きです😇 .notranslate クラスを付けたブロックには一律 translate=noを付ける処理が書けます💪
developer.wordpress.org/refe…
Dennis Snell retweeted
Not many people realize the revolution that the HTML API represents for WordPress.
@dmsnell23 is doing an amazing job explaining how this API works in his workshop right now at #WCEU.
If you are not in this room now, make a note to see it later online 📝📺
Dennis Snell retweeted
If you want your own TOC block that dynamically creates a list of anchor links based on H2s, you can use the WP HTML Tag Processor in a custom block. Here's a basic example that skips any H2s that don't have an id (and it works inside templates, too 🤫)
Dennis Snell retweeted
In WP 6.5, the HTML API will be able to scan every token in an HTML document. This API is especially important for any programmatic modification of the content in the block era, and it's getting better and better with each version.
Read more in the following post 👇
Dennis Snell retweeted
🚀 Aprende a simplificar la edición de etiquetas HTML en #WordPress con nuestra nueva publicación: 'Uso práctico de la API HTML WP_HTML_Tag_Processor'.
Dos ejemplos prácticos que cambiarán tu enfoque de desarrollo web. #WordPressDevelopment #SEO
🔗 bit.ly/49tTgkZ
Dennis Snell retweeted
Posted a short little blog post after a very long time today. A little helper function to inline SVGs in your #WordPress code using some fun new 6.2 features. :) aurooba.com/inline-svgs-in-y…
Dennis Snell retweeted
The WP_HTML_Tag_Processor class that will ship with WordPress 6.2 is very powerful.
It allows you to handle various cases with a single process without having to manually replace strings 😊
Dennis Snell retweeted
WP_HTML_Tag_Processor hook to modify HTML markup on the fly, has to be one of the most promising features built into @WordPress in many years.
github.com/WordPress/gutenbe…
Dennis Snell retweeted
For block themes or really any block development that utilizes php don't sleep on the WP_HTML_Tag_Processor class. So easy to use and so much more performant than the old way. #WordPress #Gutenberg
Dennis Snell retweeted
First really good justification for HTML comments in Gutenberg I've read. Via @dmsnell23
fluffyandflakey.blog/2017/09…
Dennis Snell retweeted
We’re proud to announce a 4,294,967,295 character count limit on all WordPress.com blog posts.
Dennis Snell retweeted
1/3 of US bandwidth is used by Netflix...
the rest is used by `rm -rf node_modules && npm install`



























