{"id":15585,"date":"2025-03-25T20:54:08","date_gmt":"2025-03-25T20:54:08","guid":{"rendered":"https:\/\/new.unamujeralavez.com\/?page_id=15585"},"modified":"2025-03-25T20:54:49","modified_gmt":"2025-03-25T20:54:49","slug":"test","status":"publish","type":"page","link":"https:\/\/new.unamujeralavez.com\/en\/test\/","title":{"rendered":"Test"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"15585\" class=\"elementor elementor-15585\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-7cce58f e-flex e-con-boxed e-con e-parent\" data-id=\"7cce58f\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<script>\r\ndocument.addEventListener(\"DOMContentLoaded\", function() {\r\n    document.querySelectorAll(\".raffle-button\").forEach(button => {\r\n        button.addEventListener(\"click\", function() {\r\n            document.getElementById(\"raffle-list\").style.display = \"none\";\r\n            document.getElementById(\"raffle-detail\").style.display = \"block\";\r\n            document.getElementById(\"raffle-detail-title\").innerText = this.getAttribute(\"data-title\");\r\n            document.getElementById(\"raffle-detail-content\").innerText = this.getAttribute(\"data-content\");\r\n            document.getElementById(\"raffle-detail-image\").innerHTML = this.getAttribute(\"data-image\");\r\n        });\r\n    });\r\n    \r\n    document.getElementById(\"raffle-back-button\").addEventListener(\"click\", function() {\r\n        document.getElementById(\"raffle-detail\").style.display = \"none\";\r\n        document.getElementById(\"raffle-list\").style.display = \"grid\";\r\n    });\r\n});\r\n\r\n\r\ndocument.addEventListener(\"DOMContentLoaded\", function() {\r\n    document.getElementById(\"raffle-registration-form\").addEventListener(\"submit\", function(event) {\r\n        event.preventDefault();\r\n\r\n        let formData = new FormData(this);\r\n        formData.append(\"action\", \"register_participant\");\r\n        formData.append(\"raffle_id\", document.querySelector(\".raffle-button\").getAttribute(\"data-id\"));\r\n\r\n        fetch(\"https:\/\/new.unamujeralavez.com\/wp-admin\/admin-ajax.php\", {\r\n            method: \"POST\",\r\n            body: formData\r\n        })\r\n        .then(response => response.json())\r\n        .then(data => {\r\n            let messageBox = document.createElement(\"p\");\r\n            messageBox.style.marginTop = \"10px\";\r\n            if (data.success) {\r\n                messageBox.style.color = \"green\";\r\n                messageBox.innerText = data.message;\r\n                document.getElementById(\"raffle-registration-form\").reset();\r\n            } else {\r\n                messageBox.style.color = \"red\";\r\n                messageBox.innerText = data.message;\r\n            }\r\n            document.getElementById(\"raffle-registration-form\").appendChild(messageBox);\r\n        })\r\n        .catch(error => console.error(\"Error:\", error));\r\n    });\r\n});\r\n<\/script>\t\t<div class=\"elementor-element elementor-element-d0f97f6 elementor-widget elementor-widget-raffle_widget\" data-id=\"d0f97f6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"raffle_widget.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div id=\"raffle-list\" class=\"raffle-list\">\r\n                <style>\r\n                    @media (min-width: 1025px) {\r\n                        .raffle-list { \r\n                            display: grid; \r\n                            grid-template-columns: repeat(4, 1fr); \r\n                            gap: 20px; \r\n                        }\r\n                    }\r\n                    @media (max-width: 1024px) {\r\n                        .raffle-list { \r\n                            display: grid; \r\n                            grid-template-columns: repeat(3, 1fr); \r\n                            gap: 15px; \r\n                        }\r\n                    }\r\n                    @media (max-width: 767px) {\r\n                        .raffle-list { \r\n                            display: grid; \r\n                            grid-template-columns: repeat(1, 1fr); \r\n                            gap: 10px; \r\n                        }\r\n                    }\r\n                    .raffle-item {\r\n                        display: flex;\r\n                        flex-direction: column;\r\n                        align-items: center;\r\n                        text-align: center;\r\n                        padding: 15px;\r\n                        width: 100%;\r\n                    }\r\n                    .raffle-image-wrapper {\r\n                        width: 100%;\r\n                    }\r\n                    .raffle-image-wrapper img {\r\n                        width: 100%;\r\n                        height: auto;\r\n                    }\r\n                    .raffle-text-wrapper {\r\n                        width: 100%;\r\n                        text-align: inherit;\r\n                        margin-top: 10px;\r\n                    }\r\n                    .raffle-button-container {\r\n                        display: flex;\r\n                        width: 100%;\r\n                    }\r\n                    .raffle-button {\r\n                        display: inline-block;\r\n                        background-color: #007bff;\r\n                        color: white;\r\n                        padding: 12px 20px;\r\n                        border: none;\r\n                        cursor: pointer;\r\n                        border-radius: 5px;\r\n                        font-size: 16px;\r\n                    }\r\n                <\/style><div class=\"raffle-item\"><div class=\"raffle-image-wrapper\"><\/div><div class=\"raffle-text-wrapper\"><h3 class=\"raffle-item-title\" style=\"margin-top: 10px;\">Test<\/h3><\/div><div class=\"raffle-button-container\"><button class=\"raffle-button\" data-id=\"15584\" data-title=\"Test\" data-content=\"A continuaci\u00f3n te comparto informaci\u00f3n importante del plugin y su funcionamiento\" data-image=\"\">Participate<\/button><\/div><\/div><\/div><div id=\"raffle-detail\" style=\"display: none; width: 100%; padding: 20px;\"><button id=\"raffle-back-button\">Volver<\/button><div class=\"raffle-detail-container\" style=\"display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; align-items: start; margin-top: 20px;\"><div class=\"raffle-detail-left\" style=\"display: flex; align-items: flex-start; gap: 20px; flex-wrap: wrap;\"><div class=\"raffle-detail-container\" style=\"display: grid; grid-template-columns: 4fr 2fr; gap: 20px; align-items: flex-start; width: 100%;\"><div class=\"raffle-detail-left\" style=\"width: 100%;\"><div id=\"raffle-detail-image\" style=\"width: 100%; height: auto; display: flex; align-items: center; justify-content: center;\"><img decoding=\"async\" id=\"raffle-image\" src=\"\" alt=\"Raffle Image\" style=\"width: 100%; height: auto; object-fit: cover;\"><\/div><\/div><div class=\"raffle-detail-right\" style=\"display: flex; flex-direction: column; justify-content: flex-start;\"><h2 id=\"raffle-detail-title\" class=\"raffle-detail-title\"><\/h2><p id=\"raffle-detail-content\" class=\"raffle-detail-description\"><\/p><\/div><\/div><\/div><div class=\"raffle-detail-right\"><h3 class=\"raffle-form-title\">Register to Participate<\/h3><p class=\"raffle-form-description\">Fill in your details below to participate in the raffle.<\/p><form id=\"raffle-registration-form\" class=\"elementor-form\" action=\"\"><p class=\"elementor-field-group\"><input type=\"text\" name=\"first_name\" placeholder=\"Nombre(s)\" class=\"elementor-field elementor-size-md\" \/><\/p><p class=\"elementor-field-group\"><input type=\"text\" name=\"last_name\" placeholder=\"Apellido(s)\" class=\"elementor-field elementor-size-md\" \/><\/p><p class=\"elementor-field-group\"><input type=\"tel\" name=\"phone\" placeholder=\"Tel\u00e9fono\" class=\"elementor-field elementor-size-md\" \/><\/p><p class=\"elementor-field-group\"><input type=\"email\" name=\"email\" placeholder=\"Correo Electr\u00f3nico\" class=\"elementor-field elementor-size-md\" \/><\/p><p class=\"elementor-field-group\"><button type=\"submit\" class=\"raffle-submit-button elementor-button elementor-size-md\">Register<\/button><\/p><input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form><\/div><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Test ParticipateVolver Register to Participate Fill in your details below to participate in the raffle. Register<\/p>","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_tbt_post_transparent":"","_tbt_post_title":"hide","_tbt_post_layout":"fullwidth","_tbt_post_sidebar_id":"","_tbt_post_content_style":"unboxed","_tbt_post_vertical_padding":"hide","_tbt_post_feature":"hide","_tbt_post_feature_position":"","_tbt_post_header":false,"_tbt_post_footer":false,"_joinchat":[]},"class_list":["post-15585","page","type-page","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Test - Una mujer a la vez<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/new.unamujeralavez.com\/en\/test\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Test - Una mujer a la vez\" \/>\n<meta property=\"og:description\" content=\"Test ParticipateVolver Register to Participate Fill in your details below to participate in the raffle. Register\" \/>\n<meta property=\"og:url\" content=\"https:\/\/new.unamujeralavez.com\/en\/test\/\" \/>\n<meta property=\"og:site_name\" content=\"Una mujer a la vez\" \/>\n<meta property=\"article:modified_time\" content=\"2025-03-25T20:54:49+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/new.unamujeralavez.com\/test\/\",\"url\":\"https:\/\/new.unamujeralavez.com\/test\/\",\"name\":\"Test - Una mujer a la vez\",\"isPartOf\":{\"@id\":\"https:\/\/new.unamujeralavez.com\/#website\"},\"datePublished\":\"2025-03-25T20:54:08+00:00\",\"dateModified\":\"2025-03-25T20:54:49+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/new.unamujeralavez.com\/test\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/new.unamujeralavez.com\/test\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/new.unamujeralavez.com\/test\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/new.unamujeralavez.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Test\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/new.unamujeralavez.com\/#website\",\"url\":\"https:\/\/new.unamujeralavez.com\/\",\"name\":\"Una mujer a la vez\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/new.unamujeralavez.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/new.unamujeralavez.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/new.unamujeralavez.com\/#organization\",\"name\":\"Una mujer a la vez\",\"url\":\"https:\/\/new.unamujeralavez.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/new.unamujeralavez.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/new.unamujeralavez.com\/wp-content\/uploads\/2024\/07\/logo-color.png\",\"contentUrl\":\"https:\/\/new.unamujeralavez.com\/wp-content\/uploads\/2024\/07\/logo-color.png\",\"width\":300,\"height\":180,\"caption\":\"Una mujer a la vez\"},\"image\":{\"@id\":\"https:\/\/new.unamujeralavez.com\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Test - Una mujer a la vez","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/new.unamujeralavez.com\/en\/test\/","og_locale":"en_US","og_type":"article","og_title":"Test - Una mujer a la vez","og_description":"Test ParticipateVolver Register to Participate Fill in your details below to participate in the raffle. Register","og_url":"https:\/\/new.unamujeralavez.com\/en\/test\/","og_site_name":"Una mujer a la vez","article_modified_time":"2025-03-25T20:54:49+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/new.unamujeralavez.com\/test\/","url":"https:\/\/new.unamujeralavez.com\/test\/","name":"Test - Una mujer a la vez","isPartOf":{"@id":"https:\/\/new.unamujeralavez.com\/#website"},"datePublished":"2025-03-25T20:54:08+00:00","dateModified":"2025-03-25T20:54:49+00:00","breadcrumb":{"@id":"https:\/\/new.unamujeralavez.com\/test\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/new.unamujeralavez.com\/test\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/new.unamujeralavez.com\/test\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/new.unamujeralavez.com\/"},{"@type":"ListItem","position":2,"name":"Test"}]},{"@type":"WebSite","@id":"https:\/\/new.unamujeralavez.com\/#website","url":"https:\/\/new.unamujeralavez.com\/","name":"Una mujer a la vez","description":"","publisher":{"@id":"https:\/\/new.unamujeralavez.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/new.unamujeralavez.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/new.unamujeralavez.com\/#organization","name":"Una mujer a la vez","url":"https:\/\/new.unamujeralavez.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/new.unamujeralavez.com\/#\/schema\/logo\/image\/","url":"https:\/\/new.unamujeralavez.com\/wp-content\/uploads\/2024\/07\/logo-color.png","contentUrl":"https:\/\/new.unamujeralavez.com\/wp-content\/uploads\/2024\/07\/logo-color.png","width":300,"height":180,"caption":"Una mujer a la vez"},"image":{"@id":"https:\/\/new.unamujeralavez.com\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/new.unamujeralavez.com\/en\/wp-json\/wp\/v2\/pages\/15585","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/new.unamujeralavez.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/new.unamujeralavez.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/new.unamujeralavez.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/new.unamujeralavez.com\/en\/wp-json\/wp\/v2\/comments?post=15585"}],"version-history":[{"count":4,"href":"https:\/\/new.unamujeralavez.com\/en\/wp-json\/wp\/v2\/pages\/15585\/revisions"}],"predecessor-version":[{"id":15589,"href":"https:\/\/new.unamujeralavez.com\/en\/wp-json\/wp\/v2\/pages\/15585\/revisions\/15589"}],"wp:attachment":[{"href":"https:\/\/new.unamujeralavez.com\/en\/wp-json\/wp\/v2\/media?parent=15585"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}