{"id":1779,"date":"2018-11-01T06:08:25","date_gmt":"2018-11-01T06:08:25","guid":{"rendered":"https:\/\/wpthemetestdata.wordpress.com\/?p=1734"},"modified":"2018-11-01T06:08:25","modified_gmt":"2018-11-01T06:08:25","slug":"blocks-layout-elements","status":"publish","type":"post","link":"https:\/\/iotheme.com\/demo\/bootstrap\/blocks-layout-elements\/","title":{"rendered":"Block category: Layout Elements"},"content":{"rendered":"\n<p>The Layout Elements category includes the following blocks: <em>Button, Columns, Media &amp; Text, separator, spacer, read more, and page break.<\/em><\/p>\n\n    \n\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link\">The button<\/a><\/div>\n\n\n\n<p>The read more block should be right below this text, but only on list pages of themes that show the full content. It won&#8217;t show on the single page or on themes showing excerpts.<\/p>\n\n\n\n<!--more-->\n\n\n\n<div class=\"wp-block-columns has-4-columns is-layout-flex wp-container-core-columns-is-layout-9d6595d7 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>The columns:<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Column two.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Column three.<\/p>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\">\n<p>Column four.<\/p>\n<\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-media-text alignwide\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1066\" src=\"https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/dcp_2082.jpg\" alt=\"Boardwalk\" class=\"wp-image-757\" srcset=\"https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/dcp_2082.jpg 1600w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/dcp_2082-600x400.jpg 600w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/dcp_2082-300x200.jpg 300w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/dcp_2082-1024x682.jpg 1024w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/dcp_2082-768x512.jpg 768w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/dcp_2082-1536x1023.jpg 1536w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/dcp_2082-1200x800.jpg 1200w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">Media &amp;Text<\/p>\n\n\n\n<p>For displaying media and text next to each other. By default, the media is to the left.<\/p>\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-media-text alignfull has-media-on-the-right is-stacked-on-mobile\" style=\"background-color:#ebf5fe\"><figure class=\"wp-block-media-text__media\"><img loading=\"lazy\" decoding=\"async\" width=\"1600\" height=\"1200\" src=\"https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/100_5540.jpg\" alt=\"Golden Gate Bridge\" class=\"wp-image-755\" srcset=\"https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/100_5540.jpg 1600w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/100_5540-600x450.jpg 600w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/100_5540-300x225.jpg 300w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/100_5540-1024x768.jpg 1024w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/100_5540-768x576.jpg 768w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/100_5540-1536x1152.jpg 1536w, https:\/\/iotheme.com\/demo\/bootstrap\/wp-content\/uploads\/2011\/07\/100_5540-1200x900.jpg 1200w\" sizes=\"auto, (max-width: 1600px) 100vw, 1600px\" \/><\/figure><div class=\"wp-block-media-text__content\">\n<p class=\"has-large-font-size\">This time our block is full width, and the image is to the right.<\/p>\n<\/div><\/div>\n\n\n\n<p>The background color is a pale blue.&nbsp;<\/p>\n\n\n\n<p>Test to make sure that the editor and the front match.&nbsp;To test the <em>Stack on mobile <\/em>setting, reduce the browser window width.<\/p>\n\n\n\n<p>The control these settings, the block uses the css classes &#8220;has-media-on-the-right&#8221; and &#8220;is-stacked-on-mobile&#8221;.<\/p>\n\n\n\n<p>The separator has three styles: short line, wide line, and dots.<\/p>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<hr class=\"wp-block-separator is-style-dots\"\/>\n\n\n\n<p>The spacer block has a default height of 100 pixels:<\/p>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>And finally, the page break:<\/p>\n\n\n\n<!--nextpage-->\n\n\n\n<p>This paragraph block is on page two, after the page break.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Layout Elements category includes the following blocks: Button, Columns, Media &amp; Text, separator, spacer, read more, and page break. The read more block should be right below this text, but only on list pages of themes that show the full content. It won&#8217;t show on the single page or on themes showing excerpts.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1779","post","type-post","status-publish","format-standard","hentry","category-block"],"_links":{"self":[{"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/posts\/1779","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/comments?post=1779"}],"version-history":[{"count":0,"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/posts\/1779\/revisions"}],"wp:attachment":[{"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/media?parent=1779"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/categories?post=1779"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iotheme.com\/demo\/bootstrap\/wp-json\/wp\/v2\/tags?post=1779"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}