{"id":25608,"date":"2017-03-20T11:15:02","date_gmt":"2017-03-20T15:15:02","guid":{"rendered":"http:\/\/www.yurasko.net\/wfy\/?p=25608"},"modified":"2017-03-20T11:15:02","modified_gmt":"2017-03-20T15:15:02","slug":"dont-be-that-site-that-shows-last-years-copyright","status":"publish","type":"post","link":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/","title":{"rendered":"Don&#8217;t be that site that shows last year&#8217;s copyright"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">As a web professional, <strong><a href=\"http:\/\/www.yurasko.net\/wfy\/portfolio\/linkedin\">I provide comprehensive web project management and strategy<\/a><\/strong>. That means big things and little things. One of the little things I have noticed:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Many web sites have a copyright date of 2016.<\/p><\/blockquote>\n\n\n\n<p class=\"wp-block-paragraph\">It&#8217;s late March. March 2017.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This suggests that web managers, developers, etc. are <em>still<\/em> hard-coding their copyrights instead of just letting their CMS display the current year.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Why?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thankfully, this oversight is completely avoidable. The site, <strong><a href=\"http:\/\/updateyourfooter.com\">updateyourfooter.com<\/a><\/strong> has solutions for WordPress\/PHP and JavaScript which I have repeat here. I have included a few other content management systems as well.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Javascript<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">I&#8217;d rather do it from the CMS, but this a simple alternative to getting the current year in the copyright or anywhere else. We used this at GannettDigital long ago.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">WordPress\/PHP<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">In WordPress, add this line of code after the \u00a9<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you are not sure where the copyright appears, check functions.php first.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Drupal<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are a few ways, covered here: <strong><a href=\"https:\/\/www.drupal.org\/node\/1872412\">Auto update to the current year in the copyright footer<\/a><\/strong>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Ektron<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">I don&#8217;t have firsthand experience with Ektron, <strong><a href=\"http:\/\/www.kriesi.at\/support\/topic\/add-dynamic-copyright-year-in-footer-socket\/#post-460335\">but here&#8217;s what I found<\/a><\/strong> when I searched for &#8220;add dynamic copyright to Ektron.&#8221;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That&#8217;s all there is to it, do it once and then never again.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Happy New Year!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Manually updating copyrights is surprisingly still a thing. Here&#8217;s how to automate in Drupal, WordPress, Ektron and with JavaScript so you never have to worry about it again.<\/p>\n","protected":false},"author":1,"featured_media":25626,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[14],"tags":[],"class_list":["post-25608","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-bloggingwww"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Don&#039;t be that site that shows last year&#039;s copyright - William F. Yurasko<\/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:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Don&#039;t be that site that shows last year&#039;s copyright - William F. Yurasko\" \/>\n<meta property=\"og:description\" content=\"Manually updating copyrights is surprisingly still a thing. Here&#039;s how to automate in Drupal, WordPress, Ektron and with JavaScript so you never have to worry about it again.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/\" \/>\n<meta property=\"og:site_name\" content=\"William F. Yurasko\" \/>\n<meta property=\"article:published_time\" content=\"2017-03-20T15:15:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/i0.wp.com\/yurasko.net\/wfy\/wp-content\/uploads\/2017\/03\/copyright.png?fit=990%2C300&ssl=1\" \/>\n\t<meta property=\"og:image:width\" content=\"990\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"wfyurasko\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"wfyurasko\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/\"},\"author\":{\"name\":\"wfyurasko\",\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/#\\\/schema\\\/person\\\/ac8cc411e132f659e3520b7aaf758773\"},\"headline\":\"Don&#8217;t be that site that shows last year&#8217;s copyright\",\"datePublished\":\"2017-03-20T15:15:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/\"},\"wordCount\":222,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/yurasko.net\\\/wfy\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/copyright.png?fit=990%2C300&ssl=1\",\"articleSection\":[\"Blogging\\\/WWW\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/\",\"url\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/\",\"name\":\"Don't be that site that shows last year's copyright - William F. Yurasko\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/yurasko.net\\\/wfy\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/copyright.png?fit=990%2C300&ssl=1\",\"datePublished\":\"2017-03-20T15:15:02+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/#\\\/schema\\\/person\\\/ac8cc411e132f659e3520b7aaf758773\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/yurasko.net\\\/wfy\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/copyright.png?fit=990%2C300&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/yurasko.net\\\/wfy\\\/wp-content\\\/uploads\\\/2017\\\/03\\\/copyright.png?fit=990%2C300&ssl=1\",\"width\":990,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/2017\\\/03\\\/dont-be-that-site-that-shows-last-years-copyright\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Don&#8217;t be that site that shows last year&#8217;s copyright\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/#website\",\"url\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/\",\"name\":\"William F. Yurasko\",\"description\":\"Yet another Washingtonian pushing the ubiquitous Nats\\\/DC sports, Penn State, commuting, bicycling, kayaking, broomball, skiing, gin &amp; tonic agenda.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/#\\\/schema\\\/person\\\/ac8cc411e132f659e3520b7aaf758773\",\"name\":\"wfyurasko\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d848f90a00e30a5618468b70a0cf9639ad6175f078f9417858cef279ef96fe26?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d848f90a00e30a5618468b70a0cf9639ad6175f078f9417858cef279ef96fe26?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d848f90a00e30a5618468b70a0cf9639ad6175f078f9417858cef279ef96fe26?s=96&d=mm&r=g\",\"caption\":\"wfyurasko\"},\"sameAs\":[\"https:\\\/\\\/jus.tia.mybluehost.me\\\/website_3c1e0e40\"],\"url\":\"https:\\\/\\\/yurasko.net\\\/wfy\\\/author\\\/wfyurasko\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Don't be that site that shows last year's copyright - William F. Yurasko","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:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/","og_locale":"en_US","og_type":"article","og_title":"Don't be that site that shows last year's copyright - William F. Yurasko","og_description":"Manually updating copyrights is surprisingly still a thing. Here's how to automate in Drupal, WordPress, Ektron and with JavaScript so you never have to worry about it again.","og_url":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/","og_site_name":"William F. Yurasko","article_published_time":"2017-03-20T15:15:02+00:00","og_image":[{"width":990,"height":300,"url":"https:\/\/i0.wp.com\/yurasko.net\/wfy\/wp-content\/uploads\/2017\/03\/copyright.png?fit=990%2C300&ssl=1","type":"image\/png"}],"author":"wfyurasko","twitter_card":"summary_large_image","twitter_misc":{"Written by":"wfyurasko","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/#article","isPartOf":{"@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/"},"author":{"name":"wfyurasko","@id":"https:\/\/yurasko.net\/wfy\/#\/schema\/person\/ac8cc411e132f659e3520b7aaf758773"},"headline":"Don&#8217;t be that site that shows last year&#8217;s copyright","datePublished":"2017-03-20T15:15:02+00:00","mainEntityOfPage":{"@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/"},"wordCount":222,"commentCount":0,"image":{"@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/yurasko.net\/wfy\/wp-content\/uploads\/2017\/03\/copyright.png?fit=990%2C300&ssl=1","articleSection":["Blogging\/WWW"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/","url":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/","name":"Don't be that site that shows last year's copyright - William F. Yurasko","isPartOf":{"@id":"https:\/\/yurasko.net\/wfy\/#website"},"primaryImageOfPage":{"@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/#primaryimage"},"image":{"@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/yurasko.net\/wfy\/wp-content\/uploads\/2017\/03\/copyright.png?fit=990%2C300&ssl=1","datePublished":"2017-03-20T15:15:02+00:00","author":{"@id":"https:\/\/yurasko.net\/wfy\/#\/schema\/person\/ac8cc411e132f659e3520b7aaf758773"},"breadcrumb":{"@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/#primaryimage","url":"https:\/\/i0.wp.com\/yurasko.net\/wfy\/wp-content\/uploads\/2017\/03\/copyright.png?fit=990%2C300&ssl=1","contentUrl":"https:\/\/i0.wp.com\/yurasko.net\/wfy\/wp-content\/uploads\/2017\/03\/copyright.png?fit=990%2C300&ssl=1","width":990,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/yurasko.net\/wfy\/2017\/03\/dont-be-that-site-that-shows-last-years-copyright\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/yurasko.net\/wfy\/"},{"@type":"ListItem","position":2,"name":"Don&#8217;t be that site that shows last year&#8217;s copyright"}]},{"@type":"WebSite","@id":"https:\/\/yurasko.net\/wfy\/#website","url":"https:\/\/yurasko.net\/wfy\/","name":"William F. Yurasko","description":"Yet another Washingtonian pushing the ubiquitous Nats\/DC sports, Penn State, commuting, bicycling, kayaking, broomball, skiing, gin &amp; tonic agenda.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/yurasko.net\/wfy\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/yurasko.net\/wfy\/#\/schema\/person\/ac8cc411e132f659e3520b7aaf758773","name":"wfyurasko","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d848f90a00e30a5618468b70a0cf9639ad6175f078f9417858cef279ef96fe26?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d848f90a00e30a5618468b70a0cf9639ad6175f078f9417858cef279ef96fe26?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d848f90a00e30a5618468b70a0cf9639ad6175f078f9417858cef279ef96fe26?s=96&d=mm&r=g","caption":"wfyurasko"},"sameAs":["https:\/\/jus.tia.mybluehost.me\/website_3c1e0e40"],"url":"https:\/\/yurasko.net\/wfy\/author\/wfyurasko\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/yurasko.net\/wfy\/wp-content\/uploads\/2017\/03\/copyright.png?fit=990%2C300&ssl=1","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/posts\/25608","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/comments?post=25608"}],"version-history":[{"count":0,"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/posts\/25608\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/media\/25626"}],"wp:attachment":[{"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/media?parent=25608"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/categories?post=25608"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yurasko.net\/wfy\/wp-json\/wp\/v2\/tags?post=25608"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}