More Gutenberg junk
It seems that every once in a while, I need to disable more Gutenberg rubbish messing with WordPress websites. Here is an updated Gutenberg junk removal script.
Software engineering insights, technical write-ups, and documentation of past development projects.
It seems that every once in a while, I need to disable more Gutenberg rubbish messing with WordPress websites. Here is an updated Gutenberg junk removal script.
WordPress keeps adding more code junk, even when you aren’t using the WordPress block editor. Thankfully this is something which is trivial to fix.
A simple shim function to make the super useful str_contains() function from PHP 8 work in older versions of PHP.
There has been a recent trend to buy “Legal LSD”. Many assume they are buying actual real LSD, but they are not.
I don’t understand why people don’t believe in herd immunity, particularly with COVID-19. Perhaps Stockholm County has already reached it?
I had seen grossly inflated death rate numbers during the 2009 pandemic, and so knew to be very cautious of them. CFR is not IFR.
I had falsely assumed society would take a broad view of the situation. Life is about living, not about dying.
Almost two years ago, I wrote a post called Disable Gutenberg junk about how to remove extraneous junk CSS added via the Gutenberg plugin.
Many years ago I was hired to help out with building parts of USA senator John McCain’s presidential website. We disagreed wildly on many political issues, but it was exciting working on his website. Since he never became president, his presidential website never saw the light of day. He sadly died today following a long […]
Demo code for how to implement dynamic metaboxes based on previous metabox values within the superuseful CMB2 metabox tool for WordPress.
Sometimes you may need to create a fake page within WordPress, which doesn’t actually exist. You could make a real page, then add a shortcode into it for addition of dynamic content. But this could confuse the site owners, and it’s just generally a bit messy, particularly if the URL needs to change regularly. Thankfully […]
Have you ever been a member of a Telegram, Whatsapp or Discord group and had to deal with annoying spam bots waltzing in and posting content? I have. It annoyed/annoys the heck out of me. When I created my own Discord group, I added a crude spam blocking system to prevent spammers from following the […]