{"id":494,"date":"2008-11-15T13:10:22","date_gmt":"2008-11-15T20:10:22","guid":{"rendered":"https:\/\/mikeindustries.com\/blog\/?p=494"},"modified":"2016-05-25T23:34:27","modified_gmt":"2016-05-26T06:34:27","slug":"lazyweb-request-date-based-theme-switcher-for-wordpress","status":"publish","type":"post","link":"https:\/\/mikeindustries.com\/blog\/archive\/2008\/11\/lazyweb-request-date-based-theme-switcher-for-wordpress","title":{"rendered":"LazyWeb Request: Date-Based Theme Switcher for WordPress"},"content":{"rendered":"<p>Jason Santa Maria <a href=\"http:\/\/jasonsantamaria.com\/articles\/progress-report\/\" target=\"_blank\">said something in his last post<\/a> about art directing blog entries that struck a chord with me:<\/p>\n<blockquote><p>&#8220;I am a huge proponent of preservation on the web. If and when I redesign, I will archive this version like I did with <a href=\"http:\/\/v3.jasonsantamaria.com\/\" target=\"_blank\">my last<\/a>. I think it&#8217;s important to keep content and design paired together when possible. That&#8217;s where the context and meaning live.&#8221;<\/p><\/blockquote>\n<p>I agree with Jason and his reasoning is part of why I haven&#8217;t redesigned Mike Industries since launching it almost five years ago: I don&#8217;t like the idea of changing the visual context of past entries or having to make a new design backwards-compatible, especially with with some of the more <a href=\"https:\/\/mikeindustries.com\/blog\/archive\/2004\/08\/smart-urls-and-smarter-404s\">visually complex<\/a> entries that have appeared <a href=\"https:\/\/mikeindustries.com\/blog\/archive\/2005\/05\/ipod-giveaway-2\">from time to time<\/a>.<\/p>\n<p>While I like Jason&#8217;s idea of archiving entire versions of his old sites at different subdomains, I think I&#8217;d actually rather just set a cut-off date whereby every blog post older than that date uses the old theme and every other page or post on the site uses a new theme.  In searching around, I can&#8217;t find a way to do this in WordPress.  It seems like something that could be the basis for a very useful plug-in.  Call it &#8220;WP Non-Destructive Redesign&#8221; maybe.<\/p>\n<p>Any WordPress hotshots out there know how something like this could be accomplished? For the quick and dirty version, ideally you&#8217;d first officially switch to a new theme and then there would be one setting in the plug-in&#8217;s options which would let you specify a cut-off date and a theme name to apply to the old stuff.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Jason Santa Maria said something in his last post about art directing blog entries that struck a chord with me: &#8220;I am a huge proponent of preservation on the web. If and when I redesign, I will archive this version like I did with my last. I think it&#8217;s important to keep content and design [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[37,36,282],"tags":[],"class_list":["post-494","post","type-post","status-publish","format-standard","hentry","category-code","category-design","category-original"],"_links":{"self":[{"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/posts\/494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/comments?post=494"}],"version-history":[{"count":0,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/posts\/494\/revisions"}],"wp:attachment":[{"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/media?parent=494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/categories?post=494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mikeindustries.com\/blog\/wp-json\/wp\/v2\/tags?post=494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}