{"id":335,"date":"2022-09-11T23:07:19","date_gmt":"2022-09-11T23:07:19","guid":{"rendered":"https:\/\/templates.homherodev.com\/burleigh\/?page_id=335"},"modified":"2022-09-11T23:07:19","modified_gmt":"2022-09-11T23:07:19","slug":"reviews","status":"publish","type":"page","link":"https:\/\/templates.homherodev.com\/burleigh\/reviews\/","title":{"rendered":"Reviews"},"content":{"rendered":"<iframe loading=\"lazy\" id=\"booking-frame\" frameborder=\"0\" height=\"400\" width=\"100%\" src=\"https:\/\/booking.homhero.com.au\/reviews.html?api_key=2265ea2c-fb4d-4946-9ac6-2db3dd68a66f&#038;api_domain=production&#038;maincolor=3dc6c2&#038;formcolor=&#038;bgcolor=\"><\/iframe>\r\n\r\n<script>\r\n\r\n    function bindEvent(element, eventName, eventHandler) { \r\n        if (element.addEventListener){ \r\n            element.addEventListener(eventName, eventHandler, false); \r\n        } else if (element.attachEvent) { \r\n            element.attachEvent('on' + eventName, eventHandler); \r\n        } \r\n    } \r\n\r\n    \/\/ Listen to message from child window\r\n    bindEvent(window, 'message', receiveMessage);\r\n\r\n    function receiveMessage(e) {\r\n        if (typeof e.data == 'string' && e.data != \"\" && e.data.charAt(0) == '{') {\r\n            try {\r\n                var args = JSON.parse(e.data);\r\n                if (!args.__postRobot__) {\r\n                    childObj = eval(args.vars);\r\n                    console.log(childObj);\r\n                    console.log(args.method);\r\n                    eval(args.method + \"(childObj)\");\r\n                }\r\n            } catch (error){\r\n                \/\/ Do nothing\r\n            }\r\n        }\r\n    }\r\n\r\n<\/script>\r\n\r\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"class_list":["post-335","page","type-page","status-publish","hentry","entry"],"acf":[],"featured_image_src":null,"featured_image_src_square":null,"_links":{"self":[{"href":"https:\/\/templates.homherodev.com\/burleigh\/wp-json\/wp\/v2\/pages\/335","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/templates.homherodev.com\/burleigh\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/templates.homherodev.com\/burleigh\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/templates.homherodev.com\/burleigh\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/templates.homherodev.com\/burleigh\/wp-json\/wp\/v2\/comments?post=335"}],"version-history":[{"count":2,"href":"https:\/\/templates.homherodev.com\/burleigh\/wp-json\/wp\/v2\/pages\/335\/revisions"}],"predecessor-version":[{"id":337,"href":"https:\/\/templates.homherodev.com\/burleigh\/wp-json\/wp\/v2\/pages\/335\/revisions\/337"}],"wp:attachment":[{"href":"https:\/\/templates.homherodev.com\/burleigh\/wp-json\/wp\/v2\/media?parent=335"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}