{"id":15299,"date":"2026-10-01T19:21:36","date_gmt":"2026-10-01T18:21:36","guid":{"rendered":"https:\/\/originaldublin.com\/?page_id=15299"},"modified":"2026-10-01T19:26:04","modified_gmt":"2026-10-01T18:26:04","slug":"tour-reviews-cloned-14921","status":"publish","type":"page","link":"https:\/\/originaldublin.com\/es\/tour-reviews-cloned-14921\/","title":{"rendered":"Tour Reviews &#8211; [Cloned #14921]"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-page\" data-elementor-id=\"15299\" class=\"elementor elementor-15299\" data-elementor-settings=\"{&quot;ha_cmc_init_switcher&quot;:&quot;no&quot;}\" data-elementor-post-type=\"page\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-674bb52 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"674bb52\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-11732a9\" data-id=\"11732a9\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-ae1ad2c elementor-widget__width-inherit elementor-widget elementor-widget-html\" data-id=\"ae1ad2c\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"od-redirect-card\" id=\"od-card\">\n  <label>\n    Which Tour Did You Attend\n    <select id=\"od-tour\">\n      <option value=\"\">Select your tour\u2026<\/option>\n    <\/select>\n  <\/label>\n\n  <label id=\"od-time-wrap\" style=\"display:none;\">\n    Time Slot\n    <select id=\"od-time\">\n      <option value=\"\">Select your time slot\u2026<\/option>\n    <\/select>\n  <\/label>\n\n  <label id=\"od-platform-wrap\" style=\"display:none;\">\n    Where will you leave a review?\n    <select id=\"od-platform\">\n      <option value=\"\">Select a site\u2026<\/option>\n      <option value=\"google\">Google<\/option>\n      <option value=\"tripadvisor\">Trip Advisor<\/option>\n    <\/select>\n  <\/label>\n\n  <!-- Use an anchor styled like a button to avoid form submission -->\n  <a href=\"#\" id=\"od-go\" class=\"od-btn\">Leave a Review<\/a>\n  <div id=\"od-msg\" aria-live=\"polite\" style=\"margin-top:8px;font-size:0.9rem;\"><\/div>\n<\/div>\n\n<script>\n(() => {\n  \/\/ ---- Links ----\n  const REVIEW_LINKS = {\n    google: \"https:\/\/g.page\/r\/CS1HXoWVqe6UEBM\/review\",\n    tripadvisor: \"https:\/\/www.tripadvisor.ie\/UserReviewEdit-g186605-d23980366-Original_Dublin_Walking_Tours_Experiences-Dublin_County_Dublin.html\"\n  };\n  const FT_REVIEW_LINK = \"https:\/\/originaldublin.com\/ft-review\";\n\n  \/\/ ---- Tours (in display order) ----\n  const HISTORY_TOUR = \"History and Culture Tour (Highlights and Hidden Gems)\";\n  const TOURS = [\n    HISTORY_TOUR,\n    \"Mythology and Folklore Tour\",\n    \"Queer Dublin Tour\",\n    \"Haunted Dublin Tour\",\n    \"Private Bespoke Tour\"\n  ];\n\n  \/\/ ---- History and Culture time slots ----\n  \/\/ \"platform\" = show Google \/ Trip Advisor choice\n  \/\/ anything else = go straight to that URL\n  const TIME_SLOTS = {\n    \"10:00\": \"platform\",\n    \"11:00\": FT_REVIEW_LINK,\n    \"13:00\": \"platform\",\n    \"14:30\": FT_REVIEW_LINK,\n    \"15:00\": \"platform\"\n  };\n\n  const card         = document.getElementById('od-card');\n  const tour         = document.getElementById('od-tour');\n  const timeWrap     = document.getElementById('od-time-wrap');\n  const time         = document.getElementById('od-time');\n  const platformWrap = document.getElementById('od-platform-wrap');\n  const platform     = document.getElementById('od-platform');\n  const go           = document.getElementById('od-go');\n  const msg          = document.getElementById('od-msg');\n\n  \/\/ Prevent Enter from submitting any parent form\n  card.addEventListener('keydown', (e) => {\n    if (e.key === 'Enter') { e.preventDefault(); e.stopPropagation(); }\n  }, true);\n\n  \/\/ Populate tours\n  TOURS.forEach(t => {\n    const opt = document.createElement('option');\n    opt.value = t;\n    opt.textContent = t;\n    tour.appendChild(opt);\n  });\n\n  \/\/ Populate time slots\n  Object.keys(TIME_SLOTS).forEach(slot => {\n    const opt = document.createElement('option');\n    opt.value = slot;\n    opt.textContent = slot;\n    time.appendChild(opt);\n  });\n\n  function show(el, visible) { el.style.display = visible ? 'block' : 'none'; }\n\n  tour.addEventListener('change', () => {\n    msg.textContent = '';\n    time.value = '';\n    platform.value = '';\n    const t = tour.value;\n\n    if (!t) {\n      show(timeWrap, false);\n      show(platformWrap, false);\n    } else if (t === HISTORY_TOUR) {\n      show(timeWrap, true);\n      show(platformWrap, false);   \/\/ appears only after a qualifying time is picked\n    } else {\n      show(timeWrap, false);\n      show(platformWrap, true);\n    }\n  });\n\n  time.addEventListener('change', () => {\n    msg.textContent = '';\n    platform.value = '';\n    show(platformWrap, TIME_SLOTS[time.value] === 'platform');\n  });\n\n  go.addEventListener('click', (e) => {\n    e.preventDefault();\n    e.stopPropagation();\n\n    const t = tour.value;\n    if (!t) { msg.textContent = 'Please pick your tour.'; return; }\n\n    if (t === HISTORY_TOUR) {\n      const slot = time.value;\n      if (!slot) { msg.textContent = 'Please pick your time slot.'; return; }\n      const target = TIME_SLOTS[slot];\n      if (target !== 'platform') {\n        window.location.href = target;   \/\/ 11:00 or 14:30\n        return;\n      }\n    }\n\n    const p = platform.value;\n    if (!p) { msg.textContent = 'Please pick where you will leave your review.'; return; }\n    window.location.href = REVIEW_LINKS[p]; \/\/ or: window.open(REVIEW_LINKS[p], '_blank');\n  });\n})();\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>Which Tour Did You Attend Select your tour\u2026 Time Slot Select your time slot\u2026 Where will you leave a review? Select a site\u2026GoogleTrip Advisor Leave a Review<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_canvas","meta":{"footnotes":"","_members_access_role":[],"_members_access_error":""},"class_list":["post-15299","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/originaldublin.com\/es\/wp-json\/wp\/v2\/pages\/15299","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/originaldublin.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/originaldublin.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/originaldublin.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/originaldublin.com\/es\/wp-json\/wp\/v2\/comments?post=15299"}],"version-history":[{"count":3,"href":"https:\/\/originaldublin.com\/es\/wp-json\/wp\/v2\/pages\/15299\/revisions"}],"predecessor-version":[{"id":15303,"href":"https:\/\/originaldublin.com\/es\/wp-json\/wp\/v2\/pages\/15299\/revisions\/15303"}],"wp:attachment":[{"href":"https:\/\/originaldublin.com\/es\/wp-json\/wp\/v2\/media?parent=15299"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}