{"id":971,"date":"2019-11-27T07:13:44","date_gmt":"2019-11-27T14:13:44","guid":{"rendered":"https:\/\/help.fooevents.com\/docs\/topics\/events\/shortcodes\/"},"modified":"2025-09-09T16:28:38","modified_gmt":"2025-09-09T23:28:38","slug":"zkratky","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/cs\/docs\/topics\/events\/shortcodes\/","title":{"rendered":"K\u00f3dy zkratek"},"content":{"rendered":"<p class=\"notice\">The shortcodes outlined below are included in the\u00a0<a href=\"https:\/\/www.fooevents.com\/fooevents-calendar\/\" target=\"_blank\" rel=\"noopener\">FooEvents Calendar<\/a>\u00a0plugin<\/p>\n<p>Navigate to the post or page where you would like to insert the calendar on your website. Type or paste the calendar shortcode in the main content text editor.<\/p>\n<p><strong>Note:<\/strong> You can also refer to the <a title=\"Code Snippets help doc\" href=\"https:\/\/help.fooevents.com\/docs\/topics\/code-snippets\/\">Code Snippets<\/a> help doc for other examples of customizable code that allows you to extend FooEvents functionality.<\/p>\n<h2>Shortcode usage<\/h2>\n<p><strong>Basic calendar<\/strong><\/p>\n<pre>[fooevents_calendar]<\/pre>\n<p><strong>Change calendar start day<\/strong><\/p>\n<pre>[fooevents_calendar firstDay=\"0\"] 0 = Sunday, 1 = Monday etc.<\/pre>\n<p><strong>Display particular month<\/strong><\/p>\n<pre>[fooevents_calendar defaultDate=\"2024-09-01\"]<\/pre>\n<p><strong>Filter by category<\/strong><\/p>\n<pre>[fooevents_calendar include_cat=\"featured\"]<\/pre>\n<p><strong>Specify number of events to display<\/strong><\/p>\n<pre>[fooevents_calendar num=10]<\/pre>\n<p><strong>Display list view (day)<\/strong><\/p>\n<pre>[fooevents_calendar defaultView=\"listDay\"]<\/pre>\n<p><strong>Display list view (week)<\/strong><\/p>\n<pre>[fooevents_calendar defaultView=\"listWeek\"]<\/pre>\n<p><strong>Display list view (month)<\/strong><\/p>\n<pre>[fooevents_calendar defaultView=\"listMonth\"]<\/pre>\n<p><strong>Display list view (year)<\/strong><\/p>\n<pre>[fooevents_calendar defaultView=\"listYear\"]<\/pre>\n<p><strong>Display multiple calendars per page<\/strong><\/p>\n<pre>[fooevents_calendar id=\"cal1\"], [fooevents_calendar id=\"cal2\"] etc.<\/pre>\n<p><strong>Set the\u00a0<a href=\"https:\/\/fullcalendar.io\/docs\/v1\/formatDate\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">time format<\/a><\/strong><\/p>\n<pre>[fooevents_calendar timeFormat=\"H.mm\"]<\/pre>\n<p><strong>Hide weekends<\/strong><\/p>\n<pre>[fooevents_calendar weekends=\"false\"]<\/pre>\n<p><strong>Show specific events or posts only, where &#8220;123&#8221; is the product or post ID. Multiple IDs can be separated with a comma.<\/strong><\/p>\n<pre>[fooevents_calendar post=\"123\"]<\/pre>\n<pre>[fooevents_calendar post=\"123,456\"]<\/pre>\n<h2>Calendar Widgets<\/h2>\n<ul>\n<li>Go to <strong>Appearance<\/strong> &gt; <strong>Widgets<\/strong><\/li>\n<li>Drag the <strong>FooEvents Calendar widget<\/strong> into the <strong>widget area<\/strong> where you would like it to be displayed<\/li>\n<li>Type a<strong> widget title<\/strong><\/li>\n<li>Select which <strong>type of view<\/strong> you would like to use \u2013 Calendar or List view<\/li>\n<li><strong>Calendar view<\/strong>\n<ul>\n<li>You can specify which date you would like the calendar to start on. If left empty, the calendar will default to the current date.<\/li>\n<li>Example date format: 2016-09-01 (yyyy\/mm\/dd)<\/li>\n<\/ul>\n<\/li>\n<li><strong>List view<\/strong>\n<ul>\n<li>You can set the number of events to be displayed. By default, the list view will display the latest 5 events.<\/li>\n<\/ul>\n<\/li>\n<li>Click <strong>Save<\/strong> to confirm your changes<\/li>\n<\/ul>\n<h2>Other Shortcodes<\/h2>\n<p><strong>Simple event<\/strong><\/p>\n<pre>[fooevents_event product=23270]<\/pre>\n<p><strong>Simple list of events<\/strong><\/p>\n<pre>[fooevents_events_list]<\/pre>\n<p><strong>Filter by category<\/strong><\/p>\n<pre>[fooevents_events_list include_cat=\"featured\"]<\/pre>\n<p><strong>List of 5 events<\/strong><\/p>\n<pre>[fooevents_events_list num=5]<\/pre>\n<p><strong>Sort events according to the event date<\/strong><\/p>\n<pre>[fooevents_events_list sort=\"ASC\"], [fooevents_events_list sort=\"DESC\"] etc.<\/pre>\n","protected":false},"featured_media":0,"parent":941,"menu_order":10,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_tag":[147,265,266,267,269,264,268],"class_list":["post-971","docs","type-docs","status-publish","hentry","doc_tag-date-format","doc_tag-fooevents-calendar","doc_tag-fooevents_calendar","doc_tag-fooevents_event","doc_tag-fooevents_events_list","doc_tag-shortcode","doc_tag-widget"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/comments?post=971"}],"version-history":[{"count":0,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/971\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/941"}],"next":[{"title":"Str\u00e1nky produkt\u016f a obchodu","link":"https:\/\/help.fooevents.com\/cs\/docs\/topics\/events\/product-and-shop-pages\/","href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/972"}],"prev":[{"title":"Vypr\u0161en\u00ed platnosti ud\u00e1losti","link":"https:\/\/help.fooevents.com\/cs\/docs\/topics\/events\/event-expiration\/","href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/131751"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/media?parent=971"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/doc_tag?post=971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}