{"id":1439225,"date":"2018-01-29T13:28:00","date_gmt":"2018-01-29T21:28:00","guid":{"rendered":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/"},"modified":"2018-01-29T13:29:18","modified_gmt":"2018-01-29T21:29:18","slug":"using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile","status":"closed","type":"topic","link":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/","title":{"rendered":"Shortcode to display calendar: View Week for desktop and Month for mobile?"},"content":{"rendered":"<p>Hi EC Team\u2013<\/p>\n<p>I&#8217;ve set up a shortcode on a page called &#8220;\/program-schedules&#8221; for my client.<br \/>\nThe calendar shortcode displays their programs in <strong>view=&#8221;week&#8221;<\/strong>.<\/p>\n<p><strong>The problem:<\/strong><br \/>\n&#8211; The week view is not showing anything on the hourly schedule when viewed on mobile<br \/>\n&#8211; The month view is much more effective for mobile \u2013 however I am using a shortcode to generate the view so the mobile default in Events Calendar Pro settings is overwritten<\/p>\n<p><strong>What I&#8217;m trying to do:<\/strong><br \/>\n1.) use the shortcode to display the calendar in <strong>week<\/strong> view on desktop, and<br \/>\n2.) use the shortcode to display the calendar in <strong>month<\/strong> view at a set breakpoint for mobile.<\/p>\n<p>Does the shortcode formula include multiple views? (I haven&#8217;t been able to find anything in the Knowledge Base yet).<\/p>\n<p>Attached is a screenshot of the empty week view that I am encountering on mobile right now. As you can see, there are events listed below for today&#8217;s date at 6:30am, but no block of events shows up at 6:30am on the hourly schedule.<\/p>\n<p>Many thanks for your advice and help to come,<br \/>\nD&amp;D Team<\/p>\n","protected":false},"template":"","class_list":["post-1439225","topic","type-topic","status-closed","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Shortcode to display calendar: View Week for desktop and Month for mobile? -<\/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:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Shortcode to display calendar: View Week for desktop and Month for mobile? -\" \/>\n<meta property=\"og:description\" content=\"Hi EC Team\u2013 I&#8217;ve set up a shortcode on a page called &#8220;\/program-schedules&#8221; for my client. The calendar shortcode displays their programs in view=&#8221;week&#8221;. The problem: &#8211; The week view is not showing anything on the hourly schedule when viewed on mobile &#8211; The month view is much more effective for mobile \u2013 however I [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/\" \/>\n<meta property=\"article:modified_time\" content=\"2018-01-29T21:29:18+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=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/\",\"url\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/\",\"name\":\"Shortcode to display calendar: View Week for desktop and Month for mobile? -\",\"isPartOf\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\"},\"datePublished\":\"2018-01-29T21:28:00+00:00\",\"dateModified\":\"2018-01-29T21:29:18+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/theeventscalendar.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Topics\",\"item\":\"https:\/\/theeventscalendar.com\/support\/topics\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Calendar Products\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Events Calendar PRO\",\"item\":\"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"Shortcode to display calendar: View Week for desktop and Month for mobile?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/theeventscalendar.com\/support\/#website\",\"url\":\"https:\/\/theeventscalendar.com\/support\/\",\"name\":\"\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Shortcode to display calendar: View Week for desktop and Month for mobile? -","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:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/","og_locale":"en_US","og_type":"article","og_title":"Shortcode to display calendar: View Week for desktop and Month for mobile? -","og_description":"Hi EC Team\u2013 I&#8217;ve set up a shortcode on a page called &#8220;\/program-schedules&#8221; for my client. The calendar shortcode displays their programs in view=&#8221;week&#8221;. The problem: &#8211; The week view is not showing anything on the hourly schedule when viewed on mobile &#8211; The month view is much more effective for mobile \u2013 however I [&hellip;]","og_url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/","article_modified_time":"2018-01-29T21:29:18+00:00","twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/","url":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/","name":"Shortcode to display calendar: View Week for desktop and Month for mobile? -","isPartOf":{"@id":"https:\/\/theeventscalendar.com\/support\/#website"},"datePublished":"2018-01-29T21:28:00+00:00","dateModified":"2018-01-29T21:29:18+00:00","breadcrumb":{"@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/theeventscalendar.com\/support\/forums\/topic\/using-shortcode-to-display-calendar-view-for-desktop-and-another-for-mobile\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/theeventscalendar.com\/support\/"},{"@type":"ListItem","position":2,"name":"Topics","item":"https:\/\/theeventscalendar.com\/support\/topics\/"},{"@type":"ListItem","position":3,"name":"Calendar Products","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/"},{"@type":"ListItem","position":4,"name":"Events Calendar PRO","item":"https:\/\/theeventscalendar.com\/support\/forums\/forum\/events\/events-calendar-pro\/"},{"@type":"ListItem","position":5,"name":"Shortcode to display calendar: View Week for desktop and Month for mobile?"}]},{"@type":"WebSite","@id":"https:\/\/theeventscalendar.com\/support\/#website","url":"https:\/\/theeventscalendar.com\/support\/","name":"","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/theeventscalendar.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1439225","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1439225\/revisions"}],"predecessor-version":[{"id":1439227,"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/topic\/1439225\/revisions\/1439227"}],"wp:attachment":[{"href":"https:\/\/theeventscalendar.com\/support\/wp-json\/wp\/v2\/media?parent=1439225"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}