PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.14.3
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.14.3
2.15.0 2.14.3 2.14.2 2.14.1 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.0 2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.32.0 1.31.0 1.30.0 All 59 releases
← All changes | includes/config/schema-settings-config.php +32 -2 2.6.0 → 2.14.3 View file →
@@ -88,8 +88,17 @@
88 88 // Content schema settings (site-wide only)
89 89 'enable_breadcrumbs_schema' => true,
90 90 'enable_local_business' => false,
91 91
92 + // Read an Oxygen or Breakdance accordion as FAQ content. Off, and it
93 + // has to stay off by default: those are the builders' own elements
94 + // rather than a ThinkRank FAQ module, so an accordion may hold
95 + // questions or may hold product specifications, and turning this on
96 + // for every existing site would publish FAQPage markup nobody asked
97 + // for. ThinkRank reads and reports the accordion either way; this
98 + // switch only decides whether it reaches the schema graph (#831).
99 + 'enable_accordion_faq_schema' => false,
100 +
92 101 // Removed post/page-specific schema settings (Product, Event, Article, Software Application, HowTo, FAQ)
93 102 // These are now handled only at the post/page level via metabox
94 103
95 104 // Person schema settings (site-wide)
@@ -213,9 +222,12 @@
213 222 public static function get_supported_schema_types(string $context_type = 'site'): array {
214 223 $all_types = [
215 224 'Article', 'Product', 'Organization', 'LocalBusiness',
216 225 'Person', 'WebSite', 'FAQPage', 'SoftwareApplication',
217 - 'Event', 'HowTo', 'Review', 'VideoObject'
226 + 'Event', 'HowTo', 'Review', 'VideoObject',
227 + // The WebPage family, which the per-page selector can now offer
228 + // (#624). Kept last so an existing site's ordering is unchanged.
229 + 'WebPage', 'AboutPage', 'ContactPage', 'ProfilePage'
218 230 ];
219 231
220 232 // Context-specific filtering can be added here if needed
221 233 return $all_types;
@@ -221,8 +233,25 @@
221 233 return $all_types;
222 234 }
223 235
224 236 /**
237 + * Schema types that belong to the site context.
238 + *
239 + * The site entities the Schema Manager deploys once for the whole site.
240 + * Content types (Article, WebPage, Product, ...) are per post and are set
241 + * in the metabox. Mirrors getSupportedSchemaTypes('site') in
242 + * src/admin/config/schema-settings-config.js, which is the list the
243 + * Site-Level Schema Types grid renders and Generate sends.
244 + *
245 + * @since 2.15.0
246 + *
247 + * @return string[] Site-level schema types.
248 + */
249 + public static function get_site_level_schema_types(): array {
250 + return ['Organization', 'LocalBusiness', 'Person', 'WebSite'];
251 + }
252 +
253 + /**
225 254 * Get validation level options
226 255 *
227 256 * @since 1.0.0
228 257 *
@@ -268,9 +297,10 @@
268 297 'enable_article_schema',
269 298 'enable_product_schema',
270 299 'enable_local_business',
271 300 'enable_faq_schema',
272 - 'enable_howto_schema'
301 + 'enable_howto_schema',
302 + 'enable_accordion_faq_schema'
273 303 ];
274 304 }
275 305
276 306 /**