{"id":2,"date":"2026-04-06T13:30:43","date_gmt":"2026-04-06T12:30:43","guid":{"rendered":"http:\/\/testing.webresults.ie\/?page_id=2"},"modified":"2026-04-06T13:42:47","modified_gmt":"2026-04-06T12:42:47","slug":"sample-page","status":"publish","type":"page","link":"https:\/\/testing.webresults.ie\/","title":{"rendered":"Installers Finder Tool"},"content":{"rendered":"<div id=\"pif-installer-finder\" class=\"pif-finder\" data-country=\"UK\">\n    <div class=\"pif-search\">\n        <h2 class=\"pif-search__title\">Find Your Local Installer<\/h2>\n\n        <form class=\"pif-search__form\" id=\"pif-search-form\">\n            <div class=\"pif-search__fields\">\n                <select id=\"pif-country\" class=\"pif-search__country\" aria-label=\"Country\">\n                    <option value=\"IE\">Ireland<\/option>\n                    <option value=\"UK\">United Kingdom<\/option>\n                <\/select>\n\n                <input type=\"text\"\n                       id=\"pif-postcode\"\n                       class=\"pif-search__input\"\n                       placeholder=\"Enter postcode or address\u2026\"\n                       autocomplete=\"postal-code\"\n                \/>\n\n                <button type=\"submit\" class=\"pif-search__button\">\n                    Search                <\/button>\n            <\/div>\n\n            <div class=\"pif-search__location\">\n                <button type=\"button\" id=\"pif-use-location\" class=\"pif-search__location-btn\">\n                    <span class=\"pif-search__location-icon\">\ud83d\udccd<\/span>\n                    Use my current location                <\/button>\n            <\/div>\n        <\/form>\n    <\/div>\n\n    <div id=\"pif-results\" class=\"pif-results\" style=\"display:none;\">\n        <div id=\"pif-results-map\" class=\"pif-results__map\"><\/div>\n        <div id=\"pif-results-list\" class=\"pif-results__list\"><\/div>\n    <\/div>\n\n    <div id=\"pif-loading\" class=\"pif-loading\" style=\"display:none;\">\n        <p>Searching for installers near you\u2026<\/p>\n    <\/div>\n\n    <div id=\"pif-error\" class=\"pif-error\" style=\"display:none;\"><\/div>\n\n    <!-- Contact form modal -->\n    <div id=\"pif-contact-modal\" class=\"pif-modal\" style=\"display:none;\">\n        <div class=\"pif-modal__overlay\"><\/div>\n        <div class=\"pif-modal__content\">\n            <button class=\"pif-modal__close\" aria-label=\"Close\">&times;<\/button>\n            <h3 class=\"pif-modal__title\">Contact Us<\/h3>\n\n            <form id=\"pif-contact-form\" class=\"pif-contact\">\n                <input type=\"hidden\" id=\"pif-contact-installer-id\" name=\"installer_id\" value=\"\" \/>\n\n                <div class=\"pif-contact__field\">\n                    <label for=\"pif-contact-name\">Name *<\/label>\n                    <input type=\"text\" id=\"pif-contact-name\" name=\"name\" required \/>\n                <\/div>\n\n                <div class=\"pif-contact__field\">\n                    <label for=\"pif-contact-email\">Email *<\/label>\n                    <input type=\"email\" id=\"pif-contact-email\" name=\"email\" required \/>\n                <\/div>\n\n                <div class=\"pif-contact__field\">\n                    <label for=\"pif-contact-phone\">Phone<\/label>\n                    <input type=\"tel\" id=\"pif-contact-phone\" name=\"phone\" \/>\n                <\/div>\n\n                <div class=\"pif-contact__field\">\n                    <label for=\"pif-contact-address\">Address<\/label>\n                    <textarea id=\"pif-contact-address\" name=\"address\" rows=\"2\"><\/textarea>\n                <\/div>\n\n                <div class=\"pif-contact__field\">\n                    <label for=\"pif-contact-postcode\">Postcode<\/label>\n                    <input type=\"text\" id=\"pif-contact-postcode\" name=\"postcode\" \/>\n                <\/div>\n\n                <!-- Honeypot -->\n                <div class=\"pif-hp\" aria-hidden=\"true\" style=\"position:absolute;left:-9999px;\">\n                    <input type=\"text\" name=\"website\" tabindex=\"-1\" autocomplete=\"off\" \/>\n                <\/div>\n\n                <button type=\"submit\" class=\"pif-contact__submit\">\n                    Send Enquiry                <\/button>\n            <\/form>\n\n            <div id=\"pif-contact-success\" style=\"display:none;\">\n                <p>Thank you! Your enquiry has been sent to the installer.<\/p>\n            <\/div>\n        <\/div>\n    <\/div>\n<\/div>\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/testing.webresults.ie\/index.php\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/testing.webresults.ie\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/testing.webresults.ie\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/testing.webresults.ie\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/testing.webresults.ie\/index.php\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":4,"href":"https:\/\/testing.webresults.ie\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"predecessor-version":[{"id":14,"href":"https:\/\/testing.webresults.ie\/index.php\/wp-json\/wp\/v2\/pages\/2\/revisions\/14"}],"wp:attachment":[{"href":"https:\/\/testing.webresults.ie\/index.php\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}