{"id":49,"date":"2015-08-20T01:05:28","date_gmt":"2015-08-20T01:05:28","guid":{"rendered":"http:\/\/fecomercio-pe.com.br\/site\/?page_id=49"},"modified":"2016-11-07T14:02:14","modified_gmt":"2016-11-07T14:02:14","slug":"noticias","status":"publish","type":"page","link":"http:\/\/fecomercio-pe.com.br\/site\/noticias\/","title":{"rendered":"Not\u00edcias"},"content":{"rendered":"<p>[vc_row type=&#8221;&#8221; parallax_background=&#8221;&#8221; parallax_type=&#8221;&#8221; video_background=&#8221;&#8221; video_link=&#8221;&#8221; overlay=&#8221;&#8221; overlay_color=&#8221;#ffffff&#8221; i_select=&#8221;&#8221; icon=&#8221;&#8221; i_bg_color=&#8221;#ffffff&#8221; i_color=&#8221;#21c2f8&#8243; a_select=&#8221;&#8221; a_bg_color=&#8221;#ffffff&#8221;][vc_column width=&#8221;1\/1&#8243; animation=&#8221;&#8221;]<style type=\"text\/css\" >#rp_jfmer2tx0kh2w1h5k0xl .blog_load_more_cont .btn_load_more{background:#ffffff; color:#2c3e50; border:1px solid #2c3e50;}#rp_jfmer2tx0kh2w1h5k0xl .blog_load_more_cont .btn_load_more .refresh_icn:before{color:#2c3e50;}#rp_jfmer2tx0kh2w1h5k0xl .blog_load_more_cont .btn_load_more:hover{background:#2c3e50; color:#ffffff; border:1px solid #2c3e50;}#rp_jfmer2tx0kh2w1h5k0xl .blog_load_more_cont .btn_load_more:hover .refresh_icn:before{color:#ffffff;}#rp_jfmer2tx0kh2w1h5k0xl .post-title h2 a{color:#2c3e50;}#rp_jfmer2tx0kh2w1h5k0xl .rp_post_info,#rp_jfmer2tx0kh2w1h5k0xl .rp_post_info a{color:#2c3e50;}#rp_jfmer2tx0kh2w1h5k0xl .rp_post_time:before,#rp_jfmer2tx0kh2w1h5k0xl .rp_post_comment:before,#rp_jfmer2tx0kh2w1h5k0xl .rp_post_cat:before{color:#288bd0;}#rp_jfmer2tx0kh2w1h5k0xl .post-title h2 a:hover,#rp_jfmer2tx0kh2w1h5k0xl .rp_post_info a:hover{color:#2396e6;}#rp_jfmer2tx0kh2w1h5k0xl .blog_load_more_cont {bottom:-40px;}<\/style><script>\r\n\r\n\r\n\r\njQuery.noConflict();\r\njQuery(document).ready(function($){\r\n\"use strict\";\r\n\r\n\r\n   \/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!CONFIG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*\/\r\n\r\n                var html_template = \"type04\";\r\n                var column = \"blog_2_col\";\r\n\t\t\t\tvar order = \"DESC\"; \r\n\t\t\t\tvar orderby = \"date\"; \r\n                var now_open_works = 0;\r\n                var first_load = true;\r\n\r\n   \/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!CONFIG!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*\/\r\n\r\n                function get_blog_posts (this_obj) {\r\n\r\n                    if(typeof(this_obj)==\"undefined\") {data_option_value=\"*\";}\r\n                    else {var data_option_value = this_obj.attr(\"data-option-value\");}\r\n\r\n                    if (first_load == true) {\r\n\r\n                        var works_per_load = 10;\r\n                        first_load = false;\r\n\r\n                    } else {\r\n\r\n                        var works_per_load = 6;\r\n\r\n                    }\r\n\r\n                    $.ajax({\r\n\r\n                        type: \"POST\",\r\n                        url: mixajaxurl,\r\n                        data: \"html_template=\"+html_template+\"&now_open_works=\"+now_open_works+\"&action=get_blog_posts\"+\"&works_per_load=\"+works_per_load+\"&order=\"+order+\"&orderby=\"+orderby+\"&column=\"+column+\"&first_load=\"+first_load+\"&category=all\",\r\n                        success: function(result){\r\n\r\n\t                            if(result.length<1){\r\n                                $(\"#rp_jfmer2tx0kh2w1h5k0xl .blog_load_more_cont\").hide(\"fast\");\r\n\t                            }\r\n\r\n                            now_open_works = now_open_works + works_per_load;\r\n\t\t\t\t\t\t\tfirst_load = false;\r\n                            var $newItems = $(result);\r\n                            $(\"#rp_jfmer2tx0kh2w1h5k0xl\").isotope( 'insert', $newItems, function() {\r\n                            $(\"#rp_jfmer2tx0kh2w1h5k0xl\").ready(function(){\r\n                            $(\"#rp_jfmer2tx0kh2w1h5k0xl\").isotope('layout');\r\n\r\n                            \/\/Blog\r\n                            $('#rp_jfmer2tx0kh2w1h5k0xl .isotope-item').each(function(){\r\n                            $(this).css('margin-top', Math.floor(-1*($(this).height()\/2))+'px');\r\n                            });\r\n                            });\r\n\r\n\r\n                               $(\"#rp_jfmer2tx0kh2w1h5k0xl\").isotope('layout');\r\n\t\t\t\t\t\t\t   \r\n\t\t\t\t\t\t\t   $(window).trigger('resize');\r\n\t\t\t\t\t\t\t   \r\n\t\t\t\t\t\t\t});\r\n\r\n\r\n$(\".wpb_row:empty\").remove();\r\n$(\".wpb_column:empty\").remove();\r\n$(\".wpb_wrapper:empty\").remove();\r\n$(\".post-attachement\").fitVids();\r\n$(\".entry\").fitVids();\r\n$(\".video_sc\").fitVids();\r\n\r\n$('.flexslider').flexslider({\r\nanimation: \"slide\",              \/\/String: Select your animation type, \"fade\" or \"slide\"\r\nslideDirection: \"horizontal\",\r\ndirectionNav: true,\r\nstart: function(slider){ \/\/ init the height of the first item on start\r\nvar $new_height = slider.slides.eq().height();     \r\nslider.height($new_height);                                     \r\n},          \r\n\r\nbefore: function(slider){ \/\/ init the height of the next item before slide\r\nvar $new_height = slider.slides.eq(slider.animatingTo).height();                \r\nif($new_height != slider.height()){\r\nslider.animate({ height: $new_height  }, 400);\r\n\r\n}\r\n}          \r\n\r\n});\r\n$('.zilla-likes').unbind().bind('click',\r\n    function() {\r\n        var link = j$(this);\r\n        if(link.hasClass('active')) return false;\r\n\r\n        var id = $(this).attr('id'),\r\n            postfix = link.find('.zilla-likes-postfix').text();\r\n\r\n        $.post(zilla_likes.ajaxurl, { action:'zilla-likes', likes_id:id, postfix:postfix }, function(data){\r\n            link.html(data).addClass('active').attr('title','You already like this');\r\n        });\r\n\r\n        return false;\r\n    });\r\n\r\nif( $('body.ajax-zilla-likes').length ) {\r\n    $('.zilla-likes').each(function(){\r\n        var id = $(this).attr('id');\r\n        $(this).load(zilla_likes.ajaxurl, { action:'zilla-likes', post_id:id });\r\n    });\r\n}\r\n                            $('a.prettyPhoto').prettyPhoto();\r\n\r\n\r\n$('.love-it').click(function() {\r\n\t\tvar $this = $(this);\t\r\n\t\tvar post_id = $this.data('post-id');\r\n\t\tvar user_id = $this.data('user-id');\r\n\t\tvar data = {\r\n\t\t\taction: 'love_it',\r\n\t\t\titem_id: post_id,\r\n\t\t\tuser_id: user_id,\r\n\t\t\tlove_it_nonce: love_it_vars.nonce\r\n\t\t};\r\n\t\t\r\n\t\t\/\/ don't allow the user to love the item more than once\r\n\t\tif($this.hasClass('loved')) {\r\n\t\t\treturn false;\r\n\t\t}\t\r\n\t\tif(love_it_vars.logged_in == 'false' && $.cookie('loved-' + post_id)) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t\t\r\n\t\t$.post(love_it_vars.ajaxurl, data, function(response) {\r\n\t\t\tif(response == 'loved') {\r\n\t\t\t\t$this.addClass('loved');\r\n\t\t\t\tvar count_wrap = $this.find('span');\r\n\t\t\t\tvar count = count_wrap.text();\r\n\t\t\t\tcount_wrap.text(parseInt(count) + 1);\r\n\t\t\t\tif(love_it_vars.logged_in == 'false') {\r\n\t\t\t\t\t$.cookie('loved-' + post_id, 'yes', { expires: 1 });\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn false;\r\n\t});\t\r\n\t\r\n\t$('.love-it').removeClass('love-it');\r\n\t\r\n\r\n$('.love-it-wrapper .post_love_link').click(function () {\r\n\t\r\n\t\r\n$(this).parents('div[class^=\"rp_like\"]').css('background','#ef584d');\r\n\t\r\n});\r\n\r\n\r\n$('.loved').parents('div[class^=\"rp_like\"]').css('background','#ef584d');\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t$(\".refresh_icn\").removeClass(\"fa-spin\");\r\n\t\t\t\t\t\t\t$(\".refresh_icn\").removeClass(\"fa-refresh\");\r\n\t\t\t\t\t\t\t$(\".refresh_icn\").addClass(\"fa-plus\");\r\n\r\n                    }   \r\n\r\n                    });\r\n\t\t\t\t\t\r\n\t\t\t\t}\r\n\r\n                $(\"#rp_jfmer2tx0kh2w1h5k0xl .get_blog_posts_btn\").click(function(){\r\n\t\t\t\t$(\".refresh_icn\").removeClass(\"fa-plus\");\r\n\t\t\t\t$(\".refresh_icn\").addClass(\"fa-refresh\");\r\n                $(\".refresh_icn\").addClass(\"fa-spin\");\r\n                get_blog_posts();\r\n\t\t\t\t\t$(window).trigger('resize');\t\t\t\t\t\t\t\r\n\t\t\t\t\t$(\".masonry_ctn\").isotope('layout');\r\n\r\n\t\t\t\treturn false;\r\n\r\n                });\r\n\r\n\r\n               \/* load at start *\/\r\n\r\n                $(window).load(function(){\r\n\r\n                get_blog_posts();\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n\t\t\t\t\r\n$('.masonry_ctn').isotope({\r\n  \/\/ options\r\n  itemSelector : '.ajax_post',\r\n  layoutMode : 'masonry'\r\n});\r\n\r\n\r\nfunction watchblog() {\r\n\r\n$(\".masonry_ctn\").isotope({\r\n  \/\/ options\r\n  itemSelector : '.ajax_post',\r\n  layoutMode : 'masonry'\r\n});\r\n\r\n}\r\n\r\nsetInterval(watchblog, 100);\r\n\r\n});});\r\n\r\n\r\n<\/script>\r\n\r\n\r\n\r\n<div class=\"masonry_ctn blog_2_col\" id=\"rp_jfmer2tx0kh2w1h5k0xl\">\r\n\r\n\r\n\r\n\r\n<div class=\"blog_load_more_cont\"><a class=\"btn_load_more get_blog_posts_btn\" href=\"#\"><span class=\"fa-plus refresh_icn\"><\/span>Load More<\/a><\/div><div class=\"clear\"><!-- ClearFix --><\/div>\r\n\r\n<\/div>\r\n[\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row type=&#8221;&#8221; parallax_background=&#8221;&#8221; parallax_type=&#8221;&#8221; video_background=&#8221;&#8221; video_link=&#8221;&#8221; overlay=&#8221;&#8221; overlay_color=&#8221;#ffffff&#8221; i_select=&#8221;&#8221; icon=&#8221;&#8221; i_bg_color=&#8221;#ffffff&#8221; i_color=&#8221;#21c2f8&#8243; a_select=&#8221;&#8221; a_bg_color=&#8221;#ffffff&#8221;][vc_column width=&#8221;1\/1&#8243; animation=&#8221;&#8221;] Load More [\/vc_column][\/vc_row]<br \/><a href=\"http:\/\/fecomercio-pe.com.br\/site\/noticias\/\" class=\"more\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":50,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"_links":{"self":[{"href":"http:\/\/fecomercio-pe.com.br\/site\/wp-json\/wp\/v2\/pages\/49"}],"collection":[{"href":"http:\/\/fecomercio-pe.com.br\/site\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/fecomercio-pe.com.br\/site\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/fecomercio-pe.com.br\/site\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/fecomercio-pe.com.br\/site\/wp-json\/wp\/v2\/comments?post=49"}],"version-history":[{"count":7,"href":"http:\/\/fecomercio-pe.com.br\/site\/wp-json\/wp\/v2\/pages\/49\/revisions"}],"predecessor-version":[{"id":2833,"href":"http:\/\/fecomercio-pe.com.br\/site\/wp-json\/wp\/v2\/pages\/49\/revisions\/2833"}],"wp:attachment":[{"href":"http:\/\/fecomercio-pe.com.br\/site\/wp-json\/wp\/v2\/media?parent=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}