| @@ -103,9 +103,9 @@ | ||
| 103 | 103 | 'person_address' => '', |
| 104 | 104 | 'person_birth_date' => '', |
| 105 | 105 | 'person_nationality' => '', |
| 106 | 106 | 'person_works_for' => '', |
| 107 | - 'person_same_as' => array(), | |
| 107 | + 'person_same_as' => [], | |
| 108 | 108 | |
| 109 | 109 | // Removed FAQPage schema settings (now handled at post/page level) |
| 110 | 110 | ]; |
| 111 | 111 | |
| @@ -213,9 +213,12 @@ | ||
| 213 | 213 | public static function get_supported_schema_types(string $context_type = 'site'): array { |
| 214 | 214 | $all_types = [ |
| 215 | 215 | 'Article', 'Product', 'Organization', 'LocalBusiness', |
| 216 | 216 | 'Person', 'WebSite', 'FAQPage', 'SoftwareApplication', |
| 217 | - 'Event', 'HowTo', 'Review', 'VideoObject' | |
| 217 | + 'Event', 'HowTo', 'Review', 'VideoObject', | |
| 218 | + // The WebPage family, which the per-page selector can now offer | |
| 219 | + // (#624). Kept last so an existing site's ordering is unchanged. | |
| 220 | + 'WebPage', 'AboutPage', 'ContactPage', 'ProfilePage' | |
| 218 | 221 | ]; |
| 219 | 222 | |
| 220 | 223 | // Context-specific filtering can be added here if needed |
| 221 | 224 | return $all_types; |