{"id":33584,"date":"2022-01-11T21:53:58","date_gmt":"2022-01-12T02:53:58","guid":{"rendered":"http:\/\/www.allyngibson.com\/?p=33584"},"modified":"2022-01-11T21:57:17","modified_gmt":"2022-01-12T02:57:17","slug":"january-wordpress-codery","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=33584","title":{"rendered":"January WordPress Codery"},"content":{"rendered":"\n<p>During January, WordPress is running a <a href=\"https:\/\/wordpress.com\/blog\/2021\/12\/16\/new-year-new-success-with-bloganuary\/\">Bloganuary<\/a> theme. The idea is that, to get people blogging again, WordPress will send out a prompt that people are to write a post about that day, and they&#8217;re supposed to use the prompt and the <a href=\"https:\/\/wordpress.com\/tag\/bloganuary\">bloganuary tag<\/a>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-medium\"><img loading=\"lazy\" decoding=\"async\" width=\"208\" height=\"300\" src=\"http:\/\/www.allyngibson.com\/wp-content\/uploads\/2022\/01\/bloganuary-wordpress-badge-2022-208x300.jpg\" alt=\"\" class=\"wp-image-33581\"\/><\/figure><\/div>\n\n\n\n<p>I signed up for this, but the first week of January was also my deadline week at Diamond, so time, energy, and mental space were at a premium. I didn&#8217;t keep up with it, meaning to come back to it. Then, over the weekend I didn&#8217;t feel well, partly from the week&#8217;s deadline pressures, partly for other reasons.<\/p>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">I felt weird over the weekend. Not quite unwell, but off. &quot;Is it COVID?&quot; I thought. &quot;Or is it dehydration?&quot;<br><br>The arthritis this morning in my foot answered the question for me: dehydration.<br><br>Water and ibuprofen it is, then.<\/p>&mdash; Allyn Gibson (@allyngibson) <a href=\"https:\/\/twitter.com\/allyngibson\/status\/1480585749938462723?ref_src=twsrc%5Etfw\">January 10, 2022<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<p>My left ankle is feeling a little bit better today. It&#8217;s a bit more mobile than it was, it&#8217;s not as stiff, it&#8217;s easier to stand, walking doesn&#8217;t completely make me want to scream out in pain. I should be fine by the weekend.<\/p>\n\n\n\n<p>Note to self: Be sure to hydrate, to the edge of excess, on deadline weeks!<\/p>\n\n\n\n<p>I spent my weekend&#8217;s WordPress time under the hood, so to speak.<\/p>\n\n\n\n<p>For the past several years, I&#8217;ve been using <a href=\"https:\/\/wordpress.org\/themes\/shoreditch\/\">the Shoreditch theme<\/a>, which originally released in 2016. (Here&#8217;s <a href=\"https:\/\/wordpress.com\/blog\/2016\/04\/28\/affinity-shoreditch\/\">the announcement post<\/a>.) I made a light child theme for it that gave it more of a magazine-style presentation on the front page, but otherwise left it alone.<\/p>\n\n\n\n<p>From time to time I&#8217;d think about changing, look at themes to get ideas, maybe play with code for a day or two, then I wouldn&#8217;t. There wasn&#8217;t anything wrong with what I had. It wasn&#8217;t flashy. It did what I wanted.<\/p>\n\n\n\n<p>Over the weekend I decided to see about doing at least a little refresh.<\/p>\n\n\n\n<p>A series of themes, all based on a theme called <a href=\"https:\/\/wordpress.com\/theme\/varia\/\">Varia<\/a>, were released in 2019. These themes were made to be Gutenberg-ready &#8212; in other words, ready for the WordPress block editor &#8212; which Shoreditch was not. These themes don&#8217;t really exist outside of WordPress.com; none of these, not even the Varia base theme, have ever been released for self-hosted WordPress sites. They&#8217;re available from Automattic&#8217;s GitHub, but they won&#8217;t really be found otherwise.<\/p>\n\n\n\n<p>Still, from time to time I&#8217;d take a look at them. I thought <a href=\"<a href=\">Stratford<\/a> was promising. It wasn&#8217;t that different than what I had. Similar look and feel. And what I noticed was, under the hood, the code was very similar. My main concern about moving was rebuilding my old page templates, but the code was basically the same &#8212; the template tags were consistent, the structure was consistent. It took a little bit of work, maybe an hour, to get my front-page template for Shoreditch to work with Stratford.<\/p>\n\n\n\n<p>But then, I thought, since Stratford is a child theme of Varia, then the same thing should work with the other Varia child themes, of which there&#8217;s like twenty. And perhaps I&#8217;d like the look of one of those twenty better.<\/p>\n\n\n\n<p>So, I took some time, went through them all, and gravitated towards <a href=\"<a href=\">Alves<\/a>, named, presumably, for <a href=\"https:\/\/en.wikipedia.org\/wiki\/Alves,_Moray\">Alves, a village in Scotland<\/a>.<\/p>\n\n\n\n<p>I spent about six hours working on code and files, doing some unusual things along the way, breaking things pretty badly. The result is basically what I had before, but a little newer underneath. Most people might not even notice.<\/p>\n\n\n\n<p>I might not be done, though. I&#8217;m working on a new front page. It&#8217;s coming along well, and if I like it I might roll it out.<\/p>\n\n\n\n<p>Or I might not. It&#8217;s not uncommon for me to work on a WordPress project, finish, and change my mind.<\/p>\n\n\n\n<figure class=\"wp-block-embed aligncenter is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">Working on some WordPress code this weekend. That&#39;s an idea so crazy it just might work!<\/p>&mdash; Allyn Gibson (@allyngibson) <a href=\"https:\/\/twitter.com\/allyngibson\/status\/1480305814875291655?ref_src=twsrc%5Etfw\">January 9, 2022<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<p>I&#8217;m not sure if that crazy idea worked yet, though. I&#8217;ll have to finish first and test it. In principle, it should work. It&#8217;s not so much <i>crazy<\/i>, though, as it&#8217;s <i>old<\/i>. The <i>Spider-Man<\/i> themes kinda gave me the idea.<\/p>\n\n\n\n<p>January just seems to be when I work on coding projects, though the last two years it was eBooks rather than websites.  (eBooks are just webpages packed in a container.)  Two years ago, I worked on <em><a href=\"http:\/\/www.allyngibson.com\/?p=32463\">The Misadventures of Sherlock Holmes<\/a><\/em> (which I am still very proud of, even if no one will see it), and last year I worked on something else.  The month&#8217;s not young any more, but there&#8217;s still time to work on a new eBook project.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-background has-primary-background-color has-primary-color\"\/>\n\n\n\n<p>A.A. Milne&#8217;s <em>Winnie-the-Pooh<\/em> is now public domain in the United States, and this delightful bit of whimsey appeared on Twitter over the weekend:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-rich is-provider-twitter wp-block-embed-twitter\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"twitter-tweet\" data-width=\"550\" data-dnt=\"true\"><p lang=\"en\" dir=\"ltr\">Thread: Winnie-the-Pooh, as written by Lovecraft. <a href=\"https:\/\/t.co\/OM5Q70WNho\">https:\/\/t.co\/OM5Q70WNho<\/a><\/p>&mdash; Allyn Gibson (@allyngibson) <a href=\"https:\/\/twitter.com\/allyngibson\/status\/1479878603865489408?ref_src=twsrc%5Etfw\">January 8, 2022<\/a><\/blockquote><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script>\n<\/div><\/figure>\n\n\n\n<hr class=\"wp-block-separator has-text-color has-background has-primary-background-color has-primary-color\"\/>\n\n\n\n<p>Don&#8217;t let the inviting image up top tempt you; it was actually pretty cold today.  I think the high temperature here was twenty degrees today.  I poured out some water on the concrete outside my apartment and it was frozen in mere moments.  Oops!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>During January, WordPress is running a Bloganuary theme. The idea is that, to get people blogging again, WordPress will send out a prompt that people are to write a post about that day, and they&#8217;re supposed to use the prompt and the bloganuary tag. I signed up for this, but the first week of January<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=33584\">Continue reading <span class=\"screen-reader-text\">&#8220;January WordPress Codery&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":33582,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4095],"tags":[5042,5045,217,4096],"class_list":["post-33584","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-bloganuary","tag-lovecraft","tag-winnie-the-pooh","tag-wordpress","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/33584","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33584"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/33584\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/media\/33582"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33584"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33584"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33584"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}