{"id":67273,"date":"2011-12-22T14:00:18","date_gmt":"2011-12-22T19:00:18","guid":{"rendered":"http:\/\/wpmu.org\/?p=67273"},"modified":"2011-12-20T12:34:31","modified_gmt":"2011-12-20T17:34:31","slug":"how-to-get-ap-style-dates-and-times-on-your-wordpress-site","status":"publish","type":"post","link":"https:\/\/wpmudev.com\/blog\/how-to-get-ap-style-dates-and-times-on-your-wordpress-site\/","title":{"rendered":"How to Get AP Style Dates and Times on Your WordPress Site"},"content":{"rendered":"<p><a rel=\"lightbox[67273]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/how-to-get-ap-style-dates-and-times-on-your-wordpress-site\/calendar-big-2\/\" rel=\"attachment wp-att-67276\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-67276\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2011\/12\/calendar-big1.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"646\" height=\"446\" \/><\/a> The Associated Press (AP) in the United States provides guidelines that many news organizations and other publications follow. If you are keen on adhering to this style, then that\u2019s easily done by knowing the rules and simply following them when you write your content.<\/p>\n<p>But what about the dates on your site? Yes, there are AP Style rules for dates too.<\/p>\n<p>As you or your writers create your content, you can\u2019t control how the date is outputted on your site. But the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/ap-style-dates-and-times\/\" target=\"_blank\">AP Style Dates and Times plugin can<\/a>.<\/p>\n<p>This plugin lets you choose different AP styles for your dates, as well as some common styles that are not etched in stone yet are popular by news organizations nonetheless, such as using the word \u201cToday\u201d instead of the date for items from the current day.<\/p>\n<p>One drawback with this plugin is that you will need to go into your theme\u2019s files and replace the date code with the code provided by the plugin. Another is that it doesn\u2019t seem to automatically hyperlink the dates. And so if you would like that feature, you might also include the original code for the date found in your theme.<\/p>\n<p><a rel=\"lightbox[67273]\" class=\"blog-thumbnail\" href=\"https:\/\/wpmudev.com\/blog\/how-to-get-ap-style-dates-and-times-on-your-wordpress-site\/dates\/\" rel=\"attachment wp-att-67274\" target=\"_blank\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-67274\" src=\"https:\/\/wpmudev.com\/blog\/wp-content\/uploads\/2011\/12\/dates.jpg\" alt=\"Post image\" aria-hidden=\"true\" width=\"635\" height=\"1223\" \/><\/a><\/p>\n<p>Download the <a href=\"http:\/\/wordpress.org\/extend\/plugins\/ap-style-dates-and-times\/\" target=\"_blank\">AP Style Dates and Times plugin<\/a> here. \u00a0 Photo: <a href=\"http:\/\/www.bigstockphoto.com\/image-6886894\/stock-photo-calendar\" target=\"_blank\">Calendar<\/a> from BigStock<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019re serious about following the Associated Press\u2019 style guidelines, you will want this plugin.<\/p>\n","protected":false},"author":84404,"featured_media":67275,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"blog_reading_time":"","wds_primary_category":0,"wds_primary_tutorials_categories":0,"footnotes":""},"categories":[4],"tags":[],"tutorials_categories":[],"class_list":["post-67273","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins"],"_links":{"self":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/67273","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/users\/84404"}],"replies":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/comments?post=67273"}],"version-history":[{"count":0,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/posts\/67273\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media\/67275"}],"wp:attachment":[{"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/media?parent=67273"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/categories?post=67273"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tags?post=67273"},{"taxonomy":"tutorials_categories","embeddable":true,"href":"https:\/\/wpmudev.com\/blog\/wp-json\/wp\/v2\/tutorials_categories?post=67273"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}