{"id":3468,"date":"2020-07-02T06:05:58","date_gmt":"2020-07-02T06:05:58","guid":{"rendered":"https:\/\/structured-data-for-wp.com\/docs\/?post_type=ht_kb&#038;p=3468"},"modified":"2020-07-02T06:32:18","modified_gmt":"2020-07-02T06:32:18","slug":"how-to-set-up-hotelroom-schema","status":"publish","type":"ht_kb","link":"https:\/\/structured-data-for-wp.com\/docs\/article\/how-to-set-up-hotelroom-schema\/","title":{"rendered":"How to set- up HotelRoom Schema"},"content":{"rendered":"\n<p>A hotel room is a single room in a hotel. This page provides background information on the use of schema.org for marking up hotels and other forms of accommodations. <br><\/p>\n\n\n\n<p><strong>Here are the steps:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Download and Install&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/schema-and-structured-data-for-wp\/\"><strong>Schema &amp; Structured Data for WP<\/strong><\/a><\/li><li>Upload and Activate<\/li><li>Done!&nbsp;<a href=\"https:\/\/wordpress.org\/plugins\/schema-and-structured-data-for-wp\/\"><strong>Schema &amp; Structured Data for WP<\/strong><\/a>&nbsp;will be visible on the AMP version of your site.<\/li><\/ul>\n\n\n\n<p>For more details how to upload extension click on this link&nbsp;<a href=\"https:\/\/ampforwp.com\/tutorials\/article\/how-to-upload-and-install-extension\/\">&nbsp;Upload and Install.<\/a><\/p>\n\n\n\n<p><strong>1.&nbsp;<\/strong>First go to&nbsp;<strong>WordPress dashboard<\/strong>&nbsp;-&gt;&nbsp;<strong>Structured Data<\/strong>&nbsp;-&gt;&nbsp;<strong>Schema Types<\/strong>&nbsp;-&gt; click on&nbsp;<strong>Add schema Type<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"759\" height=\"466\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/local-1.png\" alt=\"\" class=\"wp-image-409\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/local-1.png 759w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/local-1-300x184.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/local-1-50x31.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/local-1-60x37.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/local-1-100x61.png 100w\" sizes=\"auto, (max-width: 759px) 100vw, 759px\" \/><\/figure>\n\n\n\n<p><strong>2.<\/strong> In this option, you need to select the HotelRoom Schema Type.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"709\" height=\"482\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-1.png\" alt=\"\" class=\"wp-image-3469\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-1.png 709w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-1-300x204.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-1-50x34.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-1-60x41.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-1-100x68.png 100w\" sizes=\"auto, (max-width: 709px) 100vw, 709px\" \/><\/figure>\n\n\n\n<p><strong>3.\u00a0<\/strong>In this section, you need to set the condition for the specific post or page or all posts where you want to show the HotelRoom Schema type.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"693\" height=\"477\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/06\/6.png\" alt=\"\" class=\"wp-image-3437\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/06\/6.png 693w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/06\/6-300x206.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/06\/6-50x34.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/06\/6-60x41.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/06\/6-100x69.png 100w\" sizes=\"auto, (max-width: 693px) 100vw, 693px\" \/><\/figure>\n\n\n\n<p><strong>4.&nbsp;<\/strong>After selecting the placement click on next, congratulation! you\u2019ve successfully set up the schema markup.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"716\" height=\"427\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/5-1.png\" alt=\"\" class=\"wp-image-449\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/5-1.png 716w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/5-1-300x179.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/5-1-50x30.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/5-1-60x36.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2019\/05\/5-1-100x60.png 100w\" sizes=\"auto, (max-width: 716px) 100vw, 716px\" \/><\/figure>\n\n\n\n<p>In the source code, JSON schema markup will be added like below the screenshot.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"263\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/u-1-1024x263.png\" alt=\"\" class=\"wp-image-3470\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/u-1-1024x263.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/u-1-300x77.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/u-1-768x198.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/u-1-50x13.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/u-1-60x15.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/u-1-100x26.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/u-1.png 1314w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>After that, you need to check the schema whether it\u2019s&nbsp;<strong>validated<\/strong>&nbsp;or&nbsp;<strong>showing error<\/strong>&nbsp;in the&nbsp;<strong>Structured data testing tool<\/strong>.<\/p>\n\n\n\n<p>Here is a screenshot of some sample markup:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"462\" src=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-2-1024x462.png\" alt=\"\" class=\"wp-image-3472\" srcset=\"https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-2-1024x462.png 1024w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-2-300x135.png 300w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-2-768x346.png 768w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-2-50x23.png 50w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-2-60x27.png 60w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-2-100x45.png 100w, https:\/\/structured-data-for-wp.com\/docs\/wp-content\/uploads\/2020\/07\/s-2.png 1349w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Structure data testing tool:&nbsp;<a href=\"https:\/\/search.google.com\/structured-data\/testing-tool\">https:\/\/search.google.com\/structured-data\/testing-tool<\/a><\/strong><\/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><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A hotel room is a single room in a hotel. This page provides background information on the use of schema.org for marking up hotels and other forms of accommodations. Here are the steps: Download and Install&nbsp;Schema &amp; Structured Data for WP Upload and Activate Done!&nbsp;Schema &amp; Structured Data for WP&nbsp;will&#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-3468","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\/3468","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=3468"}],"version-history":[{"count":3,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/3468\/revisions"}],"predecessor-version":[{"id":3474,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb\/3468\/revisions\/3474"}],"wp:attachment":[{"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/media?parent=3468"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=3468"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/structured-data-for-wp.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=3468"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}