{"id":922,"date":"2018-02-23T16:25:11","date_gmt":"2018-02-23T15:25:11","guid":{"rendered":"https:\/\/www.marianolight.it\/?page_id=922"},"modified":"2018-10-19T10:04:43","modified_gmt":"2018-10-19T08:04:43","slug":"social-wall","status":"publish","type":"page","link":"https:\/\/www.marianolight.it\/en\/social-wall\/","title":{"rendered":"Social Wall"},"content":{"rendered":"<section  class=\"content-section full-width with-col no-padding no-margin\"><div class=\"row vc_row-fluid\"><div class=\"wpb_column vc_column_container col-md-12\"><div  class=\"clear rs-space\" style=\"height:50px;\"><\/div><div id=\"ultimate-heading-9069e0596dbd3a2\" class=\"uvc-heading ult-adjust-bottom-margin ultimate-heading-9069e0596dbd3a2 uvc-7874 \" data-hspacer=\"no_spacer\"  data-halign=\"left\" style=\"text-align:left\"><div class=\"uvc-heading-spacer no_spacer\" style=\"top\"><\/div><div class=\"uvc-main-heading ult-responsive\"  data-ultimate-target='.uvc-heading.ultimate-heading-9069e0596dbd3a2 h2'  data-responsive-json-new='{\"font-size\":\"\",\"line-height\":\"\"}' ><h2 style=\"font-weight:normal;\">Social Wall<\/h2><\/div><\/div><div class=\"section-text text-block \" ><p>Stay connected, follow us and where we are on our social media accounts.<\/p>\n<\/div><\/div><\/div><\/section><section  class=\"content-section full-width with-col no-padding no-margin\"><div class=\"row vc_row-fluid\"><div class=\"wpb_column vc_column_container col-md-12\"><link rel='stylesheet' id='ff-dynamic-css1' type='text\/css' href='https:\/\/www.marianolight.it\/wp-content\/resources\/flow-flow\/css\/stream-id1.css?ver=1530886610'\/>\t<!-- Flow-Flow \u2014 Social stream plugin for WordPress -->\n\t<div class=\"ff-stream\" data-plugin=\"flow_flow\" id=\"ff-stream-1\"><span class=\"ff-loader\"><span class=\"ff-square\" ><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><span class=\"ff-square ff-clear\"><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><span class=\"ff-square ff-clear\"><\/span><span class=\"ff-square\"><\/span><span class=\"ff-square ff-last\"><\/span><\/span><\/div>\n\n\t<script type=\"text\/javascript\">\n\t\t(function ( $ ) {\n\t\t\t\"use strict\";\n\t\t\tvar hash = '1582807215.a8b622e01001878397e64ce63a036ecdebd45a7dbb425ea1664917d60ac9609ab51e3cf6731629b9c4643acf09b4dd7f';\n\t\t\tif (\/MSIE 8\/.test(navigator.userAgent)) return;\n\t\t\tvar opts = window.FlowFlowOpts;\n            var isLS = isLocalStorageNameSupported();\n\t\t\tif (!opts) {\n\t\t\t\twindow.console && window.console.log('Flow-Flow Social Stream: no options available on moment of script execution');\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tif (!window.FF_resource) {\n\t\t\t\twindow.console && window.console.log('Flow-Flow Social Stream: required script has not been loaded. Please check if all resources in place or loaded in correct order.');\n\t\t\t\treturn\n\t\t\t}\n\t\t\tvar data = {\n\t\t\t\t'action': 'fetch_posts',\n\t\t\t\t'stream-id': '1',\n\t\t\t\t'disable-cache': '',\n\t\t\t\t'hash': hash,\n\t\t\t\t'page': '0',\n\t\t\t\t'preview': '0'\n\t\t\t};\n\t\t\tvar isMobile = \/android|blackBerry|iphone|ipad|ipod|opera mini|iemobile\/i.test(navigator.userAgent);\n\t\t\tvar streamOpts = {\"name\":\"\",\"moderation\":\"nope\",\"order\":\"smartCompare\",\"posts\":\"30\",\"days\":\"\",\"page-posts\":\"15\",\"cache\":\"yep\",\"cache_lifetime\":\"10\",\"gallery\":\"yep\",\"private\":\"nope\",\"hide-on-desktop\":\"nope\",\"hide-on-mobile\":\"nope\",\"max-res\":\"nope\",\"show-only-media-posts\":\"nope\",\"titles\":\"nope\",\"hidemeta\":\"nope\",\"hidetext\":\"nope\",\"heading\":\"\",\"headingcolor\":\"rgb(255, 255, 255)\",\"subheading\":\"\",\"subheadingcolor\":\"rgb(255, 255, 255)\",\"hhalign\":\"center\",\"bgcolor\":\"rgb(0, 0, 0)\",\"filter\":\"yep\",\"filtercolor\":\"rgb(255, 255, 255)\",\"mobileslider\":\"yep\",\"viewportin\":\"yep\",\"width\":\"260\",\"margin\":\"20\",\"layout\":\"masonry\",\"theme\":\"classic\",\"gc-style\":\"style-1\",\"upic-pos\":\"timestamp\",\"upic-style\":\"round\",\"icon-style\":\"label1\",\"cardcolor\":\"rgb(255, 255, 255)\",\"namecolor\":\"rgb(76, 76, 76)\",\"textcolor\":\"rgb(76, 76, 76)\",\"linkscolor\":\"rgb(94, 159, 202)\",\"restcolor\":\"rgb(76, 76, 76)\",\"shadow\":\"rgba(0, 0, 0, 0.05)\",\"bcolor\":\"rgba(0, 0, 0, 0.6)\",\"talign\":\"left\",\"icons-style\":\"outline\",\"cards-num\":\"3\",\"scrolltop\":\"yep\",\"c-desktop\":\"5\",\"c-laptop\":\"4\",\"c-tablet-l\":\"3\",\"c-tablet-p\":\"1\",\"c-smart-l\":\"1\",\"c-smart-p\":\"1\",\"s-desktop\":\"15\",\"s-laptop\":\"15\",\"s-tablet-l\":\"5\",\"s-tablet-p\":\"5\",\"s-smart-l\":\"5\",\"s-smart-p\":\"0\",\"m-c-desktop\":\"5\",\"m-c-laptop\":\"4\",\"m-c-tablet-l\":\"3\",\"m-c-tablet-p\":\"2\",\"m-c-smart-l\":\"2\",\"m-c-smart-p\":\"1\",\"m-s-desktop\":\"15\",\"m-s-laptop\":\"15\",\"m-s-tablet-l\":\"10\",\"m-s-tablet-p\":\"10\",\"m-s-smart-l\":\"5\",\"m-s-smart-p\":\"5\",\"j-h-desktop\":\"260\",\"j-h-laptop\":\"240\",\"j-h-tablet-l\":\"220\",\"j-h-tablet-p\":\"200\",\"j-h-smart-l\":\"180\",\"j-h-smart-p\":\"160\",\"j-s-desktop\":\"0\",\"j-s-laptop\":\"0\",\"j-s-tablet-l\":\"0\",\"j-s-tablet-p\":\"0\",\"j-s-smart-l\":\"0\",\"j-s-smart-p\":\"0\",\"g-ratio-w\":\"1\",\"g-ratio-h\":\"1\",\"g-ratio-img\":\"1\\\/3\",\"g-overlay\":\"yep\",\"m-overlay\":\"yep\",\"css\":\"\\\/*.ff-header {\\n    display: none;\\n}*\\\/\\n.ff-filter-holder .ff-filter {\\n    color: #000;\\n}\\n.ff-loadmore-wrapper .ff-btn {\\n    color: black;\\n}\\nspan.ff-search {\\n    display: none !important;\\n}\\ndiv#ff-stream-1 {\\n    min-height: 700px !important;\\n}\\n\\n.ff-content.is-truncated {\\n    color: #fff;\\n}\\n\\n#ff-stream-1 .ff-name {\\n    color: #fff !important;\\n}\\n\\n#ff-stream-1 .ff-nickname {\\n    color: #fff !important;\\n}\\n\\n#ff-stream-1 .ff-timestamp {\\n    color: #fff !important;\\n}\\n.ff-item h4 a {\\n    color: #fff !important;\\n}\\n.picture-item__inner .ff-content {\\n    color: #fff;\\n}\",\"template\":[\"header\",\"text\",\"image\",\"meta\"],\"tv\":\"nope\",\"tv-int\":\"5\",\"tv-logo\":\"\",\"tv-bg\":\"\",\"big\":\"nope\",\"id\":\"1\",\"last_changes\":1530886610,\"status\":\"0\",\"feeds\":[{\"id\":\"ni90258\",\"errors\":[],\"status\":\"1\",\"enabled\":\"yep\",\"last_update\":\"Apr 16 05:32\",\"cache_lifetime\":\"30\",\"system_enabled\":\"1\",\"timeline-type\":\"videos\",\"content\":\"user25869218\",\"mod\":\"nope\",\"type\":\"vimeo\",\"include\":\"\",\"filter-by-words\":\"\"},{\"id\":\"pu25332\",\"errors\":[{\"type\":\"youtube\",\"message\":\"API key not valid. Please pass a valid API key.\",\"url\":\"https:\\\/\\\/www.googleapis.com\\\/youtube\\\/v3\\\/channels?part=snippet%2CcontentDetails&id=UCd4bhVz5mtApcL_ghilWS4Q&key=AIzaSyAX-8ww6E0lH6Ik6HpTNLAWQ-DE3Pmthyk\"},{\"type\":\"youtube\",\"message\":\"\"}],\"status\":\"0\",\"enabled\":\"nope\",\"last_update\":\"N\\\/A\",\"cache_lifetime\":\"30\",\"system_enabled\":\"0\",\"timeline-type\":\"channel\",\"content\":\"UCd4bhVz5mtApcL_ghilWS4Q\",\"playlist-order\":\"nope\",\"posts\":\"10\",\"mod\":\"nope\",\"type\":\"youtube\",\"filter-by-words\":\"\"}],\"preview\":false};\n            streamOpts.plugin = 'flow_flow';\n            opts.streams['stream' + streamOpts.id] = streamOpts;\n\t\t\tvar $cont = $(\"[data-plugin='flow_flow']#ff-stream-\"+data['stream-id']);\n\t\t\tvar ajaxDeferred;\n\t\t\tvar script, style;\n\t\t\tvar layout_pre = streamOpts.layout.charAt(0);\n\t\t\tvar isOverlay = layout_pre === 'j' || streamOpts[layout_pre + '-overlay'] === 'yep';\n\t\t\tvar imgIndex;\n\t\t\tif (isOverlay) {\n\t\t\t\tif (streamOpts.template[0] !== 'image') {\n\t\t\t\t\tfor (var i = 0, len = streamOpts.template.length; i < len; i++) {\n\t\t\t\t\t\tif (streamOpts.template[i] === 'image') imgIndex = i;\n\t\t\t\t\t}\n\t\t\t\t\tstreamOpts.template.splice(0, 0, streamOpts.template.splice(imgIndex, 1)[0]);\n\t\t\t\t}\n\t\t\t\tstreamOpts.isOverlay = true;\n\t\t\t}\n\t\t\tvar test = '<div class=\"test\"><\/div>'; \/\/ For some WP parsers problem with &&\n\t\t\tif (FF_resource.scriptDeferred.state() === 'pending' && !FF_resource.scriptLoading) {\n\t\t\t\tscript = document.createElement('script');\n\t\t\t\tscript.src = \"https:\/\/www.marianolight.it\/wp-content\/plugins\/flow-flow\/js\/public.js\";\n\t\t\t\tscript.onload = function( script, textStatus ) {\n\t\t\t\t\tFF_resource.scriptDeferred.resolve();\n\t\t\t\t};\n\t\t\t\tdocument.body.appendChild(script);\n\t\t\t\tFF_resource.scriptLoading = true;\n\t\t\t}\n\t\t\tif (FF_resource.styleDeferred.state() === 'pending' && !FF_resource.styleLoading) {\n\t\t\t\tstyle = document.createElement('link');\n\t\t\t\tstyle.type = \"text\/css\";\n                style.id = \"ff_style\";\n                style.rel = \"stylesheet\";\n\t\t\t\tstyle.href = \"https:\/\/www.marianolight.it\/wp-content\/plugins\/flow-flow\/css\/public.css\";\n\t\t\t\tstyle.media = \"screen\";\n\t\t\t\tstyle.onload = function( script, textStatus ) {\n\t\t\t\t\tFF_resource.styleDeferred.resolve();\n\t\t\t\t};\n\t\t\t\tdocument.getElementsByTagName(\"head\")[0].appendChild(style);\n\t\t\t\tFF_resource.styleLoading = true;\n\t\t\t}\n\t\t\t$cont.addClass('ff-layout-' + streamOpts.layout);\n\t\t\tif (!isMobile) $cont.css('minHeight', '1000px');\n\t\t\tajaxDeferred = isLS && sessionStorage.getItem(hash) ? {} : $.get(opts.ajaxurl, data)\n;\n\t\t\t$.when( ajaxDeferred, FF_resource.scriptDeferred, FF_resource.styleDeferred ).done(function ( data ) {\n\t\t\t\tvar response, $errCont, err;\n                var moderation = 0;\n                var original = (isLS && sessionStorage.getItem(hash)) ? sessionStorage.getItem(hash) : data[0];\n\t\t\t\ttry {\n\t\t\t\t\tresponse = JSON.parse(original);\n\t\t\t\t} catch (e) {\n\t\t\t\t\twindow.console && window.console.log('Flow-Flow gets invalid data from server');\n\t\t\t\t\tif (opts.isAdmin || opts.isLog) {\n\t\t\t\t\t\t$errCont = $('<div class=\"ff-errors\" id=\"ff-errors-invalid-response\"><div class=\"ff-disclaim\">If you see this message then you have administrator permissions and Flow-Flow got invalid data from server. Please provide error message below if you are doing support request.<\\\/div><div class=\"ff-err-info\"><\\\/div><\\\/div>');\n\t\t\t\t\t\t$cont.before($errCont);\n\t\t\t\t\t\t$errCont.find('.ff-err-info').html(original == '' ? 'Empty response from server' : original)\n\t\t\t\t\t}\n\t\t\t\t\treturn;\n\t\t\t\t}\n                opts.streams['stream' + streamOpts.id]['items'] = response;\n                if (!FlowFlowOpts.dependencies) FlowFlowOpts.dependencies = {};\n\t\t\t\t                var requests = [];\n                var request, extension, style;\n\n                for ( extension in FlowFlowOpts.dependencies ) {\n                    if ( FlowFlowOpts.dependencies[extension] && FlowFlowOpts.dependencies[extension] !== 'loaded') {\n                        request = $.getScript( opts.plugin_base + '-' + extension + '\/js\/ff_' + extension + '_public.js');\n                        requests.push(request);\n\n                        style = document.createElement('link');\n                        style.type = \"text\/css\";\n                        style.rel = \"stylesheet\";\n                        style.id = \"ff_ad_style\";\n                        style.href = opts.plugin_base + '-' + extension + '\/css\/ff_' + extension + '_public.css';\n                        style.media = \"screen\";\n                        document.getElementsByTagName(\"head\")[0].appendChild(style);\n\n                        FlowFlowOpts.dependencies[extension] = 'loaded';\n                    }\n                }\n\n                var resourcesLoaded = $.when.apply($, requests);\n\n                resourcesLoaded.done(function(){\n                    var $stream, width;\n                    console.log(response);\n                    $stream = FlowFlow.buildStreamWith(response, streamOpts, moderation, FlowFlowOpts.dependencies);\n                    if (isLS && response.items.length > 0 && response.hash.length > 0) sessionStorage.setItem(response.hash, original);\n                    var num = streamOpts.layout === 'compact' || (streamOpts.mobileslider === 'yep' && isMobile)? (streamOpts.mobileslider === 'yep' ? 3 : streamOpts['cards-num']) : false;\n\t\t\t\t\t$cont.append($stream);\n                    if (typeof $stream !== 'string') {\n                        FlowFlow.setupGrid($cont.find('.ff-stream-wrapper'), num, streamOpts.scrolltop === 'yep', streamOpts.gallery === 'yep', streamOpts, $cont);\n                    }\n                    setTimeout(function(){\n                        $cont.find('.ff-header').removeClass('ff-loading').end().find('.ff-loader').addClass('ff-squeezed').delay(300).hide();\n                    }, 0);\n\n\t                \n                }).fail(function(){\n                    console.log('Flow-Flow: resource loading failed')\n                });\n\n                var isErr = response.status === \"errors\";\n                if ((opts.isAdmin || opts.isLog) && isErr) {\n\t\t\t\t\t$errCont = $('<div class=\"ff-errors\" id=\"ff-errors-'+response.id+'\"><div class=\"ff-err-info\">If you see this then you are administrator and Flow-Flow got errors from APIs while requesting data. Please go to plugin admin and after refreshing page check for error(s) on stream settings page. Please provide error message info if you are doing support request.<\\\/div><\\\/div>');\n\t\t\t\t\t$cont.before($errCont);\n\t\t\t\t}\n\n                if (opts.isAdmin && response.status === 'building') {\n                    window.console && window.console.log(response);\n                    $cont.prepend($('<div id=\"ff-admin-info\">ADMIN INFO: Feeds cache is being built in background. Please wait for changes to apply. Page reload is required.<\\\/div>'));\n                }\n\t\t\t});\n\n            function isLocalStorageNameSupported() {\n                var testKey = 'test', storage = window.sessionStorage;\n                try {\n                    storage.setItem(testKey, '1');\n                    storage.removeItem(testKey);\n                    return true;\n                } catch (error) {\n                    return false;\n                }\n            };\n\n\t\t\treturn false;\n\t\t}(jQuery));\n\t<\/script>\n\t<!-- Flow-Flow \u2014 Social streams plugin for Wordpress --><div  class=\"clear rs-space\" style=\"height:50px;\"><\/div><\/div><\/div><\/section>\n","protected":false},"excerpt":{"rendered":"Social WallStay connected, follow us and where we are on our social media accounts. (function ( $ ) { \"use strict\"; var hash = '1582807215.a8b622e01001878397e64ce63a036ecdebd45a7dbb425ea1664917d60ac9609ab51e3cf6731629b9c4643acf09b4dd7f'; if (\/MSIE 8\/.test(navigator.userAgent)) return; var opts = window.FlowFlowOpts; var isLS = isLocalStorageNameSupported(); if (!opts) { window.console && window.console.log('Flow-Flow Social Stream: no options available on moment of script execution'); return; }","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-922","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.marianolight.it\/en\/wp-json\/wp\/v2\/pages\/922"}],"collection":[{"href":"https:\/\/www.marianolight.it\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.marianolight.it\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.marianolight.it\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.marianolight.it\/en\/wp-json\/wp\/v2\/comments?post=922"}],"version-history":[{"count":11,"href":"https:\/\/www.marianolight.it\/en\/wp-json\/wp\/v2\/pages\/922\/revisions"}],"predecessor-version":[{"id":3929,"href":"https:\/\/www.marianolight.it\/en\/wp-json\/wp\/v2\/pages\/922\/revisions\/3929"}],"wp:attachment":[{"href":"https:\/\/www.marianolight.it\/en\/wp-json\/wp\/v2\/media?parent=922"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}