RSSAmplifier

Blog

Articles Archive : barrd.dev

Mostly Harmless

RSS feed ↗63 posts

Latest posts

WordPress, fixing Chrome’s Admin Bar glitch – CSS & GPU compositing

Fixed WordPress Admin Bar glitches in Chrome by replacing background-attachment: fixed using specific transitions instead of transition: all. The post WordPress, fixing Chrome’s Admin Bar glitch CSS & GPU compositing appeared first on barrd.dev .

WordPress, renaming an established custom ACF block

Step‑by‑step guide to rename established custom ACF blocks in WordPress: Update files, block.json, field groups, Db content related styles. The post WordPress, renaming an established custom ACF block appeared first on barrd.dev .

Secure localhost with no warnings using mkcert & BrowserSync

Secure local development environment with mkcert and Gulp/BrowserSync setup, no HTTPS security warnings, just a trusted localhost working site. The post Secure localhost with no warnings using mkcert & BrowserSync appeared first on barrd.dev .

Parallel development without the headaches using Git worktree

Git worktree, run multiple branches in parallel directories to juggle features, hotfixes and testing without stashing or constant checkouts. The post Parallel development without the headaches using Git worktree appeared first on barrd.dev .

WordPress ACF blocks: Simplify the editor with slide-out field panels

Upgrading ACF blocks to API v3 for WordPress 7.0 iframe editor. I explain why minimal previews beat full renders for faster, cleaner editing. The post WordPress ACF blocks: Simplify the editor with slide-out field panels appeared first on barrd.dev .

WordPress, safely outputting SVGs without fighting PHPCS

Safely render SVGs in WordPress by creating a custom wp_kses based escaping function that passes PHPCS, keeps security intact preserves code. The post WordPress, safely outputting SVGs without fighting PHPCS appeared first on barrd.dev .

WordPress, combined purge of Cloudflare + SpinupWP caches

WordPress, SpinupWP + Cloudflare plugin auto-syncs cache purges, simplifying site updates with easy setup and one-click Admin Bar controls. The post WordPress, combined purge of Cloudflare + SpinupWP caches appeared first on barrd.dev .

WordPress, automatically convert & upload WebP files using Cimo plugin

Occasionally there's a great bit of software that does one job and does it perfectly, Cimo converts uploads to WebP format locally for free. The post WordPress, automatically convert & upload WebP files using Cimo plugin appeared first on barrd.dev .

Edit the developer tools contextual menus in Vivaldi

Fed up of having Vivaldi Developer Tools in a submenu inside the of the contextual menus? Find out how to configure them to match your needs. The post Edit the developer tools contextual menus in Vivaldi appeared first on barrd.dev .

WordPress, conditionally dequeue 3rd party plugin JavaScripts

There are times a 3rd party plugin will add JavaScript when it's not needed, I'll show you how to dequeue using built in WordPress functions. The post WordPress, conditionally dequeue 3rd party plugin JavaScripts appeared first on barrd.dev .

WordPress, configuration and setup for Cloudflare web analytics

If you're interested in getting Cloudflare Web Analytics up running I've covered some pain points inc. how to properly enqueue for WordPress The post WordPress, configuration and setup for Cloudflare web analytics appeared first on barrd.dev .

Follow a users public posts on Mastodon using RSS

I stumbled across this undocumented feature of Mastodon via a post from Fedi.Tips that will allow you to follow a Mastodon Users Public Posts. The post Follow a users public posts on Mastodon using RSS appeared first on barrd.dev .

Contact Form 7 now natively supports Cloudflare Turnstile

As of version 6.1, Contact Form 7 WordPress Plugin natively supports Cloudflare Turnstile Spam Protection via a built-in integration module. The post Contact Form 7 now natively supports Cloudflare Turnstile appeared first on barrd.dev .

Bristol WordPress Meetup: A Reboot

The Bristol WP People Meetup Group has been out of action for years, however we're now back, different crew, different venue. Please join us. The post Bristol WordPress Meetup: A Reboot appeared first on barrd.dev .

WordPress, protect Contact Form 7 with Cloudflare Turnstile

Replacing Cloudflare's Turnstile for Google's reCAPTCHA in conjunction with the WordPress plugin: Contact Form 7 for form management. The post WordPress, protect Contact Form 7 with Cloudflare Turnstile appeared first on barrd.dev .

