Overview
Prerequisites
- Active ACF PRO license
- WordPress 6.0+
- PHP 7.4+
- Existing ACF field groups on a post type
Step-by-Step Setup
- Download Beta
- Download ACF PRO 6.8 Beta 2 from ACF Downloads
- Install on a staging/test site
Enable Feature Add to theme’s
functions.phpor a mu-plugin:php add_filter( 'acf/settings/enable_schema', '__return_true' );- Configure Post Type
- Go to ACF → Post Types → [Your Post Type]
- Enable “Auto JSON-LD”
- Select appropriate Schema.org type (or use auto-detect)
- Map Fields
- Edit your field group
- For each field, find the “Schema Property” dropdown
- Select the corresponding Schema.org property
- Verify Output
- View a post with mapped fields
- View page source and search for
<script type="application/ld+json"> - Or use Google Rich Results Test
Suggested Schema Types to Test
- Article — Blog posts, news articles
- Recipe — Food/cooking content
- Product — E-commerce items
- Event — Event listings
- LocalBusiness — Business information
- FAQPage — FAQ content
Testing Mindset & Environments
The validation process involves two distinct testing approaches that we recommend are performed in different environments:
- Validation & Exploration (Staging/Dev Site)
- Goal: This is the environment to manually validate the feature’s core functionality, including the field mapping UI and the generated JSON-LD structure. Test the inference logic and ensure the output validates correctly using tools like the Google Rich Results Test.
- Focus: Logic and stability. Performance is not relevant here as the content is not being consumed by search engines.
- Performance & Impact (Production Site)
- Goal: This thread is to monitor the real-world impact of the generated structured data on performance and LLM/AI consumption. Configure on production and monitor changes in AI Overviews, ChatGPT responses, and search visibility over a few weeks.
- Focus: Page load performance and impact on content discovery/indexing by AI systems.
Supercharge Your Website With Premium Features Using ACF PRO
Speed up your workflow and unlock features to better develop websites using ACF Blocks and Options Pages, with the Flexible Content, Repeater, Clone, Gallery Fields & More.
Related
- Videos: ACF Unlocks the True Power of WordPress
- Guides: Register fields via PHP
- Guides: Improving ACF Performance
- Videos: Installing ACF and ACF PRO
- Videos: Getting Started with ACF Custom Fields & Field Groups