{"id":507,"date":"2012-01-20T01:30:30","date_gmt":"2012-01-19T23:30:30","guid":{"rendered":"http:\/\/mattiesworld.gotdns.org\/weblog\/?p=507"},"modified":"2012-01-20T01:37:20","modified_gmt":"2012-01-19T23:37:20","slug":"wordpress-upgrade-2","status":"publish","type":"post","link":"https:\/\/mattiesworld.gotdns.org\/weblog\/2012\/01\/20\/wordpress-upgrade-2\/","title":{"rendered":"WordPress upgrade"},"content":{"rendered":"<p>In the past 6 years, this blog hasn&#8217;t changed that much. I added a plugin here and there, integrated google buzz posts, etc., but the core wordpress install remained the same. After procrastinating the upgrade several years, I thought, mmm.., spammers don&#8217;t bother anymore to hack an ancient wordpress install! So I left it at that. \ud83d\ude42<\/p>\n<p>Unfortunately, lately, spammers have become less lazy, so my blog still got targetted again. Today I finally made the switch to WordPress 3.3.1 and although I didn&#8217;t expect wordpress to support the giant version leap, it did! <\/p>\n<p>I was tempted to leave the design just the way it was (you know, good old kubrick), and leave it at just a back-end upgrade. But then I thought it would be nice to have a descent display on mobile devices, which comes for free with the newer themes of course. Also my beloved antispam plugin <a href=\"http:\/\/unknowngenius.com\/blog\/wordpress\/spam-karma\/\" title=\"Spam Karma 2\" target=\"_blank\">Spam Karma 2<\/a> which was abandoned a few years ago (Thanks anyway Dave!), was in for replacement.<br \/>\nSo I decided to switch to the fancy twentyeleven theme and tweak the header (about the only thing I care to tweak :)). The tweak consists of  making the header smaller and move it up:<br \/>\n<code><br \/>\n#branding img {<br \/>\n    height: 180px;<br \/>\n    margin-bottom: -7px;<br \/>\n    margin-top: -100px;<br \/>\n    width: 100%;<br \/>\n}<br \/>\n<\/code><br \/>\nThe best way to apply this tweak is by <a href=\"http:\/\/codex.wordpress.org\/Child_Themes\" target=\"_blank\">creating a child theme<\/a>.<\/p>\n<p>Btw, the header image is based on a photo of one of the layers present in an LCD display (thanks to <a href=\"http:\/\/sonic840.deviantart.com\/art\/White-noise-105742960\">sonic840<\/a>).<\/p>\n<p>Using widgets I was able to recreate the same look as in the old theme (having the categories, archive, etc).<br \/>\nI was hesitating to keep with wordpress, but I&#8217;m glad I did (for a blog at least):<\/p>\n<ul>\n<li>Upgrade went well from an ancient version<\/li>\n<li>Killer feature: install\/upgrade new plugins from the web interface, it just works!<\/li>\n<li>I love the fullscreen authoring mode<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>In the past 6 years, this blog hasn&#8217;t changed that much. I added a plugin here and there, integrated google buzz posts, etc., but the core wordpress install remained the same. After procrastinating the upgrade several years, I thought, mmm.., spammers don&#8217;t bother anymore to hack an ancient wordpress install! So I left it at &hellip; <a href=\"https:\/\/mattiesworld.gotdns.org\/weblog\/2012\/01\/20\/wordpress-upgrade-2\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WordPress upgrade<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-507","post","type-post","status-publish","format-standard","hentry","category-web"],"_links":{"self":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/507","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/comments?post=507"}],"version-history":[{"count":5,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/507\/revisions"}],"predecessor-version":[{"id":511,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/posts\/507\/revisions\/511"}],"wp:attachment":[{"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/media?parent=507"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/categories?post=507"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mattiesworld.gotdns.org\/weblog\/wp-json\/wp\/v2\/tags?post=507"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}