CODESM Decoupled Bundle releasesself-updates
Manages site settings, GTM config, script injection, and triggers Astro builds for decoupled WordPress + Astro setups.
by Kavit Trivedi · github.com/codesm003/codesm-decoupled-bundle · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/codesm003/codesm-decoupled-bundle/releases/download/v0.0.1-prerelease-rc12/codesm-decoupled-bundle.zipShips its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.
Readme
CODESM Decoupled Bundle
A WordPress plugin that centralizes site configuration (title, contact, GTM, scripts, maintenance mode) and exposes it via REST API for static site generators like Astro.
Requirements
- WordPress 6.9 or later
- PHP 8.0 or later
Installation
- Upload
codesm-decoupled-bundleto/wp-content/plugins/ - Activate in Plugins → Installed Plugins
- Go to Decoupled Bundle in the admin sidebar to configure
Settings Structure
All settings are stored under the WordPress option codesm_decoupled_bundle_settings as a hierarchical array. Public endpoints never expose the build section (GitHub credentials).
site — Site Identity
| Field | Path |
|---|---|
| Site Title | site.title |
| Site Description | site.description |
| Title Format | site.title_format — template using %title%, %sep%, %site% tokens |
| Title Separator | site.title_separator — one of: \|, -, –, ·, •, /, : |
contact — Contact Information
| Field | Type |
|---|---|
contact.phones[] |
{ label, number } |
contact.emails[] |
{ label, address } |
contact.locations[] |
{ label, address: { street, city, state, zip, country }, coordinates: { lat, lng } } |
social — Social Media Links
| Field | Type |
|---|---|
social[] |
{ platform, url } — multiple entries per platform allowed |
gtm — Google Tag Manager
| Field | Type |
|---|---|
gtm.id |
GTM container ID, e.g. GTM-XXXXXXX |
scripts — Script Injection
| Field | Type | Description |
|---|---|---|
scripts.json_ld |
string | Global structured data (no ` |
Read the full README on GitHub →
Releases
| Tag | Published | Asset | Downloads |
|---|---|---|---|
| v0.0.1-prerelease-rc12 | Jun 23, 2026 | codesm-decoupled-bundle.zip | 3 |
| v0.0.1-prerelease-rc11 | Jun 23, 2026 | codesm-decoupled-bundle.zip | 1 |
| v0.0.1-prerelease-rc10 | Jun 23, 2026 | codesm-decoupled-bundle.zip | 0 |
| v0.0.1-prerelease-rc9 | Jun 23, 2026 | codesm-decoupled-bundle.zip | 3 |
| v0.0.1-prerelease-rc8 | Jun 23, 2026 | codesm-decoupled-bundle.zip | 1 |
| v0.0.1-prerelease-rc7 | Jun 23, 2026 | codesm-decoupled-bundle.zip | 1 |
| v0.0.1-prerelease-rc6 | Jun 23, 2026 | codesm-decoupled-bundle.zip | 1 |
| v0.0.1-prerelease-rc4 | Jun 23, 2026 | — | — |
| v0.0.1-prerelease-rc3 | Jun 23, 2026 | — | — |
| v0.0.1-prerelease-rc2 | Jun 23, 2026 | — | — |
| v0.0.1-prerelease-rc1 | Jun 23, 2026 | — | — |