{"id":285041,"date":"2026-03-06T14:47:03","date_gmt":"2026-03-06T14:47:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/agilepress-schema-json-ld-block\/"},"modified":"2026-03-06T14:53:06","modified_gmt":"2026-03-06T14:53:06","slug":"agilepress-schema-json-ld-block","status":"publish","type":"plugin","link":"https:\/\/cs.wordpress.org\/plugins\/agilepress-schema-json-ld-block\/","author":23169013,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"6.9.4","requires":"6.1","requires_php":"7.4","requires_plugins":null,"header_name":"AgilePress Schema JSON-LD Block","header_author":"AgilePress","header_description":"A powerful WordPress block for managing Schema.org structured data markup with template support and dynamic placeholder replacement.","assets_banners_color":"91b7c4","last_updated":"2026-03-06 14:53:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":291,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"agilepress","date":"2026-03-06 14:53:06"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-256x256.png":{"filename":"icon-256x256.png","revision":3476490,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":3476490,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":{"agilepress\/block-agilepress-schema-json-ld-block":{"$schema":"https:\/\/schemas.wp.org\/trunk\/block.json","apiVersion":3,"name":"agilepress\/block-agilepress-schema-json-ld-block","version":"0.1.0","title":"AgilePress Schema JSON-LD Block","category":"widgets","icon":"media-code","description":"Manage Schema.org structured data markup with template support and dynamic placeholder replacement.","example":[],"attributes":{"jsonldContent":{"type":"string","default":""},"template":{"type":"string","default":"blank"}},"supports":{"html":false,"multiple":true},"textdomain":"agilepress-schema-json-ld-block","editorScript":"file:.\/index.js","editorStyle":"file:.\/index.css","style":"file:.\/style-index.css","render":"file:.\/render.php"}},"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"Clean editor placeholder showing \"JSON-LD Configured\" status","2":"Block Sidebar with template selector and JSON-LD editor","3":"Real-time validation feedback","4":"Example LocalBusiness template with placeholders"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2516,1117,186,1121],"plugin_category":[55],"plugin_contributors":[252169],"plugin_business_model":[],"class_list":["post-285041","plugin","type-plugin","status-publish","hentry","plugin_tags-json-ld","plugin_tags-schema","plugin_tags-seo","plugin_tags-structured-data","plugin_category-seo-and-marketing","plugin_contributors-agilepress","plugin_committers-agilepress"],"banners":{"banner":"https:\/\/ps.w.org\/agilepress-schema-json-ld-block\/assets\/banner-772x250.png?rev=3476490","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/agilepress-schema-json-ld-block\/assets\/icon-256x256.png?rev=3476490","icon_2x":"https:\/\/ps.w.org\/agilepress-schema-json-ld-block\/assets\/icon-256x256.png?rev=3476490","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Key Features:<\/strong><\/p>\n\n<ul>\n<li><strong>Clean Editor Interface<\/strong>: Displays only a visual placeholder in the editor, keeping your workspace uncluttered<\/li>\n<li><strong>Sidebar Editing<\/strong>: All JSON-LD editing happens in the Block Sidebar via InspectorControls<\/li>\n<li><strong>Template Library<\/strong>: Pre-built templates for common schema types including LocalBusiness, Organization, and FAQ<\/li>\n<li><strong>Real-time Validation<\/strong>: Instant JSON validation feedback as you type<\/li>\n<li><strong>Dynamic Placeholders<\/strong>: Support for WordPress core placeholders and ACF custom fields<\/li>\n<li><strong>SEO Optimized<\/strong>: Outputs clean JSON-LD markup via wp_head for optimal search engine parsing<\/li>\n<\/ul>\n\n<p><strong>Supported Placeholders:<\/strong><\/p>\n\n<ul>\n<li><code>{{title}}<\/code> - Post\/page title<\/li>\n<li><code>{{excerpt}}<\/code> - Post excerpt<\/li>\n<li><code>{{date}}<\/code> - Publication date<\/li>\n<li><code>{{url}}<\/code> - Current post URL<\/li>\n<li><code>{{featured_image_url}}<\/code> - Featured image URL<\/li>\n<li><code>{{acf:field_name}}<\/code> - Any ACF field (supports strings and arrays)<\/li>\n<\/ul>\n\n<p><strong>Template Options:<\/strong><\/p>\n\n<ol>\n<li><strong>Blank<\/strong> - Start from scratch<\/li>\n<li><strong>LocalBusiness<\/strong> - Perfect for local business listings<\/li>\n<li><strong>Organization<\/strong> - For company\/organization information<\/li>\n<li><strong>FAQ<\/strong> - Structured FAQ markup<\/li>\n<\/ol>\n\n<p>The block uses dynamic rendering to process placeholders on the frontend, ensuring your structured data always reflects current content.<\/p>\n\n<h3>Technical Details<\/h3>\n\n<p>The block uses a dynamic rendering approach with <code>render_callback<\/code> to process placeholders server-side. This ensures that:<\/p>\n\n<ul>\n<li>Placeholders are replaced with current data on every page load<\/li>\n<li>ACF fields are safely accessed and formatted<\/li>\n<li>Invalid JSON never reaches the frontend<\/li>\n<li>Search engines receive clean, valid JSON-LD markup<\/li>\n<\/ul>\n\n<p>The frontend output is optimized with no extra paragraph or break tags, outputting only the pure JSON-LD script tag.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin files to the <code>\/wp-content\/plugins\/agilepress-schema-json-ld-block<\/code> directory, or install the plugin through the WordPress plugins screen directly.<\/li>\n<li>Activate the plugin through the 'Plugins' screen in WordPress<\/li>\n<li>Add the \"AgilePress Schema JSON-LD Block\" block to any post or page<\/li>\n<li>Configure your JSON-LD in the Block Sidebar<\/li>\n<li>Publish and verify your structured data using Google's Rich Results Test<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"does%20this%20block%20work%20with%20acf%20%28advanced%20custom%20fields%29%3F\"><h3>Does this block work with ACF (Advanced Custom Fields)?<\/h3><\/dt>\n<dd><p>Yes! The block fully supports ACF custom fields using the <code>{{acf:field_name}}<\/code> placeholder syntax. It handles both string and array field types safely.<\/p><\/dd>\n<dt id=\"how%20do%20i%20validate%20my%20json-ld%3F\"><h3>How do I validate my JSON-LD?<\/h3><\/dt>\n<dd><p>The block includes real-time validation that displays \"Valid JSON\" or \"Invalid JSON\" status in the sidebar as you edit. You can also use Google's Rich Results Test or Schema.org validator for external verification.<\/p><\/dd>\n<dt id=\"can%20i%20use%20multiple%20schema%20blocks%20on%20one%20page%3F\"><h3>Can I use multiple schema blocks on one page?<\/h3><\/dt>\n<dd><p>Yes, you can add multiple AgilePress Schema JSON-LD Block blocks to a single page. Each will output its own separate JSON-LD script tag.<\/p><\/dd>\n<dt id=\"where%20does%20the%20json-ld%20appear%20on%20my%20site%3F\"><h3>Where does the JSON-LD appear on my site?<\/h3><\/dt>\n<dd><p>The structured data is injected into the <code>&lt;head&gt;<\/code> section of your page via <code>wp_head<\/code>, making it invisible to visitors but perfectly readable by search engines.<\/p><\/dd>\n<dt id=\"what%20if%20i%20want%20to%20add%20custom%20schema%20types%3F\"><h3>What if I want to add custom schema types?<\/h3><\/dt>\n<dd><p>Start with the \"Blank\" template and paste in your custom JSON-LD schema. The block will validate it and process any placeholders you include.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<li>Template library with LocalBusiness, Organization, and FAQ schemas<\/li>\n<li>Dynamic placeholder replacement for WordPress core and ACF fields<\/li>\n<li>Real-time JSON validation<\/li>\n<li>Clean wp_head injection without extra markup<\/li>\n<\/ul>","raw_excerpt":"A powerful WordPress block for managing Schema.org structured data markup with template support and dynamic placeholder replacement.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/285041","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=285041"}],"author":[{"embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/agilepress"}],"wp:attachment":[{"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=285041"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=285041"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=285041"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=285041"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=285041"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/cs.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=285041"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}