{"id":133542,"date":"2022-10-20T16:40:08","date_gmt":"2022-10-20T22:40:08","guid":{"rendered":"https:\/\/help.fooevents.com\/docs\/frequently-asked-questions\/troubleshooting\/why-does-my-calendar-not-display-correctly-if-i-add-the-shortcode-in-my-events-long-description\/"},"modified":"2026-06-03T06:17:34","modified_gmt":"2026-06-03T13:17:34","slug":"porque-e-que-o-meu-calendario-nao-e-apresentado-corretamente-quando-utilizo-um-shortcode","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/pt\/docs\/frequently-asked-questions\/troubleshooting\/why-does-my-calendar-not-display-correctly-when-i-use-a-shortcode\/","title":{"rendered":"Porque \u00e9 que o meu calend\u00e1rio n\u00e3o \u00e9 apresentado corretamente quando utilizo um shortcode?"},"content":{"rendered":"<p class=\"wp-block-paragraph\">O seu calend\u00e1rio pode ser apresentado incorretamente, ou apresentar c\u00f3digo em vez de apresentar o calend\u00e1rio, se tamb\u00e9m estiver a apresentar um Google Map na sua p\u00e1gina de produto. O JavaScript adicionado pelo Google Maps pode causar conflitos com outros c\u00f3digos JavaScript, incluindo o Calend\u00e1rio FooEvents. Para resolver este problema, ter\u00e1 de remover as coordenadas do Google Maps do separador Defini\u00e7\u00f5es do Evento e, em vez disso, incorporar o Google Map.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"643\" height=\"656\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/10\/Google-Maps-embed_1.png\" alt=\"\" class=\"wp-image-133547\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/10\/Google-Maps-embed_1.png 643w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/10\/Google-Maps-embed_1-294x300.png 294w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Aqui est\u00e3o as instru\u00e7\u00f5es pormenorizadas:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Editar o seu evento<\/li>\n\n\n\n<li>Ir para o <a href=\"https:\/\/help.fooevents.com\/pt\/documentos\/temas-2\/eventos-2\/preparacao-do-evento\/#event-settings\">Defini\u00e7\u00f5es de eventos<\/a> separador<\/li>\n\n\n\n<li>Remover as coordenadas no <strong>Coordenadas do Google Maps<\/strong> dom\u00ednio<\/li>\n\n\n\n<li>Abra uma nova janela do navegador Web e aceda a <a href=\"https:\/\/www.google.com\/maps\" target=\"_blank\" rel=\"noopener nofollow\">https:\/\/www.google.com\/maps<\/a><\/li>\n\n\n\n<li>Procurar o endere\u00e7o que pretende apresentar no seu mapa<\/li>\n\n\n\n<li>Clicar no bot\u00e3o <strong>Partilhar <\/strong>\u00edcone<\/li>\n\n\n\n<li>Clique em <strong>Inserir um mapa<\/strong>\u00a0na janela que aparece<\/li>\n\n\n\n<li>Clique em <strong>COPIAR HTML<\/strong> para copiar o c\u00f3digo de incorpora\u00e7\u00e3o do iframe<\/li>\n\n\n\n<li>Cole este c\u00f3digo na descri\u00e7\u00e3o longa do evento utilizando o editor WYSIWYG<\/li>\n\n\n\n<li>Atualizar o seu evento<\/li>\n<\/ol>","protected":false},"excerpt":{"rendered":"<p>Your calendar might display incorrectly, or output code instead of displaying the calendar, if you are also displaying a Google Map on your product page. The JavaScript added by Google Maps can cause conflicts with other JavaScript code including the FooEvents Calendar. In order to resolve this issue, you will need to remove the Google [&hellip;]<\/p>\n","protected":false},"featured_media":0,"parent":822,"menu_order":6,"template":"","doc_tag":[38,415,80,367,265,71,575,574,264],"class_list":["post-133542","docs","type-docs","status-publish","hentry","doc_tag-conflict","doc_tag-conflicts","doc_tag-error","doc_tag-event-settings","doc_tag-fooevents-calendar","doc_tag-google-maps","doc_tag-javascript","doc_tag-js","doc_tag-shortcode"],"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/133542","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/types\/docs"}],"version-history":[{"count":1,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/133542\/revisions"}],"predecessor-version":[{"id":148632,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/133542\/revisions\/148632"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/822"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/media?parent=133542"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/doc_tag?post=133542"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}