{"id":4945,"date":"2025-07-28T12:47:55","date_gmt":"2025-07-28T17:47:55","guid":{"rendered":"https:\/\/itishoemath.com\/?page_id=4945"},"modified":"2025-07-28T18:46:44","modified_gmt":"2025-07-28T23:46:44","slug":"login","status":"publish","type":"page","link":"https:\/\/itishoemath.com\/pt_pt\/login\/","title":{"rendered":"Acesso ao s\u00edtio Web"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"4945\" class=\"elementor elementor-4945\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-94d98ba e-flex e-con-boxed e-con e-parent\" data-id=\"94d98ba\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b0f5903 elementor-widget elementor-widget-template\" data-id=\"b0f5903\" data-element_type=\"widget\" data-widget_type=\"template.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-template\">\n\t\t\t\t\t<div data-elementor-type=\"section\" data-elementor-id=\"4938\" class=\"elementor elementor-4938\" data-elementor-post-type=\"elementor_library\">\n\t\t\t<div class=\"elementor-element elementor-element-901ca1c e-flex e-con-boxed e-con e-parent\" data-id=\"901ca1c\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-6274f7c e-con-full e-flex e-con e-child\" data-id=\"6274f7c\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-c89cf07 elementor-widget elementor-widget-html\" data-id=\"c89cf07\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<span id=\"security_register\">Aceder a <span data-no-translation>itishoe<span><\/span>math.com<\/span><\/span><br><br><br>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-a5c59a1 elementor-widget elementor-widget-shortcode\" data-id=\"a5c59a1\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\"><div class=\"magic-login-form-wrapper\" data-disable-custom=\"true\">\t\t\t<div id=\"magic-login-shortcode\">\n\t\t\t<div class=\"magic-login-form-header\">\n\t\t\t\t<p class=\"message\">Introduza o seu nome de utilizador ou endere\u00e7o de e-mail. Receber\u00e1 uma mensagem de correio eletr\u00f3nico para iniciar sess\u00e3o.<\/p>\n\t\t\t<\/div>\n\t\t\t\t\t\t\t<form name=\"magicloginform\"\n\t\t\t\t\t  class=\"magic-login-inline-login-form\"\n\t\t\t\t\t  id=\"magicloginform\"\n\t\t\t\t\t  action=\"\"\n\t\t\t\t\t  method=\"post\"\n\t\t\t\t\t  autocomplete=\"off\"\n\t\t\t\t\t  data-ajax-url=\"https:\/\/itishoemath.com\/wp-admin\/admin-ajax.php\"\n\t\t\t\t\t  data-ajax-spinner=\"https:\/\/itishoemath.com\/wp-admin\/images\/spinner.gif\"\n\t\t\t\t\t  data-ajax-sending-msg=\"Sending...\"\n\t\t\t\t\t  data-spam-protection-msg=\"Please verify that you are not a robot.\" data-trp-original-action=\"\"\n\t\t\t\t>\n\t\t\t\t\t\t\t\t\t\t\t<label for=\"user_login\">Nome de utilizador ou endere\u00e7o de e-mail<\/label>\n\t\t\t\t\t\t\t\t\t\t<input type=\"text\" name=\"log\" id=\"user_login\" class=\"input\" value=\"\" size=\"20\" autocapitalize=\"off\" autocomplete=\"username\" required \/>\n\t\t\t\t\t\n\n\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"redirect_to\" value=\"https:\/\/itishoemath.com\/pt_pt\/pt_pt\/wp-json\/wp\/v2\/pages\/4945\" \/>\n\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"testcookie\" value=\"1\" \/>\n\n\t\t\t\t\t\t\t\t\t\t\t<input type=\"hidden\" name=\"messages[info]\" value=\"\" \/>\n\t\t\t\t\t\t<input type=\"hidden\" name=\"messages[error]\" value=\"\" \/>\n\t\t\t\t\t\t<input type=\"hidden\" name=\"messages[success]\" value=\"\" \/>\n\t\t\t\t\t\n\t\t\t\t\t<input type=\"submit\" name=\"wp-submit\" id=\"wp-submit\" class=\"magic-login-submit button button-primary button-large\" value=\"Iniciar sess\u00e3o\" \/>\n\t\t\t\t<input type=\"hidden\" name=\"trp-form-language\" value=\"pt_pt\"\/><\/form>\n\t\t\t\t\t<\/div>\n\t\t<div id=\"magic-login-sent-message\" style=\"display:none;max-width:400px;margin:1em auto;padding:1em;border-radius:8px;background:#0D0D0D;color:#FFF;text-align:left;\"><p>Obrigado! Dever\u00e1 receber um e-mail para iniciar sess\u00e3o em breve. A sua liga\u00e7\u00e3o de acesso \u00e9 v\u00e1lida durante 90 dias neste s\u00edtio.<\/p><\/div><\/div><\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-afac838 elementor-widget elementor-widget-html\" data-id=\"afac838\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\njQuery('#join_button').on('click', function() {\n  \/\/ 2. Replace the inner HTML of #security_register\n  jQuery('#security_register').html(\n    '<span id=\"security_register\">' +\n      'Subscribe to the Newsletter' +\n    '<\/span>'\n  );\n  \/\/ 1. Change the submit button text\n  jQuery('.magic-login-submit')\n    .val('Newsletter Registration');\n\n\n});\n<\/script>\n<script>\n    jQuery(function($){\n  \/\/ only run if logged in\n  if ( $('body').hasClass('logged-in') ) {\n\n    \/\/ create observer\n    const observer = new MutationObserver((mutations, obs) => {\n      \/\/ check for all three selectors\n      if ( $('#newsletter_column').length\n        && $('#security_register').length\n        && $('#title_newsletter').length ) {\n\n        \/\/ hide them in one go\n        $('#newsletter_column, #security_register, #title_newsletter').hide();\n\n        \/\/ stop observing once done\n        obs.disconnect();\n      }\n    });\n\n    \/\/ start observing the document body for added nodes\n    observer.observe(document.body, {\n      childList: true,\n      subtree: true\n    });\n  }\n});\n\n<\/script>\n<script>\n\n\n\n\n\n\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n  \/\/ Avoid reload loop: Only reload once per session\/tab\n  if (sessionStorage.getItem(\"elementorLoginReloaded\")) return;\n\n  function needsReload() {\n\n    \/\/ 2. Check for div with data-elementor-id=\"3384\"\n    const restrictedDiv = document.querySelector('div[data-elementor-id=\"3384\"]');\n\n    \/\/ 3. If login box is gone (user logged in) AND restricted div is present\n    if (document.body.classList.contains('logged-in') && restrictedDiv) {\n      sessionStorage.setItem(\"elementorLoginReloaded\", \"yes\");\n      \/\/ Force a *hard reload* (ignore browser cache)\n      window.location.reload(true); \/\/ Most browsers just treat .reload(true) as .reload() now\n      \/\/ More robust cache bypass: add random query param to URL\n      setTimeout(function() {\n        window.location.replace(window.location.pathname + window.location.search.replace(\/(\\?|&)cachebust=\\d+\/g, '') + (window.location.search ? '&' : '?') + 'cachebust=' + Date.now());\n      }, 500);\n    }\n  }\n\n  \/\/ Observe DOM for changes (including AJAX)\n  const observer = new MutationObserver(needsReload);\n  observer.observe(document.body, { attributes: true, childList: true, subtree: true });\n\n  \/\/ Also run once at start\n  needsReload();\n});\n<\/script>\n\n<script>\n\nfunction waitForInfoAndChangeText(newText) {\n  var check = setInterval(function() {\n    var infoDiv = document.querySelector('#magic-login-register .info');\n    if (infoDiv) {\n      infoDiv.textContent = newText;\n      clearInterval(check);\n    }\n  }, 100); \/\/ checks every 100ms\n}\n\ndocument.addEventListener('DOMContentLoaded', function() {\n  waitForInfoAndChangeText(\"Complete your registration to receive a login link via email.\");\n});\n\n<\/script>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-2affba4 elementor-widget elementor-widget-html\" data-id=\"2affba4\" data-element_type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<script>\ndocument.addEventListener(\"DOMContentLoaded\", function () {\n  function updateVisibility() {\n    const sentMessage = document.getElementById(\"magic-login-sent-message\");\n    const regForm = document.getElementById(\"magic_login_registration_form\");\n    if (sentMessage && regForm) {\n      if (regForm.offsetParent !== null) {\n        sentMessage.style.display = \"none\";\n      } else {\n        sentMessage.style.display = \"\";\n      }\n    }\n  }\n\n  \/\/ Initial run\n  updateVisibility();\n\n  \/\/ Observe all DOM changes (attributes, children, subtree)\n  const observer = new MutationObserver(updateVisibility);\n  observer.observe(document.body, { attributes: true, childList: true, subtree: true });\n});\n\n\n\n<\/script>\t\t\t\t<\/div>\n\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>\n\t\t\t\t<\/div>\n\t\t\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<div class=\"elementor-element elementor-element-a4cd6f1 e-flex e-con-boxed e-con e-parent\" data-id=\"a4cd6f1\" data-element_type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-e80d5e5 elementor-widget elementor-widget-text-editor\" data-id=\"e80d5e5\" data-element_type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Depois de submeter o seu e-mail registado, receber\u00e1 um e-mail com uma liga\u00e7\u00e3o de in\u00edcio de sess\u00e3o que o manter\u00e1 ligado ao seu browser durante os pr\u00f3ximos 90 dias. Sem problemas com palavras-passe.<\/p><p>Se n\u00e3o estiver inscrito, <a href=\"\/pt_pt\/boletim-informativo\/\">subscrever a Newsletter<\/a>. \u00c9 gratuito e mant\u00ea-lo-\u00e1 informado sobre <span>h<\/span>oe_math \u00e9 o melhor e mais recente!<\/p>\t\t\t\t\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>Depois de submeter o seu e-mail registado, receber\u00e1 um e-mail com uma liga\u00e7\u00e3o de in\u00edcio de sess\u00e3o que o manter\u00e1 ligado ao seu browser durante os pr\u00f3ximos 90 dias. Sem problemas com palavras-passe. Se n\u00e3o estiver inscrito, inscreva-se na Newsletter. \u00c9 gratuito e mant\u00ea-lo-\u00e1 informado sobre as novidades do hoe_math!<\/p>","protected":false},"author":6,"featured_media":2755,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-4945","page","type-page","status-publish","has-post-thumbnail","hentry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/pages\/4945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/comments?post=4945"}],"version-history":[{"count":31,"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/pages\/4945\/revisions"}],"predecessor-version":[{"id":5136,"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/pages\/4945\/revisions\/5136"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/media\/2755"}],"wp:attachment":[{"href":"https:\/\/itishoemath.com\/pt_pt\/wp-json\/wp\/v2\/media?parent=4945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}