{"id":7,"date":"2026-09-13T14:53:18","date_gmt":"2026-09-13T14:53:18","guid":{"rendered":"https:\/\/testwp.bitmedia.es\/?page_id=7"},"modified":"2026-09-13T14:53:18","modified_gmt":"2026-09-13T14:53:18","slug":"reserves","status":"publish","type":"page","link":"https:\/\/testwp.bitmedia.es\/?page_id=7","title":{"rendered":"reserves"},"content":{"rendered":"\t\t<div class=\"rr-widget\" data-privacy-url=\"\">\n\t\t\t<form class=\"rr-form\" novalidate>\n\n\t\t\t\t<!-- Pas 1: comensals + espai -->\n\t\t\t\t<div class=\"rr-step\" data-step=\"1\">\n\t\t\t\t\t<h3 class=\"rr-step-title\">1. Quantes persones?<\/h3>\n\t\t\t\t\t<div class=\"rr-row\">\n\t\t\t\t\t\t<label class=\"rr-field\">\n\t\t\t\t\t\t\t<span>Comensals<\/span>\n\t\t\t\t\t\t\t<input type=\"number\" name=\"party_size\" min=\"1\" max=\"20\" value=\"2\" required>\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t\t<label class=\"rr-field\">\n\t\t\t\t\t\t\t<span>Espai (opcional)<\/span>\n\t\t\t\t\t\t\t<select name=\"space_id\" class=\"rr-space-select\">\n\t\t\t\t\t\t\t\t<option value=\"\">Qualsevol<\/option>\n\t\t\t\t\t\t\t<\/select>\n\t\t\t\t\t\t<\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<button type=\"button\" class=\"rr-btn rr-goto-calendar\">Veure calendari<\/button>\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Pas 2: calendari -->\n\t\t\t\t<div class=\"rr-step\" data-step=\"2\" hidden>\n\t\t\t\t\t<h3 class=\"rr-step-title\">2. Tria el dia<\/h3>\n\t\t\t\t\t<div class=\"rr-calendar\">\n\t\t\t\t\t\t<div class=\"rr-cal-head\">\n\t\t\t\t\t\t\t<button type=\"button\" class=\"rr-cal-prev\" aria-label=\"Mes anterior\">\u2039<\/button>\n\t\t\t\t\t\t\t<span class=\"rr-cal-title\"><\/span>\n\t\t\t\t\t\t\t<button type=\"button\" class=\"rr-cal-next\" aria-label=\"Mes seg\u00fcent\">\u203a<\/button>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t\t<div class=\"rr-cal-grid\"><\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<input type=\"hidden\" name=\"date\">\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Pas 3: franges -->\n\t\t\t\t<div class=\"rr-step\" data-step=\"3\" hidden>\n\t\t\t\t\t<h3 class=\"rr-step-title\">3. Tria l&#039;hora<\/h3>\n\t\t\t\t\t<div class=\"rr-slots\"><\/div>\n\t\t\t\t\t<input type=\"hidden\" name=\"start\">\n\t\t\t\t\t<input type=\"hidden\" name=\"resolved_space_id\">\n\t\t\t\t<\/div>\n\n\t\t\t\t<!-- Pas 4: dades -->\n\t\t\t\t<div class=\"rr-step\" data-step=\"4\" hidden>\n\t\t\t\t\t<h3 class=\"rr-step-title\">4. Les teues dades<\/h3>\n\t\t\t\t\t<div class=\"rr-row\">\n\t\t\t\t\t\t<label class=\"rr-field\"><span>Nom *<\/span><input type=\"text\" name=\"customer_first_name\" required><\/label>\n\t\t\t\t\t\t<label class=\"rr-field\"><span>Cognoms *<\/span><input type=\"text\" name=\"customer_last_name\" required><\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<div class=\"rr-row\">\n\t\t\t\t\t\t<label class=\"rr-field\"><span>Correu *<\/span><input type=\"email\" name=\"customer_email\" required><\/label>\n\t\t\t\t\t\t<label class=\"rr-field\"><span>Tel\u00e8fon *<\/span><input type=\"tel\" name=\"customer_phone\" required><\/label>\n\t\t\t\t\t<\/div>\n\t\t\t\t\t<label class=\"rr-field\">\n\t\t\t\t\t\t<span>Al\u00b7l\u00e8rgies \/ necessitats especials<\/span>\n\t\t\t\t\t\t<textarea name=\"special_needs\" rows=\"2\"><\/textarea>\n\t\t\t\t\t<\/label>\n\t\t\t\t\t<label class=\"rr-consent\">\n\t\t\t\t\t\t<input type=\"checkbox\" name=\"consent\" required>\n\t\t\t\t\t\t<span>\n\t\t\t\t\t\t\tAccepte la pol\u00edtica de privacitat.\t\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/label>\n\t\t\t\t\t<button type=\"submit\" class=\"rr-btn rr-submit\">Confirmar reserva<\/button>\n\t\t\t\t<\/div>\n\n\t\t\t\t<div class=\"rr-message\" role=\"status\" aria-live=\"polite\"><\/div>\n\t\t\t<\/form>\n\t\t<\/div>\n\t\t\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":{"footnotes":""},"class_list":["post-7","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/testwp.bitmedia.es\/index.php?rest_route=\/wp\/v2\/pages\/7","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/testwp.bitmedia.es\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/testwp.bitmedia.es\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/testwp.bitmedia.es\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/testwp.bitmedia.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=7"}],"version-history":[{"count":1,"href":"https:\/\/testwp.bitmedia.es\/index.php?rest_route=\/wp\/v2\/pages\/7\/revisions"}],"predecessor-version":[{"id":9,"href":"https:\/\/testwp.bitmedia.es\/index.php?rest_route=\/wp\/v2\/pages\/7\/revisions\/9"}],"wp:attachment":[{"href":"https:\/\/testwp.bitmedia.es\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=7"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}