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”

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.