{"id":2813,"date":"2026-08-09T11:26:42","date_gmt":"2026-08-09T11:26:42","guid":{"rendered":"https:\/\/tgaudiri.org\/?p=2813"},"modified":"2026-08-30T13:09:42","modified_gmt":"2026-08-30T13:09:42","slug":"registre-acte","status":"publish","type":"post","link":"https:\/\/tgaudiri.org\/zh\/2026\/08\/09\/registre-acte\/","title":{"rendered":""},"content":{"rendered":"<style>\n\/* Ocultar t\u00edtulo y metadatos de la entrada de registro *\/\n.entry-title,\n.entry-meta,\n.post-meta,\n.entry-footer {\n    display: none !important;\n}\n<\/style>\n\n<style>\n\/* Ocultar todos los formularios *\/\n.tg-reg-form {\n    display: none;\n}\n\n\/* Cabecera del evento *\/\n.tg-registration-header {\n    max-width: 900px;\n    margin: 20px auto 30px;\n    padding: 22px 25px;\n    border: 1px solid #e5ddd3;\n    border-radius: 10px;\n    background: #faf8f5;\n    text-align: center;\n}\n\n.tg-registration-type {\n    color: #b3834d;\n    font-weight: 700;\n    font-size: 0.95rem;\n    margin-bottom: 6px;\n}\n\n.tg-registration-title {\n    font-size: 1.7rem;\n    font-weight: 700;\n    color: #1f2a37;\n    margin-bottom: 8px;\n}\n\n.tg-registration-date {\n    color: #5b6572;\n    margin-bottom: 6px;\n}\n\n.tg-registration-capacity {\n    font-weight: 600;\n    color: #5b6572;\n}\n\n.tg-registration-back {\n    display: inline-block;\n    margin-top: 15px;\n    color: #b3834d !important;\n    text-decoration: none;\n    font-weight: 600;\n}\n\n.tg-registration-back:hover {\n    text-decoration: underline;\n}\n\n#tg-registration-error {\n    display: none;\n}\n<\/style>\n\n\n<div id=\"tg-registration-header\" class=\"tg-registration-header\">\n\n    <div class=\"tg-registration-type\">\n        Inscripci\u00f3 \/ Registration\n    <\/div>\n\n    <div id=\"tg-registration-title\"\n         class=\"tg-registration-title\"><\/div>\n\n    <div id=\"tg-registration-date\"\n         class=\"tg-registration-date\"><\/div>\n\n    <div class=\"tg-registration-capacity\">\n        Places limitades \/ Limited places\n    <\/div>\n\n    <a href=\"#\"\n       class=\"tg-registration-back\"\n       onclick=\"history.back(); return false;\">\n       \u2190 Tornar \/ Back\n    <\/a>\n\n<\/div>\n\n\n<div id=\"tg-registration-error\">\n    No s&#8217;ha seleccionat cap activitat \/ No activity has been selected.\n<\/div>\n\n\n<script>\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n\n    const events = {\n\n        \"ciutadella\": {\n            title: \"Visita \/ Visit \u00b7 Parc de la Ciutadella\",\n            date: \"7 d\u2019octubre de 2026 \/ 7 October 2026\",\n            selector: \".tg-ciutadella\"\n        },\n\n        \"ub\": {\n            title: \"Sessi\u00f3 \/ Session \u00b7 Universitat de Barcelona\",\n            date: \"7 d\u2019octubre de 2026 \/ 7 October 2026\",\n            selector: \".tg-ub\"\n        },\n\n        \"gaudi\": {\n            title: \"Visita \/ Visit \u00b7 The Gaud\u00ed Research Institute\",\n            date: \"8 d\u2019octubre de 2026 \/ 8 October 2026\",\n            selector: \".tg-gaudi\"\n        },\n\n        \"pssjd\": {\n            title: \"Sessi\u00f3 \/ Session \u00b7 Parc Sanitari Sant Joan de D\u00e9u\",\n            date: \"8 d\u2019octubre de 2026 \/ 8 October 2026\",\n            selector: \".tg-pssjd\"\n        },\n\n        \"colonia-visita\": {\n            title: \"Visita \/ Visit \u00b7 Col\u00f2nia G\u00fcell\",\n            date: \"9 d\u2019octubre de 2026 \/ 9 October 2026\",\n            selector: \".tg-colonia-visita\"\n        },\n\n        \"colonia-sessio\": {\n            title: \"Sessi\u00f3 \/ Session \u00b7 Col\u00f2nia G\u00fcell\",\n            date: \"9 d\u2019octubre de 2026 \/ 9 October 2026\",\n            selector: \".tg-colonia-sessio\"\n        }\n\n    };\n\n    const params = new URLSearchParams(window.location.search);\n    const eventCode = params.get(\"event\");\n\n    document.querySelectorAll(\".tg-reg-form\").forEach(function(form) {\n        form.style.display = \"none\";\n    });\n\n    if (eventCode && events[eventCode]) {\n\n        const eventData = events[eventCode];\n\n        document.getElementById(\"tg-registration-title\").textContent =\n            eventData.title;\n\n        document.getElementById(\"tg-registration-date\").textContent =\n            eventData.date;\n\n        const selected =\n            document.querySelector(eventData.selector);\n\n        if (selected) {\n            selected.style.display = \"block\";\n        }\n\n    } else {\n\n        document.getElementById(\"tg-registration-header\").style.display = \"none\";\n        document.getElementById(\"tg-registration-error\").style.display = \"block\";\n\n    }\n\n});\n<\/script>\n\n\n\n<div class=\"wp-block-group tg-reg-form tg-ciutadella has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"regi-fair-form\" id=\"regi-fair-form-6\" data-regi-fair-event-id=\"6\"><\/div><\/div>\n\n\n\n<div class=\"wp-block-group tg-reg-form tg-ub has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"regi-fair-form\" id=\"regi-fair-form-7\" data-regi-fair-event-id=\"7\"><\/div><\/div>\n\n\n\n<div class=\"wp-block-group tg-reg-form tg-gaudi has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"regi-fair-form\" id=\"regi-fair-form-4\" data-regi-fair-event-id=\"4\"><\/div><\/div>\n\n\n\n<div class=\"wp-block-group tg-reg-form tg-pssjd has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"regi-fair-form\" id=\"regi-fair-form-5\" data-regi-fair-event-id=\"5\"><\/div><\/div>\n\n\n\n<div class=\"wp-block-group tg-reg-form tg-colonia-visita has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"regi-fair-form\" id=\"regi-fair-form-2\" data-regi-fair-event-id=\"2\"><\/div><\/div>\n\n\n\n<div class=\"wp-block-group tg-reg-form tg-colonia-sessio has-global-padding is-layout-constrained wp-block-group-is-layout-constrained\"><div class=\"regi-fair-form\" id=\"regi-fair-form-3\" data-regi-fair-event-id=\"3\"><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Inscripci\u00f3 \/ Registration Places limitades \/ Limited places \u2190 Tornar \/ Back No s&#8217;ha seleccionat cap activitat \/ No activity has been selected.<\/p>","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_themeisle_gutenberg_block_has_review":false,"_ti_tpc_template_sync":false,"_ti_tpc_template_id":"","footnotes":""},"categories":[1],"tags":[],"class_list":["post-2813","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"acf":[],"featured_media_urls":[],"_links":{"self":[{"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/posts\/2813","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/comments?post=2813"}],"version-history":[{"count":12,"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/posts\/2813\/revisions"}],"predecessor-version":[{"id":2875,"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/posts\/2813\/revisions\/2875"}],"wp:attachment":[{"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/media?parent=2813"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/categories?post=2813"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tgaudiri.org\/zh\/wp-json\/wp\/v2\/tags?post=2813"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}