{"id":1463,"date":"2019-09-05T06:38:56","date_gmt":"2019-09-05T06:38:56","guid":{"rendered":"https:\/\/structured-data-for-wp.com\/docs\/?post_type=ht_kb&#038;p=1463"},"modified":"2022-05-12T11:45:50","modified_gmt":"2022-05-12T11:45:50","slug":"how-to-add-acf-in-the-modify-schema-output","status":"publish","type":"ht_kb","link":"https:\/\/structured-data-for-wp.com\/docs\/article\/how-to-add-acf-in-the-modify-schema-output\/","title":{"rendered":"How to add ACF in the Modify Schema Output"},"content":{"rendered":"\n<p>Advanced Custom Fields plugin allows you to add advanced custom fields for posts and pages which you can map with the respective fields in a schema. These Advanced custom fields appear in meta boxes that can be created using Schema.<\/p>\n\n\n\n<p>This is how the Modify Schema output meta box we just created will look under the Schema type editing screen.<\/p>\n\n\n\n<p><strong>Step 1:<\/strong>\u00a0You need to edit the post\u2019s page for this you need to go to the\u00a0<strong>WordPress Dashboard<\/strong>\u00a0->\u00a0<strong>Structured Data<\/strong>\u00a0->\u00a0<strong>Schema Types<\/strong>\u00a0-> You need to edit any\u00a0<strong>schema types. <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"459\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/13-1024x459.png\" alt=\"\" class=\"wp-image-1475\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/13-1024x459.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/13-300x135.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/13-768x344.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/13-50x22.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/13-60x27.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/13-100x45.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/13.png 1356w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2:\u00a0<\/strong>Which schema type do you want to edit just you need to select Schema type.<\/p>\n\n\n\n<p><strong>Step 3:<\/strong>\u00a0Check the \u201c<strong>Modify Schema Output<\/strong>\u201d option after that click on the &#8220;<strong>Add Field<\/strong> &#8221; button.<\/p>\n\n\n\n<p><strong>Step 4:\u00a0<\/strong>In the first field, you need to \u201c<strong>Select schema property<\/strong>\u201d and in the second field \u201cSelect schema property\u201d value needs to select the &#8220;<strong>Advance custom fields under<\/strong> &#8221; option. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"415\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/14-1024x415.png\" alt=\"\" class=\"wp-image-1478\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/14-1024x415.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/14-300x122.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/14-768x311.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/14-50x20.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/14-60x24.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/14-100x41.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/14.png 1371w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 5:\u00a0<\/strong>If you want to add more fields then click on the \u201c<strong>Add Field<\/strong>\u201d button.<\/p>\n\n\n\n<p><strong>Step 6:<\/strong>&nbsp;After that click on the \u201c<strong>Update<\/strong>\u201d button.<\/p>\n\n\n\n<p><strong>Step 7: <\/strong>Advance custom fields added under the pages or posts where you have activated this schema on. <\/p>\n\n\n\n<p><strong>In the source code, JSON schema markup will be added like below the screenshot.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"387\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2022\/05\/p-4.png\" alt=\"\" class=\"wp-image-4294\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2022\/05\/p-4.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2022\/05\/p-4-300x113.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2022\/05\/p-4-768x290.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2022\/05\/p-4-50x19.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2022\/05\/p-4-60x23.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2022\/05\/p-4-100x38.png 100w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>That\u2019s it for this tutorial!<\/strong><\/p>\n\n\n\n<p>We hope it helped you. If you have any feedback or questions or do you want us to create compatibility for any other schema type which isn\u2019t listed in our plugin then you can request us we will surely implement it as soon as possible.<\/p>\n\n\n\n<p><strong>Just contact us&nbsp;<a href=\"http:\/\/structured-data-for-wp.com\/contact-us\/\">here<\/a>&nbsp;and we are always available for you.<\/strong><\/p>\n\n\n\n<p><br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Advanced Custom Fields plugin allows you to add advanced custom fields for posts and pages which you can map with the respective fields in a schema. These Advanced custom fields appear in meta boxes that can be created using Schema. This is how the Modify Schema output meta box we&#8230;<\/p>\n","protected":false},"author":3,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[3],"ht-kb-tag":[],"class_list":["post-1463","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-how-to"],"_links":{"self":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/comments?post=1463"}],"version-history":[{"count":17,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1463\/revisions"}],"predecessor-version":[{"id":4295,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1463\/revisions\/4295"}],"wp:attachment":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=1463"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=1463"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=1463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}