{"id":37801,"date":"2024-06-06T13:58:28","date_gmt":"2024-06-06T17:58:28","guid":{"rendered":"https:\/\/university-communications.ncsu.edu\/documentation\/?post_type=reference-article&#038;p=37801"},"modified":"2024-06-07T16:27:05","modified_gmt":"2024-06-07T20:27:05","slug":"slate-form-embed-block","status":"publish","type":"reference-article","link":"https:\/\/university-communications.ncsu.edu\/documentation\/reference-article\/slate-form-embed-block\/","title":{"rendered":"Slate Form Embed Block"},"content":{"rendered":"\n<p>The Slate Form Embed block makes it easier to embed Slate form code within pages.<\/p>\n\n\n\n<p>In some cases directly copying and pasting the embed code can be unsuccessful because of code sanitization functionality within WordPress, but this block allows you to embed a Slate form without that concern.<\/p>\n\n\n\n<p>When working with different admissions groups at the university, you may receive Slate form embed code that looks similar to the following:<\/p>\n\n\n\n<figure class=\"wp-block-image alignwide size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"89\" src=\"https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2024\/06\/slate-form-id-1024x89.jpg\" alt=\"\" class=\"wp-image-37807\" srcset=\"https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2024\/06\/slate-form-id-1024x89.jpg 1024w, https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2024\/06\/slate-form-id-300x26.jpg 300w, https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2024\/06\/slate-form-id-768x67.jpg 768w, https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2024\/06\/slate-form-id-1536x133.jpg 1536w, https:\/\/university-communications.ncsu.edu\/documentation\/wp-content\/uploads\/sites\/21\/2024\/06\/slate-form-id.jpg 1546w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>You will notice three areas where the same form ID is listed. In this example the form ID is &#8220;form_54002fe6-baab-471d-8e06-153675929296&#8221;.<\/p>\n\n\n\n<p>To embed this form using the Slate Form Embed block you will need to copy the portion of the form ID after &#8220;form_&#8221;. In this case that would be &#8220;54002fe6-baab-471d-8e06-153675929296&#8221;. This code will tell WordPress which Slate form to display on your site.<\/p>\n","protected":false},"featured_media":0,"template":"","meta":{"_acf_changed":false,"ncst_custom_author":"","ncst_show_custom_author":false,"ncst_dynamicHeaderBlockName":"","ncst_dynamicHeaderData":"","ncst_content_audit_freq":"","ncst_content_audit_date":"","ncst_content_audit_display":false,"ncst_backToTopFlag":"","_links_to":"","_links_to_target":""},"availability":[72,71,49],"content-type":[51],"class_list":["post-37801","reference-article","type-reference-article","status-publish","hentry","availability-nc-state-premium-add-on","availability-nc-state-pro-add-on","availability-nc-state-theme","content-type-block"],"acf":[],"_links":{"self":[{"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/reference-article\/37801","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/reference-article"}],"about":[{"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/types\/reference-article"}],"version-history":[{"count":0,"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/reference-article\/37801\/revisions"}],"wp:attachment":[{"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/media?parent=37801"}],"wp:term":[{"taxonomy":"availability","embeddable":true,"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/availability?post=37801"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/university-communications.ncsu.edu\/documentation\/wp-json\/wp\/v2\/content-type?post=37801"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}