Find which node version an old project requires

A quick post to help ascertain which version of node was used on an old project that hasn't had the info supplied in a traditional manner. The post Find which node version an old project requires appeared first on barrd.dev .

Add .nvmrc file to automatically change node versions

Add a facility to automatically call 'nvm use' in a directory rather than having to remember which version of node works with your project. The post Add .nvmrc file to automatically change node versions appeared first on barrd.dev .

Verify Pixelfed account in Mastodon

How to add a verified Pixelfed link in your Mastodon Profile Page in a step by step guide, including how to edit a URL to avoid a problem. The post Verify Pixelfed account in Mastodon appeared first on barrd.dev .

WordPress, add environment type to top admin menu bar

Add the WordPress environment type into the top admin bar with code to place it into either the left or right hand side with basic styling. The post WordPress, add environment type to top admin menu bar appeared first on barrd.dev .

WordPress, entering the Fediverse using ActivityPub plugin

Outline with tips about issues and solutions to cover this entry point into the Fediverse by connecting your WordPress site via this plugin. The post WordPress, entering the Fediverse using ActivityPub plugin appeared first on barrd.dev .

Adding vignette to images in Adobe Photoshop

This is a QuickNote article about how to add the vignette effect (amongst others) to images in Adobe's Photoshop using the Camera Raw Filter. The post Adding vignette to images in Adobe Photoshop appeared first on barrd.dev .

Clearing Cookies and Local Storage in Google Chrome

This short article is a reference on how to locate and edit Cookies and Local Storage in Google Chrome under the DevTools Inspector. The post Clearing Cookies and Local Storage in Google Chrome appeared first on barrd.dev .

WordPress, display looped posts by month name

Display looped WordPress posts by month name which is only shown once with the posts falling under that month displayed beneath. The post WordPress, display looped posts by month name appeared first on barrd.dev .

Adding colour to an emoji using different CSS techniques

A 'for fun' article detailing some simple (and not so simple) techniques for adding extra colour to emojis using various CSS techniques. The post Adding colour to an emoji using different CSS techniques appeared first on barrd.dev .

Remove unused PHP versions from Laravel Herd

How to remove unused versions of PHP from the Laravel Herd application manually as it is currently not available via the User Interface. The post Remove unused PHP versions from Laravel Herd appeared first on barrd.dev .

How to update Roots Bedrock boilerplate after deployment

A quick note detailing how to manually update the Roots Bedrock boilerplate after deployment using GitHub's built in comparison tools. The post How to update Roots Bedrock boilerplate after deployment appeared first on barrd.dev .

Install Spatie Ray debugger for use with WordPress

This is a quick guide to setup Spatie's Ray debugger for use with the WordPress CMS in your Local Development Environment. The post Install Spatie Ray debugger for use with WordPress appeared first on barrd.dev .

WordPress, hide a plugin from the installed plugins list

If you ever need to hide a standard, must-use or drop-in plugin from the WordPress Admin Plugins page you can use the plugins_list filter. The post WordPress, hide a plugin from the installed plugins list appeared first on barrd.dev .

Updating to PHP 8.2 when using WordPress and WP CLI

Some notes on updating to PHP 8.2 and its effects when using Composer, WordPress (core its plugins) and WP CLI. It mostly worked just fine. The post Updating to PHP 8.2 when using WordPress and WP CLI appeared first on barrd.dev .

A snapshot in time of T2 Social, the early days

A short article with screen shots showing the main pages from the beta version of the T2 Social Media site before it changes name and logo. The post A snapshot in time of T2 Social, the early days appeared first on barrd.dev .

WordPress, upload and crop aspect ratio images with ACF

Wouldn't it be nice to give the tools users need to crop and resize images (with optional aspect ratio) to specific correct sizes we've set? The post WordPress, upload and crop aspect ratio images with ACF appeared first on barrd.dev .

Check your SpinupWP Dashboard for Non-Security Server Software Updates

Did you know that you are required to manually update SpinupWP non-security server upgrades? Here is a quick run through of what to expect. The post Check your SpinupWP Dashboard for Non-Security Server Software Updates appeared first on barrd.dev .

Using Laravel Herd whilst keeping Valet and PHP Monitor

Is Laravel Herd a good option? Can I keep my Valet and PHP Monitor configurations if I need them? All these questions and more answered. The post Using Laravel Herd whilst keeping Valet and PHP Monitor appeared first on barrd.dev .

