Web App Manifest
Served at /manifest.webmanifest by PHP (registered as a rewrite rule).
Configuration fields
| Field | Setting key | Notes |
|---|---|---|
| App name | app_name | name in manifest |
| Short name | app_short_name | Up to 12 chars recommended |
| Description | app_description | |
| Start URL | start_url | Defaults to / |
| Scope | scope | Defaults to / |
| Display | display | standalone, fullscreen, minimal-ui, browser |
| Orientation | orientation | any, portrait, landscape |
| Theme color | theme_color | Browser UI tint |
| Background color | background_color | Splash screen background |
| Icon source (512px) | icon_512_id | Attachment ID |
| Screenshots (×5) | screenshots[] | src, form_factor, label |
| Share target | share_target | Adds share_target to manifest |
Icon Generator
Upload a single 512×512 PNG/JPG, click Generate All Sizes. Creates icons at 72, 96, 128, 144, 152, 192, 384, and 512px, plus a maskable variant — saved in wp-content/uploads/opwa-icons/. Requires PHP GD extension.
Manifest preview
A phone mockup in the sidebar updates live as you type the app name, choose colors, and pick icons.
