Feature Flags
WAGE includes feature flags for development and client review workflows.
Available flags
Section titled “Available flags”| Flag | Purpose | How to enable |
|---|---|---|
| Wireframe mode | Strips all visual styling, showing structural layout only. Great for initial content/layout review with clients. | WAGE_WIREFRAME constant or ?wf URL parameter |
| Component showcase | Displays all available components on a single page for reference. | Via the built-in styleguide dashboard |
| SEO overview | Shows all SEO data across the site in a dashboard view. | Via the built-in styleguide dashboard |
Wireframe mode
Section titled “Wireframe mode”Wireframe mode is the most commonly used flag. It lets you review layout and content with clients before any brand styling is applied.
Enable globally
Section titled “Enable globally”In functions.php or wp-config.php:
define('WAGE_WIREFRAME', true);Enable per-visit
Section titled “Enable per-visit”Add ?wf to any page URL:
https://example.local/about/?wfThis is useful for quick comparisons — view the styled version normally, add ?wf to see the wireframe.
Styleguide dashboard
Section titled “Styleguide dashboard”The built-in styleguide (inc/core/styleguide.php) provides:
- A visual reference of all core components
- Current token values
- SEO data overview across all pages
Access it via the WordPress admin when the WAGE theme is active.