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

ClawPress Theme Bridge

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

by OpenClaw · github.com/joesbobclaw/clawpress-theme-bridge

0stars
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/joesbobclaw/clawpress-theme-bridge/archive/refs/heads/main.zip

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.