WP Manifestindependent plugin directory
manifest / ai / clawpress-theme-bridge

ClawPress Theme Bridge

Exposes WordPress theme_mods via REST API for agent-driven site configuration

★ 0stars

Install

Download source zip No release zip yet

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.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Exposes 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

  1. Upload clawpress-theme-bridge.php to wp-content/plugins/
  2. 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.