{"id":141975,"date":"2024-10-01T01:19:21","date_gmt":"2024-10-01T08:19:21","guid":{"rendered":"https:\/\/help.fooevents.com\/docs\/topics\/events\/calendar-block\/"},"modified":"2026-06-03T13:14:20","modified_gmt":"2026-06-03T20:14:20","slug":"bloco-de-calendario-fooevents","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/pt\/docs\/topics\/blocks\/fooevents-calendar-block\/","title":{"rendered":"FooEvents Bloco de calend\u00e1rio"},"content":{"rendered":"<p class=\"wp-block-paragraph\">O <strong>FooEvents Bloco de calend\u00e1rio<\/strong> est\u00e1 integrado no <a href=\"https:\/\/www.fooevents.com\/products\/fooevents-calendar\/\" target=\"_blank\" rel=\"noopener\">Calend\u00e1rio FooEvents<\/a> plugin (<a href=\"https:\/\/help.fooevents.com\/pt\/documentos\/temas-2\/registos-de-alteracoes\/calendario-de-eventos-gastronomicos-2\/\">1.7.4<\/a>e pode ser utilizado para apresentar calend\u00e1rios de eventos no seu s\u00edtio Web. O bloco inclui v\u00e1rios filtros, diferentes op\u00e7\u00f5es de apresenta\u00e7\u00e3o e defini\u00e7\u00f5es personaliz\u00e1veis. As instru\u00e7\u00f5es seguintes descrevem como adicionar o bloco a uma p\u00e1gina ou publica\u00e7\u00e3o e configur\u00e1-lo para apresentar eventos no seu s\u00edtio.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Adicionar o bloco a uma p\u00e1gina ou publica\u00e7\u00e3o<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Crie ou modifique uma p\u00e1gina ou um post existente e adicione o <strong>FooEvents Bloco de calend\u00e1rio<\/strong> premindo o bot\u00e3o <strong>Adicionar bloco<\/strong> e procurando por <strong>FooEvents<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"585\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.22-1024x585.png\" alt=\"Adi\u00e7\u00e3o do bloco Calend\u00e1rio FooEvents\" class=\"wp-image-141977\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.22-1024x585.png 1024w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.22-300x171.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.22-768x438.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.22-18x10.png 18w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.22.png 1447w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Em alternativa, pode procurar o <strong>FooEvents Bloco de calend\u00e1rio<\/strong> diretamente a partir do editor, digitando '<strong>\/foo<\/strong>'. O WordPress ir\u00e1 ent\u00e3o sugerir todos os blocos que incluam 'foo' no seu nome.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"780\" height=\"213\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.43.png\" alt=\"Adi\u00e7\u00e3o do bloco Calend\u00e1rio FooEvents\" class=\"wp-image-141978\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.43.png 780w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.43-300x82.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.43-768x210.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.23.43-18x5.png 18w\" sizes=\"auto, (max-width: 780px) 100vw, 780px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Depois de ter adicionado o <strong>FooEvents Bloco de calend\u00e1rio<\/strong>, \u00e9 poss\u00edvel configurar os <strong>Defini\u00e7\u00f5es do calend\u00e1rio<\/strong> com base nas suas necessidades. Para tal, selecione a op\u00e7\u00e3o <strong>FooEvents Bloco de calend\u00e1rio<\/strong>e o WordPress mostrar\u00e1 as configura\u00e7\u00f5es do bloco no painel do lado direito.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"755\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.25.07-1024x755.png\" alt=\"Adi\u00e7\u00e3o do bloco Calend\u00e1rio FooEvents\" class=\"wp-image-141979\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.25.07-1024x755.png 1024w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.25.07-300x221.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.25.07-768x566.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.25.07-16x12.png 16w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.25.07.png 1232w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Quando visualizado no editor de blocos, o calend\u00e1rio apresentar\u00e1 apenas um gr\u00e1fico de calend\u00e1rio de espa\u00e7o reservado. Para pr\u00e9-visualizar o calend\u00e1rio, abra a p\u00e1gina no front end do seu s\u00edtio Web.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"856\" height=\"745\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.27.08.png\" alt=\"\" class=\"wp-image-141980\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.27.08.png 856w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.27.08-300x261.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.27.08-768x668.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.27.08-14x12.png 14w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Defini\u00e7\u00f5es do calend\u00e1rio<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">O <strong>Defini\u00e7\u00f5es do calend\u00e1rio<\/strong> controlam a forma como os eventos s\u00e3o apresentados no calend\u00e1rio.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"265\" height=\"752\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.22.00.png\" alt=\"FooEvents Bloco de calend\u00e1rio Defini\u00e7\u00f5es\" class=\"wp-image-141976\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.22.00.png 265w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.22.00-106x300.png 106w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.22.00-4x12.png 4w\" sizes=\"auto, (max-width: 265px) 100vw, 265px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Apresenta\u00e7\u00e3o do calend\u00e1rio:<\/strong> Escolha entre Predefini\u00e7\u00e3o, Ano da vista de lista, M\u00eas da vista de lista, Semana da vista de lista ou Dia da vista de lista.<\/li>\n\n\n\n<li><strong>Limitar o n\u00famero de eventos:<\/strong> Ativar ou desativar o limite de eventos e definir o n\u00famero m\u00e1ximo de eventos a apresentar.<\/li>\n\n\n\n<li><strong>Dia de in\u00edcio do calend\u00e1rio:<\/strong> Escolha se o calend\u00e1rio come\u00e7a no domingo ou na segunda-feira.<\/li>\n\n\n\n<li><strong>Mostrar fins-de-semana:<\/strong> Ativar ou desativar a apresenta\u00e7\u00e3o dos fins-de-semana no calend\u00e1rio.<\/li>\n\n\n\n<li><strong>Filtrar por slugs de categoria:<\/strong> Mostrar eventos de categorias espec\u00edficas introduzindo os slugs de categoria (separados por v\u00edrgulas ou pela tecla Enter).<\/li>\n\n\n\n<li><strong>Filtrar por IDs de posts ou produtos:<\/strong> Mostrar apenas eventos espec\u00edficos, introduzindo os IDs de post ou de produto relevantes (separados por v\u00edrgulas ou pela tecla Enter).<\/li>\n\n\n\n<li><strong>ID do calend\u00e1rio:<\/strong> Aplica um ID \u00fanico ao calend\u00e1rio. Isto \u00e9 necess\u00e1rio quando se adicionam v\u00e1rios calend\u00e1rios a uma \u00fanica p\u00e1gina.<\/li>\n\n\n\n<li><strong>Data por defeito:<\/strong> Define a data predefinida no formato AAAA-MM-DD. O calend\u00e1rio ser\u00e1 aberto com esta data quando for carregado pela primeira vez.<\/li>\n\n\n\n<li><strong>Formato da hora:<\/strong> Selecionar o formato de hora preferido (predefini\u00e7\u00e3o, H.mm).<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Utilizar o bloco Calend\u00e1rio nas p\u00e1ginas de produtos do tema Block<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Quando se utiliza um <a href=\"https:\/\/wordpress.org\/documentation\/article\/block-themes\/\" target=\"_blank\" rel=\"noopener\">WordPress Tema de blocos<\/a>, \u00e9 poss\u00edvel modificar o WooCommerce <strong>Produto \u00fanico<\/strong> modelo. Para o fazer, v\u00e1 a <strong>Apar\u00eancia<\/strong> &gt; <strong>Editor<\/strong> &gt; <strong>Modelos<\/strong> &gt; <strong>WooCommerce<\/strong> e selecionar o <strong>Produto \u00fanico<\/strong> modelo.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"756\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.32.14-1024x756.png\" alt=\"Editar o modelo Single Product num tema de bloco.\" class=\"wp-image-141981\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.32.14-1024x756.png 1024w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.32.14-300x222.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.32.14-768x567.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.32.14-16x12.png 16w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.32.14.png 1258w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Pode ent\u00e3o modificar o <strong>Produto \u00fanico<\/strong> utilizando o editor de blocos. Quando colocado no <strong>Produto \u00fanico<\/strong> modelo, o <strong>FooEvents Bloco de calend\u00e1rio<\/strong> ouvir\u00e1 automaticamente o ID de um produto e mostrar\u00e1 apenas eventos para esse produto espec\u00edfico. Isso \u00e9 muito \u00fatil quando se usa a fun\u00e7\u00e3o <a href=\"https:\/\/www.fooevents.com\/products\/fooevents-bookings\/\" target=\"_blank\" rel=\"noopener\">FooEvents Reservas<\/a> que adiciona v\u00e1rias op\u00e7\u00f5es de datas que os seus clientes podem escolher quando compram um bilhete.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"511\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.52.16-1024x511.png\" alt=\"\" class=\"wp-image-141985\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.52.16-1024x511.png 1024w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.52.16-300x150.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.52.16-768x383.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.52.16-1536x766.png 1536w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.52.16-18x9.png 18w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-10-01-at-10.52.16.png 1920w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Eis um exemplo de uma p\u00e1gina de produto personalizada que utiliza o bloco de calend\u00e1rio FooEvents para permitir que os clientes escolham uma data quando compram bilhetes.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1045\" height=\"2179\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-09-19-at-13.50.58-2.png\" alt=\"Editar o modelo Single Product num tema de bloco.\" class=\"wp-image-141982\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-09-19-at-13.50.58-2.png 1045w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-09-19-at-13.50.58-2-144x300.png 144w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-09-19-at-13.50.58-2-491x1024.png 491w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-09-19-at-13.50.58-2-768x1601.png 768w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-09-19-at-13.50.58-2-737x1536.png 737w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-09-19-at-13.50.58-2-982x2048.png 982w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2024\/10\/Screenshot-2024-09-19-at-13.50.58-2-6x12.png 6w\" sizes=\"auto, (max-width: 1045px) 100vw, 1045px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>","protected":false},"excerpt":{"rendered":"<p>The FooEvents Calendar Block is built into the FooEvents Calendar plugin (1.7.4) and can be used to display event calendars on your website. The block includes various filters, different layout options, and customizable settings. The following instructions outline how to add the block to a page or post and configure it to display events on [&hellip;]<\/p>\n","protected":false},"featured_media":0,"parent":141987,"menu_order":21,"template":"","doc_tag":[],"class_list":["post-141975","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/141975","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":2,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/141975\/revisions"}],"predecessor-version":[{"id":148916,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/141975\/revisions\/148916"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/141987"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/media?parent=141975"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/doc_tag?post=141975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}