AgilePress Schema JSON-LD Block is a sophisticated block for adding Schema.org structured data to your WordPress posts and pages. It provides a clean, user-friendly interface for managing JSON-LD markup without cluttering your content editor.
Key Features:
Supported Placeholders:
{{title}} – Post/page title{{excerpt}} – Post excerpt{{date}} – Publication date{{url}} – Current post URL{{featured_image_url}} – Featured image URL{{acf:field_name}} – Any ACF field (supports strings and arrays)Template Options:
The block uses dynamic rendering to process placeholders on the frontend, ensuring your structured data always reflects current content.
The block uses a dynamic rendering approach with render_callback to process placeholders server-side. This ensures that:
The frontend output is optimized with no extra paragraph or break tags, outputting only the pure JSON-LD script tag.