{"id":263,"date":"2015-12-17T07:58:14","date_gmt":"2015-12-17T06:58:14","guid":{"rendered":"http:\/\/demo.wpcasa.com\/bahia\/?page_id=263"},"modified":"2015-12-17T07:58:14","modified_gmt":"2015-12-17T06:58:14","slug":"home-page","status":"publish","type":"page","link":"https:\/\/try.wpcasa.com\/bahia\/home-page\/","title":{"rendered":"Home Page"},"content":{"rendered":"<p>Creating a home page like the one you can see here in the demo is easy. Just create a static page and go to <em>WP-Admin &gt; Settings &gt; Reading<\/em> and set it as static front page.<\/p>\n<p>Then head over to the edit screen of this page and select the <em>Home Page<\/em> page template. A new set of meta boxes will become visible.<\/p>\n<p>Go through the meta boxes and activate the options you like and make your settings.<\/p>\n<p><a href=\"http:\/\/demo.wpcasa.com\/bahia\/\" class=\"button\">See Home Page<\/a><\/p>\n<div class=\"wpsight-image-gallery-sc\">\t\n\t\t<div class=\"wpsight-gallery-341 wpsight-gallery\" itemscope itemtype=\"http:\/\/schema.org\/ImageGallery\">\n\t\t\t\t\t\n\t\t\t<div class=\"row uniform 100%\">\n\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t<div class=\"wpsight-gallery-item-u 12u 1u(medium)\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t<figure class=\"wpsight-gallery-item image fit\" itemprop=\"associatedMedia\" itemscope itemtype=\"http:\/\/schema.org\/ImageObject\">\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"https:\/\/try.wpcasa.com\/bahia\/wp-content\/uploads\/sites\/21\/2015\/12\/wpcasa-bahia-home-page.png\" itemprop=\"contentUrl\" data-size=\"1280x1010\" data-counter=\"0\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<img src=\"https:\/\/try.wpcasa.com\/bahia\/wp-content\/uploads\/sites\/21\/2015\/12\/wpcasa-bahia-home-page-1024x808.png\" itemprop=\"thumbnail\" alt=\"\" \/>\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t<meta itemprop=\"width\" content=\"768\">\n\t\t\t\t\t\t\t\t\t<meta itemprop=\"height\" content=\"606\">\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/a>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t<\/figure>\n\t\t\t\t\t\t\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\t\n\t\t\t<\/div><!-- .row uniform -->\n\t\t\n\t\t<\/div>\n\t<!-- Root element of PhotoSwipe. Must have class pswp. -->\n\t<div id=\"wpsight-gallery-341\" class=\"pswp\" tabindex=\"-1\" role=\"dialog\" aria-hidden=\"true\">\n\t    <div class=\"pswp__bg\"><\/div>\n\t    <div class=\"pswp__scroll-wrap\">\n\t        <div class=\"pswp__container\">\n\t            <div class=\"pswp__item\"><\/div>\n\t            <div class=\"pswp__item\"><\/div>\n\t            <div class=\"pswp__item\"><\/div>\n\t        <\/div>\n\t        <div class=\"pswp__ui pswp__ui--hidden\">\t\t\n\t            <div class=\"pswp__top-bar\">\n\t            \n\t                <div class=\"pswp__counter\"><\/div>\n\t                \n\t                \t                <button class=\"pswp__button pswp__button--close\" title=\"Close (Esc)\"><\/button>\n\t                \t                \n\t                \t                \n\t                \t                <button class=\"pswp__button pswp__button--fs\" title=\"Fullscreen\"><\/button>\n\t                \t                \n\t                \t                <button class=\"pswp__button pswp__button--zoom\" title=\"Zoom\"><\/button>\n\t                \t                \n\t                <div class=\"pswp__preloader\">\n\t                    <div class=\"pswp__preloader__icn\">\n\t                      <div class=\"pswp__preloader__cut\">\n\t                        <div class=\"pswp__preloader__donut\"><\/div>\n\t                      <\/div>\n\t                    <\/div>\n\t                <\/div>\n\t            <\/div>\t\t\n\t            <div class=\"pswp__share-modal pswp__share-modal--hidden pswp__single-tap\">\n\t                <div class=\"pswp__share-tooltip\"><\/div> \n\t            <\/div>\n\t            \n\t            \t            <button class=\"pswp__button pswp__button--arrow--left\" title=\"Previous\">\n\t            <\/button>\t\t\n\t            <button class=\"pswp__button pswp__button--arrow--right\" title=\"Next\">\n\t            <\/button>\n\t            \t            \n\t            <div class=\"pswp__caption\">\n\t                <div class=\"pswp__caption__center\"><\/div>\n\t            <\/div>\t\t\n\t        <\/div>\t\t\n\t    <\/div>\t\t\n\t<\/div>\t\n\t<script type=\"text\/javascript\">\n\t\t(function($) {\n\t\t    var $pswp = $('#wpsight-gallery-341')[0];\n\t\t    var image = [];\n\t\t\n\t\t    $('.wpsight-gallery').each( function() {\n\t\t        var $pic     = $(this),\n\t\t            getItems = function() {\n\t\t                var items = [];\n\t\t                $pic.find('a').each(function() {\n\t\t                    var $href   = $(this).attr('href'),\n\t\t                        $size   = $(this).data('size').split('x'),\n\t\t                        $width  = $size[0],\n\t\t                        $height = $size[1],\n\t\t                        $title  = $(this).find('meta[itemprop=title]').attr('content');\n\t\t\n\t\t                    var item = {\n\t\t                        src  : $href,\n\t\t                        w    : $width,\n\t\t                        h    : $height,\n\t\t                        title: $title\n\t\t                    }\n\t\t\n\t\t                    items.push(item);\n\t\t                });\n\t\t                return items;\n\t\t            }\n\t\t\n\t\t        var items = getItems();\n\t\t\n\t\t        $.each(items, function(index, value) {\n\t\t            image[index]     = new Image();\n\t\t            image[index].src = value['src'];\n\t\t        });\n\t\t\n\t\t        $pic.on('click', '.wpsight-gallery-item a', function(event) {\n\t\t            event.preventDefault();\n\t\t            \n\t\t            var $index = $(this).data('counter');\n\t\t            \n\t\t            var options = {\n\t\t                index: $index,\n\t\t                bgOpacity: 0.8,\n\t\t                showHideOpacity: true\n\t\t            }\n\t\t\n\t\t            var lightBox = new PhotoSwipe($pswp, PhotoSwipeUI_Default, items, options);\n\t\t            lightBox.init();\n\t\t        });\n\t\t    });\n\t\t})(jQuery);\n\t<\/script><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Creating a home page like the one you can see here in the demo is easy. Just create a static page and go to WP-Admin &gt; Settings &gt; Reading and set it as static front page. Then head over to the edit screen of this page and select the Home Page page template. A new<span class=\"moretag\"><a class=\"button small\" href=\"https:\/\/try.wpcasa.com\/bahia\/home-page\/\">More info<\/a><\/span><\/p>\n","protected":false},"author":33,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/try.wpcasa.com\/bahia\/wp-json\/wp\/v2\/pages\/263"}],"collection":[{"href":"https:\/\/try.wpcasa.com\/bahia\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/try.wpcasa.com\/bahia\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/try.wpcasa.com\/bahia\/wp-json\/wp\/v2\/users\/33"}],"replies":[{"embeddable":true,"href":"https:\/\/try.wpcasa.com\/bahia\/wp-json\/wp\/v2\/comments?post=263"}],"version-history":[{"count":0,"href":"https:\/\/try.wpcasa.com\/bahia\/wp-json\/wp\/v2\/pages\/263\/revisions"}],"wp:attachment":[{"href":"https:\/\/try.wpcasa.com\/bahia\/wp-json\/wp\/v2\/media?parent=263"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}