{"id":33977,"date":"2019-03-04T10:49:11","date_gmt":"2019-03-04T10:49:11","guid":{"rendered":"http:\/\/getshortcodes.com\/?post_type=docs&#038;p=33977"},"modified":"2020-10-21T13:51:01","modified_gmt":"2020-10-21T13:51:01","slug":"scheduler","status":"publish","type":"docs","link":"https:\/\/getshortcodes.com\/docs\/scheduler\/","title":{"rendered":"Scheduler"},"content":{"rendered":"\n<p class=\"has-black-color has-yellow-background-color has-text-color has-background\">The shortcode below changes its text from 10:00 AM to 6:00 PM (UTC +0)<\/p>\n\n\n<div class=\"block-demo block-demo-default\">\n\t<div class=\"block-demo-viewport\">\n\t\t<p>Sorry, we&#039;re offline now. Come back tomorrow.<\/p>\n\t<\/div>\n\t<div class=\"block-demo-source\">\n\t\t<pre contenteditable=\"true\">&quot;Sorry,<\/pre>\n\t<\/div>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"description\">Description<\/h2>\n\n\n\n<p>This shortcode allows you to schedule specific content.<br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"options\">Options<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><tbody><tr><th>Option name<\/th><th>Possible values<\/th><th>Default value<\/th><\/tr><tr><td><strong>time<\/strong><br>In this field you can specify one or more time ranges. Every day at this time the content of shortcode will be visible. <br><br> Examples (click to set) <br>9-18 &#8211; show content from 9:00 to 18:00 <br>9-13, 14-18 &#8211; show content from 9:00 to 13:00 and from 14:00 to 18:00 <br>9:30-10:15 &#8211; example with minutes (content will be visible each day, 45 minutes) <br>9:00:00-17:59:59 &#8211; example with seconds<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>days_week<\/strong><br>In this field you can specify one or more days of the week. Every week at these days the content of shortcode will be visible. <br><br> 0 &#8211; Sunday <br> 1 &#8211; Monday <br> 2 &#8211; Tuesday <br> 3 &#8211; Wednesday <br> 4 &#8211; Thursday <br> 5 &#8211; Friday <br> 6 &#8211; Saturday <br><br> Examples (click to set) <br>1-5 &#8211; show content from Monday to Friday <br>0 &#8211; show content only at Sunday <br>0, 3-5 &#8211; show content at Sunday and from Wednesday to Friday<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>days_month<\/strong><br>In this field you can specify one or more days of the month. Every month at these days the content of shortcode will be visible. <br><br> Examples (click to set) <br>1 &#8211; show content only at first day of month <br>1-5 &#8211; show content from 1th to 5th <br>10-15, 20-25 &#8211; show content from 10th to 15th and from 20th to 25th<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>months<\/strong><br>In this field you can specify the month or months in which the content will be visible. <br><br> Examples (click to set) <br>1 &#8211; show content only in January <br>2-6 &#8211; show content from February to June <br>1, 3, 5-7 &#8211; show content in January, March and from May to July<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>years<\/strong><br>In this field you can specify the year or years in which the content will be visible. <br><br> Examples (click to set) <br>2014 &#8211; show content only in 2014 <br>2014-2016 &#8211; show content from 2014 to 2016 <br>2014, 2018, 2020-2022 &#8211; show content in 2014, 2018 and from 2020 to 2022<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><tr><td><strong>alt<\/strong><br>In this field you can type the text which will be shown if content is not visible at the current moment<\/td><td>Any text value<\/td><td><em>\u2013 none \u2013<\/em><\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"featured_media":36695,"template":"","docs_category":[21],"class_list":["post-33977","docs","type-docs","status-publish","has-post-thumbnail","hentry","docs_category-shortcodes"],"_links":{"self":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs\/33977","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/types\/docs"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media\/36695"}],"wp:attachment":[{"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/media?parent=33977"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/getshortcodes.com\/api\/wp\/v2\/docs_category?post=33977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}