{"id":38,"date":"2026-01-18T21:47:36","date_gmt":"2026-01-18T21:47:36","guid":{"rendered":"https:\/\/khoetha.co.za\/?page_id=38"},"modified":"2026-01-23T18:16:57","modified_gmt":"2026-01-23T18:16:57","slug":"contact-us","status":"publish","type":"page","link":"https:\/\/khoetha.co.za\/?page_id=38","title":{"rendered":"Contact Us"},"content":{"rendered":"\n<form class=\"contact-form\" method=\"post\" action=\"\">\n  <input type=\"hidden\" name=\"service\" id=\"serviceField\">\n  <div class=\"form-group\">\n    <label>Your Name<\/label>\n    <input type=\"text\" name=\"name\" required>\n  <\/div>\n\n  <div class=\"form-group\">\n    <label>Email Address<\/label>\n    <input type=\"email\" name=\"email\" required>\n  <\/div>\n<script>\n  const params = new URLSearchParams(window.location.search);\n  const service = params.get('service');\n\n  if (service) {\n    document.getElementById('serviceField').value = service;\n    document.getElementById('serviceDisplay').value = service;\n  }\n<\/script>\n\n\n  <div class=\"form-group\">\n    <label>Phone Number<\/label>\n    <input type=\"tel\" name=\"phone\">\n  <\/div>\n\n  <div class=\"form-group\">\n    <label>Service<\/label>\n    <input type=\"text\" id=\"serviceDisplay\" readonly>\n  <\/div>\n\n  <div class=\"form-group\">\n    <label>Message<\/label>\n    <textarea name=\"message\" rows=\"4\" required><\/textarea>\n  <\/div>\n\n  <button type=\"submit\" class=\"btn btn-primary\">\n    Contact Us\n  <\/button>\n<\/form>\n<script>\ndocument.addEventListener('DOMContentLoaded', function () {\n  const params = new URLSearchParams(window.location.search);\n  const service = params.get('service');\n\n  if (service) {\n    const field = document.querySelector(\n      'input[name=\"service\"], textarea[name=\"service\"]'\n    );\n    if (field) {\n      field.value = service;\n    }\n  }\n});\n<\/script>\n\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Your Name Email Address Phone Number Service Message Contact Us<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-contact.php","meta":{"_uag_custom_page_level_css":"","footnotes":""},"class_list":["post-38","page","type-page","status-publish","hentry"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"admin","author_link":"https:\/\/khoetha.co.za\/?author=1"},"uagb_comment_info":0,"uagb_excerpt":"Your Name Email Address Phone Number Service Message Contact Us","_links":{"self":[{"href":"https:\/\/khoetha.co.za\/index.php?rest_route=\/wp\/v2\/pages\/38","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/khoetha.co.za\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/khoetha.co.za\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/khoetha.co.za\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/khoetha.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=38"}],"version-history":[{"count":6,"href":"https:\/\/khoetha.co.za\/index.php?rest_route=\/wp\/v2\/pages\/38\/revisions"}],"predecessor-version":[{"id":61,"href":"https:\/\/khoetha.co.za\/index.php?rest_route=\/wp\/v2\/pages\/38\/revisions\/61"}],"wp:attachment":[{"href":"https:\/\/khoetha.co.za\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=38"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}