{"id":1529,"date":"2019-09-13T07:38:38","date_gmt":"2019-09-13T07:38:38","guid":{"rendered":"https:\/\/structured-data-for-wp.com\/docs\/?post_type=ht_kb&#038;p=1529"},"modified":"2019-09-13T07:42:15","modified_gmt":"2019-09-13T07:42:15","slug":"how-to-get-data-from-the-custom-field","status":"publish","type":"ht_kb","link":"https:\/\/structured-data-for-wp.com\/docs\/article\/how-to-get-data-from-the-custom-field\/","title":{"rendered":"How to get data from the custom field."},"content":{"rendered":"\n<p>If you want to add custom field in any schema properties for this follow below steps:<\/p>\n\n\n\n<p><strong>Step 1: <\/strong>Modify the schema where you want to add Custom field. You need to go to the <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><br><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"471\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/08\/10-1-1024x471.png\" alt=\"\" class=\"wp-image-1322\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/08\/10-1-1024x471.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/08\/10-1-300x138.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/08\/10-1-768x353.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/08\/10-1-50x23.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/08\/10-1-60x28.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/08\/10-1-100x46.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/08\/10-1.png 1357w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 2:&nbsp;<\/strong>Which schema type you want to edit just you need to select Schema type.<\/p>\n\n\n\n<p><strong>Step 3:<\/strong>\u00a0Check \u201c<strong>Modify Schema Output<\/strong>\u201d option<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"495\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/a-1-1024x495.png\" alt=\"\" class=\"wp-image-1538\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/a-1-1024x495.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/a-1-300x145.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/a-1-768x371.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/a-1-50x24.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/a-1-60x29.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/a-1-100x48.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/09\/a-1.png 1344w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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 the second field \u201c<strong>Select Custom field<\/strong>\u201d  and the third field &#8220;<strong>Select post meta key<\/strong>&#8221; here is the list of post meta key as per your requirement you can search.<\/p>\n\n\n\n<p><strong>Step 5:&nbsp;<\/strong>If you want to add more field then click on the \u201c<strong>Add Field<\/strong>\u201d button.<\/p>\n\n\n\n<p><strong>Step 6:<\/strong>\u00a0After that click on the \u201c<strong>Update<\/strong>\u201d button.<\/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><\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to add custom field in any schema properties for this follow below steps: Step 1: Modify the schema where you want to add Custom field. You need to go to the WordPress Dashboard\u00a0->\u00a0Structured Data\u00a0->\u00a0Schema Types\u00a0-> You need to edit any\u00a0schema types. Step 2:&nbsp;Which schema type you want&#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-1529","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\/1529","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=1529"}],"version-history":[{"count":12,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1529\/revisions"}],"predecessor-version":[{"id":1543,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/1529\/revisions\/1543"}],"wp:attachment":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=1529"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=1529"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=1529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}