~/work/universal-wp-plugin

liam@portfolio:~ cat case-study.md

← cd ..

Universal WP Plugin

Reusable WordPress plugin that standardizes integrations and admin utilities across multiple client sites in the NewstyleDirect ecosystem. One package replaces copy-pasted mu-plugins and one-off theme hacks.

wordpress 2024 Plugin author

$ stack

  • WordPress
  • PHP
  • REST API
  • Composer

01 // problem

Several WordPress properties duplicated the same custom logic — shipping helpers, admin tweaks, and API bridges — leading to drift and painful multi-site updates. A fix on one storefront did not guarantee the same behavior on another. Onboarding a new site meant re-scoping which snippets were "canonical" and which were stale forks buried in old themes.

02 // solution

Packaged shared functionality into one versioned plugin with clear hooks and configuration. Sites opt in via Composer or standard WP install; fixes ship once and roll out consistently. Open-sourced on GitHub for transparency and reuse. REST bridges and admin utilities live behind documented hooks so themes stay presentation-focused. Composer installs give deterministic versions in CI; standard WP install remains supported for hosts without Composer. The plugin is the integration surface the internal SvelteKit tool and WooCommerce store both rely on.

$ screenshots