{"id":39398,"date":"2026-04-01T17:11:27","date_gmt":"2026-04-01T15:11:27","guid":{"rendered":"https:\/\/booking-activities.fr\/en\/?post_type=docs&#038;p=39398"},"modified":"2026-04-01T17:54:13","modified_gmt":"2026-04-01T15:54:13","slug":"display-the-calendar-of-assigned-resources-shortcode","status":"publish","type":"docs","link":"https:\/\/booking-activities.fr\/en\/docs\/user-documentation\/get-started-with-resource-availability-add-on\/display-the-calendar-of-assigned-resources-shortcode\/","title":{"rendered":"Display the calendar of assigned resources (shortcode)"},"content":{"rendered":"<p>You can <a href=\"https:\/\/booking-activities.fr\/en\/docs\/user-documentation\/get-started-with-resource-availability-add-on\/view-and-edit-resource-assignments\/\">view the <strong>calendar of assigned resources<\/strong> from the backend<\/a>, but it is also possible to display it on the frontend with the shortcode <code>[bookingactivities_resource_calendar]<\/code>.<\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"shortcode-options\">Shortcode parameters<\/h3>\n<p>You can use the shortcode <code>[bookingactivities_resource_calendar]<\/code> to display the calendar of assigned resources, and use parameters to filter or customize it:<\/p>\n<table class=\"resource-calendar-shortcode-attributes-table\">\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Expected value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>resource<\/code><\/td>\n<td>Resource ID(s) (integer) (separated by commas). Display only these resources.<\/td>\n<\/tr>\n<tr>\n<td><code>category<\/code><\/td>\n<td>Resource category ID(s) (integer) (separated by commas). Display only resources from these categories.<\/td>\n<\/tr>\n<tr>\n<td><code>from<\/code><\/td>\n<td>Start date (<code>YYYY-MM-DD<\/code> format, or a <a href=\"https:\/\/php.net\/manual\/en\/datetime.formats.relative.php\" rel=\"noopener noreferrer\" target=\"_blank\">compatible relative format<\/a> such as <code>today<\/code> or <code>next monday<\/code>).<\/td>\n<\/tr>\n<tr>\n<td><code>to<\/code><\/td>\n<td>End date (<code>YYYY-MM-DD<\/code> format, or a <a href=\"https:\/\/php.net\/manual\/en\/datetime.formats.relative.php\" rel=\"noopener noreferrer\" target=\"_blank\">compatible relative format<\/a> such as <code>+7 day<\/code> or <code>last day of this month<\/code>).<\/em><\/td>\n<\/tr>\n<tr>\n<td><code>slotMinTime<\/code><\/td>\n<td>Start time of day (format <code>HH:mm<\/code>) on &#8220;Time Grid&#8221; views.<\/td>\n<\/tr>\n<tr>\n<td><code>slotMaxTime<\/code><\/td>\n<td>End of day time (format <code>HH:mm<\/code>) on &#8220;Time Grid&#8221; views.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Additional parameters with the <a href=\"https:\/\/booking-activities.fr\/en\/downloads\/display-pack\/\">Display Pack<\/a> add-on:<\/p>\n<table class=\"resource-calendar-shortcode-attributes-table\">\n<thead>\n<tr>\n<th>Parameter<\/th>\n<th>Expected value<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><code>initialView<\/code><\/td>\n<td>View displayed when the calendar loads. Possible values: <code>listYear<\/code>, <code>listMonthMultiple<\/code>, <code>dayGridMonthMultiple<\/code>, <code>dayGridYear<\/code>, <code>listMonth<\/code>, <code>dayGridMonth<\/code>, <code>listFlexible<\/code>, <code>timeGridFlexible<\/code>, <code>dayGridFlexible<\/code>, <code>listWeek<\/code>, <code>timeGridWeek<\/code>, <code>dayGridWeek<\/code>, <code>listDay<\/code>, <code>timeGridDay<\/code>, <code>dayGridDay<\/code>.<\/td>\n<\/tr>\n<tr>\n<td><code>availableViews<\/code><\/td>\n<td>Views that can be navigated through (separated by commas). Possible values: (see above).<\/td>\n<\/tr>\n<tr>\n<td><code>flexibleViewsDayCount<\/code><\/td>\n<td>Number of days of &#8220;Flexible&#8221; views (integer).<\/td>\n<\/tr>\n<tr>\n<td><code>multipleMonthsViewsDuration<\/code><\/td>\n<td>Number of months of views &#8220;Multiple Months&#8221; (integer).<\/td>\n<\/tr>\n<tr>\n<td><code>hiddenDays<\/code><\/td>\n<td>Days to hide (integer) (separated by commas). Possible values: <code>0<\/code> (Sunday), <code>1<\/code> (Monday), <code>2<\/code> (Tuesday), <code>3<\/code> (Wednesday), <code>4<\/code> (Thursday), <code>5<\/code> (Friday), <code>6<\/code> (Saturday).<\/td>\n<\/tr>\n<tr>\n<td><code>slotDuration<\/code><\/td>\n<td>Frequency of time indicators on &#8220;Time Grid&#8221; views (format <code>HH:mm<\/code>).<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<h3 id=\"shortcode-examples\">Examples of shortcodes<\/h3>\n<p>Display resources #1, 2, and 4 over a rolling seven-day period, with working days from 8:00 AM to 8:00 PM:<br \/>\n<code>[bookingactivities_resource_calendar resource=\"1,2,4\" from=\"today\" to=\"+7 days\" slotMinTime=\"08:00\" slotMaxTime=\"20:00\"]<\/code><\/p>\n<p>Display resources from category #1 for the year 2026:<br \/>\n<code>[bookingactivities_resource_calendar category=\"1\" from=\"2026-01-01\" to=\"2026-12-31\" initialView=\"dayGridMonth\" hiddenDays=\"2,5\"]<\/code><br \/>\nIn this second example, with the <a href=\"https:\/\/booking-activities.fr\/en\/downloads\/display-pack\/\">Display Pack<\/a> add-on, the default view will be a &#8220;Month&#8221; view and Tuesdays and Fridays will be hidden.<\/p>","protected":false},"featured_media":0,"parent":29275,"menu_order":6,"comment_status":"open","ping_status":"closed","template":"","meta":{"_is_vendor_doc":"0","footnotes":""},"doc_tag":[],"class_list":["post-39398","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Display the calendar of assigned resources (shortcode) - Booking Activities<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Display the calendar of assigned resources (shortcode) - Booking Activities\" \/>\n<meta property=\"og:description\" content=\"You can view the calendar of assigned resources from the backend, but it is also possible to display it on the frontend with the shortcode [bookingactivities_resource_calendar]. &nbsp; Shortcode parameters You ...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/\" \/>\n<meta property=\"og:site_name\" content=\"Booking Activities\" \/>\n<meta property=\"article:modified_time\" content=\"2026-04-01T15:54:13+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-resource-availability\\\/afficher-le-calendrier-des-ressources-assignees-shortcode\\\/\",\"url\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-resource-availability\\\/afficher-le-calendrier-des-ressources-assignees-shortcode\\\/\",\"name\":\"Display the calendar of assigned resources (shortcode) - Booking Activities\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#website\"},\"datePublished\":\"2026-04-01T15:11:27+00:00\",\"dateModified\":\"2026-04-01T15:54:13+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-resource-availability\\\/afficher-le-calendrier-des-ressources-assignees-shortcode\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[[\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-resource-availability\\\/afficher-le-calendrier-des-ressources-assignees-shortcode\\\/\"]]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/demarrer-avec-le-module-resource-availability\\\/afficher-le-calendrier-des-ressources-assignees-shortcode\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation utilisateur\",\"item\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/documentation-utilisateur\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Resource Availability\",\"item\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/docs\\\/user-documentation\\\/get-started-with-resource-availability-add-on\\\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Afficher le calendrier des ressources assign\u00e9es (shortcode)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/\",\"name\":\"Booking Activities\",\"description\":\"Booking plugin for Wordpress websites\",\"publisher\":{\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#organization\",\"name\":\"Booking Activities\",\"url\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/booking-activities.fr\\\/wp-content\\\/uploads\\\/Logo_Booking_Activities_light_bg.png\",\"contentUrl\":\"https:\\\/\\\/booking-activities.fr\\\/wp-content\\\/uploads\\\/Logo_Booking_Activities_light_bg.png\",\"width\":512,\"height\":83,\"caption\":\"Booking Activities\"},\"image\":{\"@id\":\"https:\\\/\\\/booking-activities.fr\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Display the calendar of assigned resources (shortcode) - Booking Activities","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/","og_locale":"en_US","og_type":"article","og_title":"Display the calendar of assigned resources (shortcode) - Booking Activities","og_description":"You can view the calendar of assigned resources from the backend, but it is also possible to display it on the frontend with the shortcode [bookingactivities_resource_calendar]. &nbsp; Shortcode parameters You ...","og_url":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/","og_site_name":"Booking Activities","article_modified_time":"2026-04-01T15:54:13+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/","url":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/","name":"Display the calendar of assigned resources (shortcode) - Booking Activities","isPartOf":{"@id":"https:\/\/booking-activities.fr\/en\/#website"},"datePublished":"2026-04-01T15:11:27+00:00","dateModified":"2026-04-01T15:54:13+00:00","breadcrumb":{"@id":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":[["https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/"]]}]},{"@type":"BreadcrumbList","@id":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/demarrer-avec-le-module-resource-availability\/afficher-le-calendrier-des-ressources-assignees-shortcode\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/booking-activities.fr\/en\/"},{"@type":"ListItem","position":2,"name":"Documentation utilisateur","item":"https:\/\/booking-activities.fr\/en\/docs\/documentation-utilisateur\/"},{"@type":"ListItem","position":3,"name":"Resource Availability","item":"https:\/\/booking-activities.fr\/en\/docs\/user-documentation\/get-started-with-resource-availability-add-on\/"},{"@type":"ListItem","position":4,"name":"Afficher le calendrier des ressources assign\u00e9es (shortcode)"}]},{"@type":"WebSite","@id":"https:\/\/booking-activities.fr\/en\/#website","url":"https:\/\/booking-activities.fr\/en\/","name":"Booking Activities","description":"Booking plugin for Wordpress websites","publisher":{"@id":"https:\/\/booking-activities.fr\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/booking-activities.fr\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/booking-activities.fr\/en\/#organization","name":"Booking Activities","url":"https:\/\/booking-activities.fr\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/booking-activities.fr\/en\/#\/schema\/logo\/image\/","url":"https:\/\/booking-activities.fr\/wp-content\/uploads\/Logo_Booking_Activities_light_bg.png","contentUrl":"https:\/\/booking-activities.fr\/wp-content\/uploads\/Logo_Booking_Activities_light_bg.png","width":512,"height":83,"caption":"Booking Activities"},"image":{"@id":"https:\/\/booking-activities.fr\/en\/#\/schema\/logo\/image\/"}}]}},"comment_count":0,"_links":{"self":[{"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/39398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/comments?post=39398"}],"version-history":[{"count":5,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/39398\/revisions"}],"predecessor-version":[{"id":39406,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/39398\/revisions\/39406"}],"up":[{"embeddable":true,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/29275"}],"prev":[{"title":"[:fr]Afficher la liste de ressources assign\u00e9es ou disponibles (shortcode)[:en]Display the list of assigned or available resources (shortcode)[:]","link":"https:\/\/booking-activities.fr\/en\/docs\/user-documentation\/get-started-with-resource-availability-add-on\/display-the-list-of-assigned-or-available-resources-shortcode\/","href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/docs\/29395"}],"wp:attachment":[{"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/media?parent=39398"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/booking-activities.fr\/en\/wp-json\/wp\/v2\/doc_tag?post=39398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}