Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/joesbobclaw/clawpress-theme-bridge/archive/refs/heads/main.zipExposes WordPress theme_mods via REST API, enabling AI agents to configure theme settings programmatically.
Why
WordPress theme customizer settings (colors, header layout, footer config) aren't accessible via the standard REST API. This plugin bridges that gap — one file, no dependencies.
Endpoints
All endpoints require edit_theme_options capability (admin-level).
GET /wp-json/clawpress-bridge/v1/theme-mods
Returns all current theme modifications as a JSON object.
POST /wp-json/clawpress-bridge/v1/theme-mods
Set one or more theme mods. Send a JSON object of key/value pairs.
{
"header_color": "#1a1a2e",
"footer_style": "minimal"
}
DELETE /wp-json/clawpress-bridge/v1/theme-mods/:key
Remove a specific theme mod by key.
Installation
- Upload
clawpress-theme-bridge.phptowp-content/plugins/ - Activate via wp-admin or WP-CLI:
wp plugin activate clawpress-theme-bridge
Authentication
Works with WordPress Application Passwords (the same auth ClawPress sets up).
License
GPL v2 or later.