Ding dong the mostly harmless web developer is wed

I don’t write much about my personal life but this seems like a genuinely worthwhile topic. A short personal account of my wedding day... The post Ding dong the mostly harmless web developer is wed appeared first on barrd.dev .

WordPress, regenerate images with WP-CLI and EWWW IO

When you know the correct sequence for regenerating images using WP-CLI and the EWWW Optimiser plugin it's a breeze. See how in 6 easy steps. The post WordPress, regenerate images with WP-CLI and EWWW IO appeared first on barrd.dev .

WordPress, add custom HTML into Blocks using Code Editor

These are the two methods you can use to add custom HTML into Gutenberg Blocks without having to add a HTML Block to achieve the same thing. The post WordPress, add custom HTML into Blocks using Code Editor appeared first on barrd.dev .

Install ACF with Composer using auth.json for authentication

Brief overview how to Install ACF with Composer using auth.json for authentication and use gitignore as a precautionary tactic for the key. The post Install ACF with Composer using auth.json for authentication appeared first on barrd.dev .

WordPress, receive outgoing emails using Proton Mail Paid Plan

Receive outgoing emails from WordPress into a Proton Mail Paid Plan using MailerSend. Follow the three steps to configure for your setup. The post WordPress, receive outgoing emails using Proton Mail Paid Plan appeared first on barrd.dev .

Moving from Google Workspace to a Proton Mail Paid Plan

The process I used to transfer a Domain from Google Workspace to a Proton Mail Paid Plan with a step by step guide on what to expect. The post Moving from Google Workspace to a Proton Mail Paid Plan appeared first on barrd.dev .

WordPress, add click to copy functionality to core code block

How to add 'click to copy' functionality into the WordPress Core Code Block without a plugin. All code included - CSS, JavaScript and PHP. The post WordPress, add click to copy functionality to core code block appeared first on barrd.dev .

How to disable notification sounds in your Mastodon account

Love Mastodon, loathe the annoying notification sounds? Finding where to turn them off is somewhat less than intuitive. I'll show you how. The post How to disable notification sounds in your Mastodon account appeared first on barrd.dev .

Create a custom font with only the glyphs you need

We shall be using the Open Source package FontForge to extract only the glyphs we need from a pre-existing font into a new custom font. The post Create a custom font with only the glyphs you need appeared first on barrd.dev .

Apple Mac, capture window Screenshots without a shadow

How to capture a Mac window without the unwanted box shadow. Including how to do it manually and setting a preference for permanent removal. The post Apple Mac, capture window Screenshots without a shadow appeared first on barrd.dev .

Making the move from LastPass to 1Password

I'll admit the thought of moving my accrued password details from LastPass to 1Pass was a daunting one. It was worth the effort and painless. The post Making the move from LastPass to 1Password appeared first on barrd.dev .

WordPress, install 2FA plugin when using Roots Bedrock

I'll show you in 3 steps how to setup WP 2FA plugin for a Bedrock type system including moving the private encryption key from the Database. The post WordPress, install 2FA plugin when using Roots Bedrock appeared first on barrd.dev .

Convert all glyphs of a font to individual SVG files

I'll show you in 5 simple steps how to convert all glyphs of a font using a simple script that will export each character into a SVG file. The post Convert all glyphs of a font to individual SVG files appeared first on barrd.dev .

Apple Mac, easily accessible folder for Screenshots

Are screenshots cluttering your desktop in an unorganised mess of confusion? This tip will save a lot of frustration and get you organised. The post Apple Mac, easily accessible folder for Screenshots appeared first on barrd.dev .

How to schedule Mastodon posts

Step by step guide to setup and use the Mastodon Scheduler App. Where to find the Access Token and how to create your first Scheduled Post. The post How to schedule Mastodon posts appeared first on barrd.dev .

WordPress, add custom post type template during registration

If you're creating a WordPress Custom Post Type that's going to be fairly uniform in its layout structure, check out adding a template. The post WordPress, add custom post type template during registration appeared first on barrd.dev .

Create a variable font subset for smaller file size

How to use the python fonttools library to reduce a fonts file size by removing elements you do not need using a technique called subsetting. The post Create a variable font subset for smaller file size appeared first on barrd.dev .