SEO Engine
WAGE has a built-in SEO engine that eliminates the need for SEO plugins like Yoast or RankMath.
How it works
Section titled “How it works”SEO data comes from two sources:
wage_seo_set()— called at the top of each page template with page-specific dataseo-data.php— a PHP array with site-wide SEO defaults
The engine outputs <title>, meta description, Open Graph tags, Twitter cards, and JSON-LD structured data.
Per-page SEO
Section titled “Per-page SEO”In each page template:
<?phpwage_seo_set([ 'title' => 'About Us', 'description' => 'Learn about our company and team.', 'schema' => [ '@type' => 'AboutPage', 'name' => 'About Us', ],]);get_header();?>Site-wide defaults
Section titled “Site-wide defaults”Set via WP options (WP-CLI or dashboard):
| Option | Purpose |
|---|---|
wage_seo_defaults | site_name, separator, default_description, robots |
wage_seo_archives | Taxonomy title templates |
wage_seo_singles | Post type title templates (blogs, products, etc.) |
Structured data
Section titled “Structured data”The SEO engine supports JSON-LD schema. Common types:
LocalBusiness— for the homepage (name, phone, email, address)AboutPage,ContactPage— for standard pagesProduct,Service— for service/product pages
Schema is passed via the schema key in wage_seo_set().