{"id":132951,"date":"2022-02-22T17:02:25","date_gmt":"2022-02-23T00:02:25","guid":{"rendered":"https:\/\/help.fooevents.com\/docs\/frequently-asked-questions\/events\/how-do-i-add-a-calendar-date-picker-to-my-bookable-event\/"},"modified":"2026-06-03T05:27:08","modified_gmt":"2026-06-03T12:27:08","slug":"jak-dodac-selektor-daty-kalendarza-do-wydarzenia-ktore-mozna-zarezerwowac","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/pl\/docs\/frequently-asked-questions\/events\/how-do-i-add-a-calendar-date-picker-to-my-bookable-event\/","title":{"rendered":"Jak doda\u0107 selektor daty kalendarza do wydarzenia z mo\u017cliwo\u015bci\u0105 rezerwacji?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">It&#8217;s possible to add a calendar grid to a &#8220;Bookable&#8221; event whereby clicking a specific slot will automatically select the correct slots in the date and time drop-down lists when the page reloads. The <a href=\"https:\/\/demo.fooevents.com\/product\/drive-in-cinema\" target=\"_blank\" rel=\"noopener nofollow\">Drive-in Cinema demo<\/a> is an example of an event which works in this way.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here are the instructions for how to set this up:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method 1<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <b>Products<\/b><\/li>\n\n\n\n<li>Edit your event<\/li>\n\n\n\n<li>Add the following shortcode to your event&#8217;s &#8220;Product short description&#8221; field:<br><pre>[fooevents_calendar post=\"123\"]<br><\/pre><p>Note: remember to change &#8220;123&#8221; to the specific event&#8217;s post ID.<\/p><\/li>\n\n\n\n<li>Publish or update your event<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><strong>Method 2<\/strong><\/h3>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to <b>Products<\/b> > <b>Categories<\/b><\/li>\n\n\n\n<li>Create a unique &#8220;Product Category&#8221; for the event where you would like a calendar date picker to display<\/li>\n\n\n\n<li>Navigate to this &#8220;Bookable&#8221; or other type of event<\/li>\n\n\n\n<li>Map the event to the category that you created in Step 2<\/li>\n\n\n\n<li>Add the following shortcode to your event&#8217;s &#8220;Product short description&#8221; field:<br><pre>[fooevents_calendar include_cat=\"event-category\"]<br><\/pre><p>Note: &#8220;event-category&#8221; is the slug of the category that you created in Step 2. Please have a look at the <a href=\"https:\/\/help.fooevents.com\/docs\/topics\/events\/shortcodes\/\">Calendar Shortcodes page<\/a> for examples of additional attributes that you can use e.g. you can add &#8220;defaultDate&#8221; if you would like the calendar to start on a specific month.<\/p><\/li>\n\n\n\n<li>Publish or update your event<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">This will display a calendar grid on your event page which allows the attendee to click on a booking slot, after which that date will automatically be selected in the booking drop-down list.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s possible to add a calendar grid to a &#8220;Bookable&#8221; event whereby clicking a specific slot will automatically select the correct slots in the date and time drop-down lists when the page reloads. The Drive-in Cinema demo is an example of an event which works in this way. Here are the instructions for how to [&hellip;]<\/p>\n","protected":false},"featured_media":0,"parent":158,"menu_order":11,"template":"","doc_tag":[439,376,336,438,375,377],"class_list":["post-132951","docs","type-docs","status-publish","hentry","doc_tag-bookable","doc_tag-booking","doc_tag-calendar","doc_tag-date-picker","doc_tag-fooevents-bookings","doc_tag-slot"],"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/pl\/wp-json\/wp\/v2\/docs\/132951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.fooevents.com\/pl\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.fooevents.com\/pl\/wp-json\/wp\/v2\/types\/docs"}],"version-history":[{"count":1,"href":"https:\/\/help.fooevents.com\/pl\/wp-json\/wp\/v2\/docs\/132951\/revisions"}],"predecessor-version":[{"id":148412,"href":"https:\/\/help.fooevents.com\/pl\/wp-json\/wp\/v2\/docs\/132951\/revisions\/148412"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/pl\/wp-json\/wp\/v2\/docs\/158"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/pl\/wp-json\/wp\/v2\/media?parent=132951"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/pl\/wp-json\/wp\/v2\/doc_tag?post=132951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}