{"id":1577,"date":"2022-09-23T10:11:13","date_gmt":"2022-09-23T14:11:13","guid":{"rendered":"http:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/?page_id=1577"},"modified":"2022-09-23T10:20:04","modified_gmt":"2022-09-23T14:20:04","slug":"wp-core-calendar-block","status":"publish","type":"page","link":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/core-blocks\/wp-core-calendar-block\/","title":{"rendered":"WP Core: Calendar Block"},"content":{"rendered":"\n<p>The calendar block shows a calendar of your site&#8217;s posts, allowing users to browse posts by calendar date.<\/p>\n\n\n\n<h2>Interface Options<\/h2>\n\n\n\n<p>Center, left, and right alignment.<\/p>\n\n\n\n<h2>Examples<\/h2>\n\n\n\n<h3>Default alignment<\/h3>\n\n\n<div class=\"wp-block-calendar\"><table id=\"wp-calendar\" class=\"wp-calendar-table\">\n\t<caption>May 2026<\/caption>\n\t<thead>\n\t<tr>\n\t\t<th scope=\"col\" title=\"Monday\">M<\/th>\n\t\t<th scope=\"col\" title=\"Tuesday\">T<\/th>\n\t\t<th scope=\"col\" title=\"Wednesday\">W<\/th>\n\t\t<th scope=\"col\" title=\"Thursday\">T<\/th>\n\t\t<th scope=\"col\" title=\"Friday\">F<\/th>\n\t\t<th scope=\"col\" title=\"Saturday\">S<\/th>\n\t\t<th scope=\"col\" title=\"Sunday\">S<\/th>\n\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t<tr>\n\t\t<td colspan=\"4\" class=\"pad\">&nbsp;<\/td><td>1<\/td><td>2<\/td><td>3<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>10<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>11<\/td><td>12<\/td><td>13<\/td><td>14<\/td><td>15<\/td><td>16<\/td><td>17<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td id=\"today\">18<\/td><td>19<\/td><td>20<\/td><td>21<\/td><td>22<\/td><td>23<\/td><td>24<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>25<\/td><td>26<\/td><td>27<\/td><td>28<\/td><td>29<\/td><td>30<\/td><td>31<\/td>\n\t<\/tr>\n\t<\/tbody>\n\t<\/table><nav aria-label=\"Previous and next months\" class=\"wp-calendar-nav\">\n\t\t<span class=\"wp-calendar-nav-prev\"><a href=\"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/2015\/04\/\">&laquo; Apr<\/a><\/span>\n\t\t<span class=\"pad\">&nbsp;<\/span>\n\t\t<span class=\"wp-calendar-nav-next\">&nbsp;<\/span>\n\t<\/nav><\/div>\n\n\n<h3>Center alignment<\/h3>\n\n\n<div class=\"aligncenter wp-block-calendar\"><table id=\"wp-calendar\" class=\"wp-calendar-table\">\n\t<caption>May 2026<\/caption>\n\t<thead>\n\t<tr>\n\t\t<th scope=\"col\" title=\"Monday\">M<\/th>\n\t\t<th scope=\"col\" title=\"Tuesday\">T<\/th>\n\t\t<th scope=\"col\" title=\"Wednesday\">W<\/th>\n\t\t<th scope=\"col\" title=\"Thursday\">T<\/th>\n\t\t<th scope=\"col\" title=\"Friday\">F<\/th>\n\t\t<th scope=\"col\" title=\"Saturday\">S<\/th>\n\t\t<th scope=\"col\" title=\"Sunday\">S<\/th>\n\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t<tr>\n\t\t<td colspan=\"4\" class=\"pad\">&nbsp;<\/td><td>1<\/td><td>2<\/td><td>3<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>10<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>11<\/td><td>12<\/td><td>13<\/td><td>14<\/td><td>15<\/td><td>16<\/td><td>17<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td id=\"today\">18<\/td><td>19<\/td><td>20<\/td><td>21<\/td><td>22<\/td><td>23<\/td><td>24<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>25<\/td><td>26<\/td><td>27<\/td><td>28<\/td><td>29<\/td><td>30<\/td><td>31<\/td>\n\t<\/tr>\n\t<\/tbody>\n\t<\/table><nav aria-label=\"Previous and next months\" class=\"wp-calendar-nav\">\n\t\t<span class=\"wp-calendar-nav-prev\"><a href=\"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/2015\/04\/\">&laquo; Apr<\/a><\/span>\n\t\t<span class=\"pad\">&nbsp;<\/span>\n\t\t<span class=\"wp-calendar-nav-next\">&nbsp;<\/span>\n\t<\/nav><\/div>\n\n\n<h3>Left alignment<\/h3>\n\n\n<div class=\"alignleft wp-block-calendar\"><table id=\"wp-calendar\" class=\"wp-calendar-table\">\n\t<caption>May 2026<\/caption>\n\t<thead>\n\t<tr>\n\t\t<th scope=\"col\" title=\"Monday\">M<\/th>\n\t\t<th scope=\"col\" title=\"Tuesday\">T<\/th>\n\t\t<th scope=\"col\" title=\"Wednesday\">W<\/th>\n\t\t<th scope=\"col\" title=\"Thursday\">T<\/th>\n\t\t<th scope=\"col\" title=\"Friday\">F<\/th>\n\t\t<th scope=\"col\" title=\"Saturday\">S<\/th>\n\t\t<th scope=\"col\" title=\"Sunday\">S<\/th>\n\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t<tr>\n\t\t<td colspan=\"4\" class=\"pad\">&nbsp;<\/td><td>1<\/td><td>2<\/td><td>3<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>10<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>11<\/td><td>12<\/td><td>13<\/td><td>14<\/td><td>15<\/td><td>16<\/td><td>17<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td id=\"today\">18<\/td><td>19<\/td><td>20<\/td><td>21<\/td><td>22<\/td><td>23<\/td><td>24<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>25<\/td><td>26<\/td><td>27<\/td><td>28<\/td><td>29<\/td><td>30<\/td><td>31<\/td>\n\t<\/tr>\n\t<\/tbody>\n\t<\/table><nav aria-label=\"Previous and next months\" class=\"wp-calendar-nav\">\n\t\t<span class=\"wp-calendar-nav-prev\"><a href=\"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/2015\/04\/\">&laquo; Apr<\/a><\/span>\n\t\t<span class=\"pad\">&nbsp;<\/span>\n\t\t<span class=\"wp-calendar-nav-next\">&nbsp;<\/span>\n\t<\/nav><\/div>\n\n\n<h3>Right alignment<\/h3>\n\n\n<div class=\"alignright wp-block-calendar\"><table id=\"wp-calendar\" class=\"wp-calendar-table\">\n\t<caption>May 2026<\/caption>\n\t<thead>\n\t<tr>\n\t\t<th scope=\"col\" title=\"Monday\">M<\/th>\n\t\t<th scope=\"col\" title=\"Tuesday\">T<\/th>\n\t\t<th scope=\"col\" title=\"Wednesday\">W<\/th>\n\t\t<th scope=\"col\" title=\"Thursday\">T<\/th>\n\t\t<th scope=\"col\" title=\"Friday\">F<\/th>\n\t\t<th scope=\"col\" title=\"Saturday\">S<\/th>\n\t\t<th scope=\"col\" title=\"Sunday\">S<\/th>\n\t<\/tr>\n\t<\/thead>\n\t<tbody>\n\t<tr>\n\t\t<td colspan=\"4\" class=\"pad\">&nbsp;<\/td><td>1<\/td><td>2<\/td><td>3<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>4<\/td><td>5<\/td><td>6<\/td><td>7<\/td><td>8<\/td><td>9<\/td><td>10<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>11<\/td><td>12<\/td><td>13<\/td><td>14<\/td><td>15<\/td><td>16<\/td><td>17<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td id=\"today\">18<\/td><td>19<\/td><td>20<\/td><td>21<\/td><td>22<\/td><td>23<\/td><td>24<\/td>\n\t<\/tr>\n\t<tr>\n\t\t<td>25<\/td><td>26<\/td><td>27<\/td><td>28<\/td><td>29<\/td><td>30<\/td><td>31<\/td>\n\t<\/tr>\n\t<\/tbody>\n\t<\/table><nav aria-label=\"Previous and next months\" class=\"wp-calendar-nav\">\n\t\t<span class=\"wp-calendar-nav-prev\"><a href=\"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/2015\/04\/\">&laquo; Apr<\/a><\/span>\n\t\t<span class=\"pad\">&nbsp;<\/span>\n\t\t<span class=\"wp-calendar-nav-next\">&nbsp;<\/span>\n\t<\/nav><\/div>","protected":false},"excerpt":{"rendered":"<p>The calendar block shows a calendar of your site&#8217;s posts, allowing users to browse posts by calendar date. Interface Options Center, left, and right alignment. Examples Default alignment Center alignment Left alignment Right alignment<\/p>\n","protected":false},"author":3357,"featured_media":0,"parent":1545,"menu_order":4,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/pages\/1577"}],"collection":[{"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/users\/3357"}],"replies":[{"embeddable":true,"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/comments?post=1577"}],"version-history":[{"count":2,"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/pages\/1577\/revisions"}],"predecessor-version":[{"id":1580,"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/pages\/1577\/revisions\/1580"}],"up":[{"embeddable":true,"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/pages\/1545"}],"wp:attachment":[{"href":"https:\/\/id-demos.cms-devl.bu.edu\/gutenberg\/wp-json\/wp\/v2\/media?parent=1577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}