WordPress Playground public API allows you to run and control an entire WordPress stack in your browser. In this post, you will learn how to get started.
Author Archives: Adam Zieliński
How to Modify HTML in a PHP WordPress Plugin Using The New Tag Processor API
Adjusting the HTML markup in PHP has always been a struggle, but WordPress 6.2 makes it a breeze with the WP_HTML_Tag_Processor API. For example, here’s how you can add an alt=”” attribute to an <img /> tag: If you’ve ever struggled to add an HTML attribute using regular expressions, you know how big of anContinue reading “How to Modify HTML in a PHP WordPress Plugin Using The New Tag Processor API”
How to curry functions in TypeScript so that it always works correctly?
Removing the first argument from the function signature is surprisingly hard. The way to do it correctly is equally surprising!
How to Implemented Conditional Fields In TypeScript?
Using TypeScript to solve a common mistake Gutenberg developers make.
On Average, Online Reviews Are Broken
Any score is possible if you simply ask the right people.
Meet people like an improv comedian
I struggled with talking to new people a lot, but then I realized the counter-intuitive power of “how are you?” Saying “good” seems easy, but makes things hard. Sharing something honest seems hard, but it makes things much easier.
Online Reviews #2: Experiences don’t fit into star-shaped, byte-sized containers
Expressing experiences using stars is like sculpting a song, dancing about a painting, or cooking about a movie. It’s the wrong tool for the job. Life is all about nuance that the stars in the online reviews lack.
Online Reviews #1: Star Ratings Are Deeply Misleading
Everything about online reviews is counter-intuitive. We think that a restaurant with 4.5 stars on Google Maps is typically better than one rated 4.0, but it’s not. These scores barely mean anything. That’s why I sigh whenever someone with a mobile phone tells me we should watch a different movie, eat in another restaurant, or go to a better escape room based only on the online scores. Life isn’t that simple.
2021 in review – goals bankruptcy, personal breakthroughs, and a bike accident
2021 was another most intense year of my life. It was also unique: I reached almost none of the goals I set. The crazy part? I feel damn good about it.
Web3 publishing? Sure, if you like your work held captive.
I thought Web3 would revolutionize online writing, but publishing this article has changed my mind. The process was easy, but I don’t believe I own my work anymore.