Installation
- Upload the
oads/folder towp-content/plugins/ - Activate via Plugins → Installed Plugins
- Navigate to OAds in the WP admin menu
What activation creates
| Created | Details |
|---|---|
wp_oads_impressions | Per-impression log |
wp_oads_clicks | Per-click log |
wp_oads_zones | Named placement zones |
wp_oads_groups | Ad rotation groups |
oads_settings option | Defaults (GDPR off, label "Sponsored") |
oads_ad CPT | Custom post type for all ads |
| Rewrite rule | /oads-click/{id}/ → click tracker |
Admin layout
Row 1 — Brand bar: OAds logo + v2.0.0 badge + dark/light toggle
Row 2 — Tabs: Manage Ads | Analytics | Zones | Ad Groups | Log | Settings
The header is sticky, sitting below the WP admin bar at top: 32px. Dark/light preference is stored in localStorage under oads_theme.
