{"id":5,"date":"2006-01-31T18:27:14","date_gmt":"2006-01-31T23:27:14","guid":{"rendered":"http:\/\/gmu.mossiso.com\/697\/?p=5"},"modified":"2010-10-07T16:30:44","modified_gmt":"2010-10-07T20:30:44","slug":"adding-the-calendar-in-wordpress","status":"publish","type":"post","link":"https:\/\/mossiso.com\/2006\/01\/31\/adding-the-calendar-in-wordpress\/","title":{"rendered":"Adding the calendar in WordPress"},"content":{"rendered":"<p>This is the info&#8230;<br \/>\nhttp:\/\/codex.wordpress.org\/Template_Tags\/get_calendar<\/p>\n<p>but to save you all from having to go to a different page, I shall explain it here.<\/p>\n<p>You simply need to add a line of PHP code to the template.  The code is:<\/p>\n<pre>< ?php get_calendar() ? ><\/pre>\n<p>The steps:<br \/>\n1. Go to the admin section of WordPress.<br \/>\n2. Presentation<br \/>\n3. Theme Editor<br \/>\n4. Sidebar<br \/>\n5. Find where this part of the code is:<\/p>\n<pre>\n< ?php wp _list_pages('title_li=< h2>Pages< \/h2>' ); ? >\n\t< li>< h2>Archives< \/h2>\n\t\t< ul>\n\t\t< ?php wp _get_archives('type=monthly'); ? >\n\t\t< \/ul>\n\t< \/li>\n<\/pre>\n<p>6. and add the calendar code before the wp_list_pages junk.<br \/>\n7. update the page and BANG!  You&#8217;ve got a calendar.<\/p>\n<p>*Be aware, I had to add some spaces in the above code so that it would show up properly.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is the info&#8230; http:\/\/codex.wordpress.org\/Template_Tags\/get_calendar but to save you all from having to go to a different page, I shall explain it here. You simply need to add a line of PHP code to the template. The code is: < ?php get_calendar() ? > The steps: 1. Go to the admin section of WordPress. 2. &hellip; <a href=\"https:\/\/mossiso.com\/2006\/01\/31\/adding-the-calendar-in-wordpress\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Adding the calendar in WordPress<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false}}},"categories":[3,167,10],"tags":[],"class_list":["post-5","post","type-post","status-publish","format-standard","hentry","category-coding","category-technical","category-wordpress"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9wosP-5","_links":{"self":[{"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/posts\/5"}],"collection":[{"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/comments?post=5"}],"version-history":[{"count":1,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/posts\/5\/revisions"}],"predecessor-version":[{"id":698,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/posts\/5\/revisions\/698"}],"wp:attachment":[{"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/media?parent=5"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/categories?post=5"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mossiso.com\/wp-json\/wp\/v2\/tags?post=5"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}