The FluentSnippets blog

Guides, deep-dives & the thinking behind the plugin.

Performance breakdowns, security notes, and practical tutorials for developers and agencies running custom code on WordPress.

Cover illustration for How to add custom CSS in WordPress that survives a theme change Tutorials

How to add custom CSS in WordPress that survives a theme change

Appearance → Customize → Additional CSS dies on the next theme switch. Put the same rules in a Styles snippet instead.

Cover illustration for How to add a Facebook pixel in WordPress without tracking yourself Tutorials

How to add a Facebook pixel in WordPress without tracking yourself

Meta sent you a pixel and said to paste it in the header. One Content snippet, skip logged-in users.

Cover illustration for How to stop editing functions.php in WordPress Tutorials

How to stop editing functions.php in WordPress

Theme updates put the file back. Put the same PHP in a Functions snippet instead, with an off switch.

Cover illustration for How to disable WordPress comments without a comments plugin Tutorials

How to disable WordPress comments without a comments plugin

Discussion settings do not kill the form everywhere. One Functions snippet does, without functions.php or another plugin.

Cover illustration for How to add Google Tag Manager in WordPress without opening your theme Tutorials

How to add Google Tag Manager in WordPress without opening your theme

Google gave you two blocks. Put them in two snippets, not in header.php, Site Kit, or a one-job plugin.

Cover illustration for How to Add Header and Footer Code in WordPress (Without Editing Your Theme) Tutorials

How to Add Header and Footer Code in WordPress (Without Editing Your Theme)

Google sent you a tag and said to paste it in the header. Put it in a snippet instead, so the next theme update can't eat it.

Cover illustration for A full redesign, and the story behind 50,000 sites Releases

A full redesign, and the story behind 50,000 sites

Dark mode, every screen redrawn, and real runtime work underneath — plus the origin story most of those fifty thousand sites have never heard.

Cover illustration for File-based vs. database snippets: a real performance breakdown Performance

File-based vs. database snippets: a real performance breakdown

Where the work actually goes on a page load, why the query count matters more than the milliseconds, and what zero buys you.

Cover illustration for Add Google Analytics 4 without another plugin Tutorials

Add Google Analytics 4 without another plugin

Drop your GA4 tag into wp_head in under a minute, scoped to just the pages you care about.

Cover illustration for Conditional logic: run code exactly where it belongs Tutorials

Conditional logic: run code exactly where it belongs

Role, page type, URL, date and more. Build grouped AND/OR rules visually, without writing the checks yourself.

Cover illustration for Standalone mode: ship client sites with zero lock-in Workflow

Standalone mode: ship client sites with zero lock-in

Install the mu-plugin loader, remove FluentSnippets, and hand off a site whose snippets keep working.

Cover illustration for A snippet starter kit for every new agency build Agency

A snippet starter kit for every new agency build

The analytics, hardening and cleanup snippets we drop into every project on day one.

Cover illustration for Every hook and filter in FluentSnippets Developers

Every hook and filter in FluentSnippets

Register your own snippet types, skip the runner entirely, or react when a snippet is created, updated or deleted.

Cover illustration for What happens when a snippet takes your site down Security

What happens when a snippet takes your site down

Validation before save, automatic quarantine at runtime, and the URL that gets you back in when neither one helped.

Ready to try it on your next build?

Install FluentSnippets free, or read the getting-started guide first.