{"id":28767,"date":"2015-02-06T02:41:29","date_gmt":"2015-02-06T02:41:29","guid":{"rendered":"http:\/\/www.allyngibson.com\/?p=28767"},"modified":"2015-02-06T02:41:29","modified_gmt":"2015-02-06T02:41:29","slug":"coding-a-new-blog-theme","status":"publish","type":"post","link":"http:\/\/www.allyngibson.com\/?p=28767","title":{"rendered":"Coding a New Blog Theme"},"content":{"rendered":"<p>In recent weeks I have been working on a WordPress theme.<\/p>\n<p>There&#8217;s nothing wrong with what I have.  I like the Argo theme that NPR created.  It does a lot of really nice things.  I wanted a magazine-style front page, and I enjoyed putting that together.<\/p>\n<p>However, Argo isn&#8217;t not mobile-friendly.  It wasn&#8217;t designed to be; it was made for a 960-pixel grid.  I have made it mobile-friendly with a child theme I created that turns the grid into percentages, and that works fairly well except for my front page.  The slider isn&#8217;t resizable, and to be honest I had a bear of a time when I coded it originally.<\/p>\n<p>I started to wonder if I could build a new front page with a responsive slider.  I quickly ran into difficulty; Argo loads a lot of JavaScript, I needed more for the slider, none of it plays nicely, and things broke.<\/p>\n<p>This required some thinking.  I decided to build what I wanted on top of another, responsive theme, taking the things from Argo that I liked along for the ride.<\/p>\n<p>It&#8217;s not close, not yet. Soon, though.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In recent weeks I have been working on a WordPress theme. There&#8217;s nothing wrong with what I have. I like the Argo theme that NPR created. It does a lot of really nice things. I wanted a magazine-style front page, and I enjoyed putting that together. However, Argo isn&#8217;t not mobile-friendly. It wasn&#8217;t designed to<a class=\"more-link\" href=\"http:\/\/www.allyngibson.com\/?p=28767\">Continue reading <span class=\"screen-reader-text\">&#8220;Coding a New Blog Theme&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":28768,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4095],"tags":[71,4096],"class_list":["post-28767","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress","tag-blogging","tag-wordpress","entry"],"_links":{"self":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/28767","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\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28767"}],"version-history":[{"count":0,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/posts\/28767\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=\/wp\/v2\/media\/28768"}],"wp:attachment":[{"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28767"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=28767"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.allyngibson.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=28767"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}