{"id":132897,"date":"2022-02-15T01:58:21","date_gmt":"2022-02-15T08:58:21","guid":{"rendered":"https:\/\/help.fooevents.com\/docs\/frequently-asked-questions\/ticket-themes\/how-do-i-add-support-for-support-for-daily-start-and-end-times-to-my-ticket-themes\/"},"modified":"2026-06-03T05:36:44","modified_gmt":"2026-06-03T12:36:44","slug":"como-e-que-adiciono-suporte-para-horas-de-inicio-e-fim-diarias-aos-meus-temas-de-bilhetes","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/pt\/docs\/frequently-asked-questions\/ticket-themes\/how-do-i-add-support-for-daily-start-and-end-times-to-my-ticket-themes\/","title":{"rendered":"Como \u00e9 que adiciono suporte para horas de in\u00edcio e fim di\u00e1rias aos meus temas de bilhetes?"},"content":{"rendered":"<p class=\"wp-block-paragraph\">A partir da vers\u00e3o<strong> 1.5.5<\/strong> do <a href=\"https:\/\/www.fooevents.com\/products\/fooevents-multi-day\/\" target=\"_blank\" rel=\"noopener\">FooEvents V\u00e1rios dias<\/a> pode selecionar diferentes horas de in\u00edcio e de fim para cada dia de um <strong>evento de v\u00e1rios dias<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">O suporte para esta funcionalidade tamb\u00e9m foi adicionado a todos os <a href=\"https:\/\/www.fooevents.com\/products\/ticket-themes\/\" target=\"_blank\" rel=\"noopener\">FooEvents Temas de bilhetes<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Por favor <a href=\"https:\/\/help.fooevents.com\/pt\/documentos\/temas-2\/bilhetes-2\/temas-de-bilhetes-2\/#updating-ticket-themes\">seguir estas instru\u00e7\u00f5es<\/a> para atualizar um tema de t\u00edquete existente. Se voc\u00ea estiver usando um tema de t\u00edquete personalizado e n\u00e3o puder substituir o tema de t\u00edquete pela vers\u00e3o atualizada, adicione o seguinte trecho de c\u00f3digo ao seu tema de t\u00edquete para adicionar suporte \u00e0s horas de in\u00edcio e t\u00e9rmino.\r\n\r\n[php]<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: php; title: ; notranslate\" title=\"\">\n&lt;!-- MULTI-DAY DETAILS --&gt;\n                                         \n&lt;?php if ( $ticket[&#039;WooCommerceEventsTicketDisplayMultiDay&#039;] == &#039;on&#039; ) : ?&gt;\n    &lt;?php $x = 1; ?&gt;\n    &lt;?php $y = 0; ?&gt;    \n    &lt;?php foreach ( $ticket[&#039;WooCommerceEventsSelectDate&#039;] as $date ) : ?&gt;\n            &lt;strong&gt;&lt;?php printf( __( &#039;%1$s %2$d: &#039;, &#039;woocommerce-events&#039; ), $ticket[&#039;dayTerm&#039;], $x ); ?&gt;&lt;\/strong&gt;\n            &lt;?php echo esc_attr( $date ); ?&gt;&lt;br \/&gt; \n               \n        &lt;br \/&gt;                                        \n        &lt;?php $x++; ?&gt;\n        &lt;?php $y++; ?&gt;\n    &lt;?php endforeach; ?&gt;\n&lt;?php endif; ?&gt;\n<\/pre><\/div>","protected":false},"excerpt":{"rendered":"<p>As of version 1.5.5 of the FooEvents Multi-day plugin, you can select different start and end times for each day of a multi-day event. Support for this feature has also been added to all FooEvents Ticket Themes. Please follow these instructions to update an existing ticket theme. If you are using a customized ticket theme [&hellip;]<\/p>\n","protected":false},"featured_media":0,"parent":800,"menu_order":1,"template":"","doc_tag":[319,381,305,75,27],"class_list":["post-132897","docs","type-docs","status-publish","hentry","doc_tag-fooevents-multi-day","doc_tag-fooevents-tickets","doc_tag-multi-day","doc_tag-template","doc_tag-ticket-theme"],"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/132897","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\/132897\/revisions"}],"predecessor-version":[{"id":148441,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/132897\/revisions\/148441"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/docs\/800"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/media?parent=132897"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/pt\/wp-json\/wp\/v2\/doc_tag?post=132897"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}