{"id":2046,"date":"2014-05-27T19:19:33","date_gmt":"2014-05-28T00:19:33","guid":{"rendered":"http:\/\/theme.co\/x\/demo\/integrity\/10\/?page_id=2046"},"modified":"2014-05-27T19:19:33","modified_gmt":"2014-05-28T00:19:33","slug":"container","status":"publish","type":"page","link":"https:\/\/demo.theme.co\/renew-1\/shortcodes\/container\/","title":{"rendered":"Container"},"content":{"rendered":"<p>The <code>&#091;container&#093;<\/code> shortcode is helpful when creating your own custom layouts or stacking various shortcodes together. For instance, if you&#8217;re using the blank page template to create your homepage, you might want to use the <code>&#091;content_band&#093;<\/code> shortcodes to create a visually rich look as you go down the page. To do so, you would need to use your <code>&#091;content_band&#093;<\/code> shortcode first, followed by a <code>&#091;container&#093;<\/code> shortcode, and then finally your content. The result would be something like the following:<\/p>\n<div id=\"x-content-band-1\" class=\"x-content-band border-top border-left border-right border-bottom\" style=\"background-color: #ffba00;\"><div class=\"x-container\"><div  class=\"x-container max width\" ><h4  class=\"h-custom-headline center-text h3 accent\" style=\"margin: 0;\"><span>Check it out, I&#8217;m being contained both vertically and horizontally!<\/span><\/h4><\/div><\/div><\/div>\n<p>The great thing about the <code>&#091;container&#093;<\/code> shortcode is that the measurements it uses are completely fluid and built upon what you provide as your site measurements in the Customizer. It&#8217;s a very simple, yet exceptionally powerful feature to have at your disposal when you need it.<\/p>\n<h2  class=\"h-custom-headline h5 accent\" ><span>Code<\/span><\/h2>\n<pre  class=\"x-code\" ><code>[content_band bg_color=\"#ffba00\" border=\"all\"] [container] [custom_headline style=\"margin: 0;\" type=\"center\" level=\"h4\" looks_like=\"h3\" accent=\"true\"]Check it out, I'm being contained both vertically and horizontally![\/custom_headline] [\/container] [\/content_band]<\/code><\/pre>\n<h2  class=\"h-custom-headline h5 accent\" ><span>Options<\/span><\/h2>\n<ul class=\"x-ul-icons\"  >\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>id<\/strong>: add a unique ID to the shortcode.<\/li>\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>class<\/strong>: add a class or multiple classes to the shortcode. <\/li>\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>style<\/strong>: add inline styles to the shortcode.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The &#091;container&#093; shortcode is helpful when creating your own custom layouts or stacking various shortcodes together. For instance, if you&#8217;re using the blank page template to create your homepage, you might want to use the &#091;content_band&#093; shortcodes to create a visually rich look as you go down the page. To do so, you would need to use your &#091;content_band&#093; shortcode &#8230; <a href=\"https:\/\/demo.theme.co\/renew-1\/shortcodes\/container\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":16,"featured_media":0,"parent":259,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"_links":{"self":[{"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages\/2046"}],"collection":[{"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/comments?post=2046"}],"version-history":[{"count":0,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages\/2046\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages\/259"}],"wp:attachment":[{"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/media?parent=2046"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}