
內容簡介
AgilePress Schema JSON-LD Block 是一款先進的區塊外掛,旨在為您的 WordPress 文章和頁面添加 Schema.org 結構化資料。它提供簡潔的使用者介面,方便管理 JSON-LD 標記,讓內容編輯器保持整潔。
【主要功能】
• 簡潔的編輯器介面
• 側邊欄編輯功能
• 預建模板庫
• 實時驗證反饋
• 動態佔位符支持
• SEO 優化的輸出
外掛標籤
開發者團隊
② 後台搜尋「AgilePress Schema JSON-LD Block」→ 直接安裝(推薦)
原文外掛簡介
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:
Clean Editor Interface: Displays only a visual placeholder in the editor, keeping your workspace uncluttered
Sidebar Editing: All JSON-LD editing happens in the Block Sidebar via InspectorControls
Template Library: Pre-built templates for common schema types including LocalBusiness, Organization, and FAQ
Real-time Validation: Instant JSON validation feedback as you type
Dynamic Placeholders: Support for WordPress core placeholders and ACF custom fields
SEO Optimized: Outputs clean JSON-LD markup via wp_head for optimal search engine parsing
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:
Blank – Start from scratch
LocalBusiness – Perfect for local business listings
Organization – For company/organization information
FAQ – Structured FAQ markup
The block uses dynamic rendering to process placeholders on the frontend, ensuring your structured data always reflects current content.
Technical Details
The block uses a dynamic rendering approach with render_callback to process placeholders server-side. This ensures that:
Placeholders are replaced with current data on every page load
ACF fields are safely accessed and formatted
Invalid JSON never reaches the frontend
Search engines receive clean, valid JSON-LD markup
The frontend output is optimized with no extra paragraph or break tags, outputting only the pure JSON-LD script tag.
