{"id":502,"date":"2011-09-25T14:16:15","date_gmt":"2011-09-25T14:16:15","guid":{"rendered":"http:\/\/wp4design.com\/?p=502"},"modified":"2012-03-09T14:20:22","modified_gmt":"2012-03-09T13:20:22","slug":"theme-basics-0-2-8-and-child-theme-beyond-basics-0-2-1","status":"publish","type":"post","link":"http:\/\/4design.xyz\/wordpress-basics\/theme-basics-0-2-8-and-child-theme-beyond-basics-0-2-1","title":{"rendered":"Basics 0.2.8 and its Child theme Beyond Basics 0.2.1"},"content":{"rendered":"<p>From the beginnings, Basics is build to be used with a Child theme. Since the <a href=\"http:\/\/wp4design.com\/wordpress-basics-0-2-7-ch-ch-ch-ch-changes\">former version<\/a>, Basics comes with Beyond Basics. After some tests, I planned many enhancements in order to make the Parent theme and the Child theme more complementary. Globally, I decreased the number of files included in Basics by moving some specific files to Beyond Basics.<!--more--><\/p>\n<h2>In short:<\/h2>\n<ul>\n<li>Optimize the way the sidebars are loaded,<\/li>\n<li>Turn searchform.php into a PHP function by filtering the original hook,<\/li>\n<li>Close the self-closing HTML tags with a slash to be more consistent with the XHTML5 way (in order to make Basics and Beyond Basics parsable with XML tools),<\/li>\n<li>Improve the author.css of Beyond Basics.<\/li>\n<\/ul>\n<div>\n<h1>Basics changelogs<\/h1>\n<p><em>Last modified on 25\/09\/2011 &#8211; 15:00 by Bruno Bichet<\/em><\/p>\n<p>For Those About to Rock&#8230; Fire!<\/p>\n<h2>Release 0.2.8 &#8211; 25\/09\/2011 &#8211; 15:00<\/h2>\n<ol>\n<li>Add <em>margin-top: 0<\/em> to <em>li ul, li ol<\/em> css rule to avoid gap <strong>[markup.css]<\/strong><\/li>\n<li>Add <em>.visuallyhidden<\/em> class on &lt;h1&gt; in <em>basics_content_nav()<\/em> <strong>[inc\/functions-display.php]<\/strong><\/li>\n<li>Add <em>posts_link_rel_next()<\/em> and <em>posts_link_rel_prev()<\/em> functions to print a rel &#8220;next&#8221; or &#8220;prev&#8221; microformats attributes on navivagation links between posts (maybe redondant with the meta link rel prev\/next\/start in head)<\/li>\n<li>Close &lt;input&gt; tags with \/&gt; for XML parsing purpose, just in case&#8230; <strong>[functions-comments.php]<\/strong>, <strong>[searchform.php]<\/strong><\/li>\n<li>Close &lt;img&gt; tags with \/&gt; for XML parsing purpose, just in case&#8230; <strong>[content.php]<\/strong>, <strong>[functions-display.php]<\/strong><\/li>\n<li>Close &lt;meta&gt; and &lt;link&gt; tags with \/&gt; for XML parsing purpose, just in case&#8230; <strong>[header.php]<\/strong>, <strong>[functions-display.php]<\/strong><\/li>\n<li>Rewrite with uppercase to follow the WHATWG style (and maybe more compatibility with XML parsers or whatever)<\/li>\n<li>Move &lt;a&gt; into &lt;h1&gt; in &lt;hgroup&gt; to validate: No &lt;a&gt; tag allowed in &lt;hgroup&gt; <strong>[header.php]<\/strong><\/li>\n<li>Add <em>.section-title<\/em> class to h1 in main menu<\/li>\n<li>Add remove<em>more<\/em>jump_link() to remove link Jumps to the More tag <strong>[inc\/functions-filter-action.php]<\/strong><\/li>\n<li>Move <em>sidebar-1.php<\/em>, <em>sidebar-2.php<\/em> and <em>sidebar-3.php<\/em> to Child theme Beyond Basics<\/li>\n<li>Create <em>sidebar.php<\/em> with formerly <em>sidebar-1.php<\/em> content<\/li>\n<li>Add to&#8230; get sidebars \ud83d\ude09 <strong>[index.php]<\/strong>, <strong>[search.php]<\/strong><\/li>\n<li>Add <em>basics_searchform()<\/em> to turn <em>searchform.php<\/em> into function <strong>[inc\/functions-filter-action.php]<\/strong><\/li>\n<li>Replace <em>get_search_form()<\/em> calls by <em>basics_searchform()<\/em><\/li>\n<li>Shorten some comments <strong>[inc\/functions-setup.php]<\/strong><\/li>\n<li>Change relative paths to load jQuery and other script: from Child theme to Parent theme.<\/li>\n<\/ol>\n<h1>Beyond Basics changelogs (Child Theme of WordPress Basics)<\/h1>\n<p><em>Last modified on 25\/09\/2011 &#8211; 14:30 by Bruno Bichet<\/em><\/p>\n<p>For Those About to Rock&#8230; Fire!<\/p>\n<h2>Release 0.2 &#8211; 25\/09\/2011 &#8211; 14:30<\/h2>\n<ol>\n<li>Fix path to <em>grid.css<\/em> from Basics and some minor changes in comments <strong>[style.css]<\/strong><\/li>\n<li>Change <em>author.css<\/em> to match with the move of &lt;a&gt; into &lt;h1&gt; in &lt;hgroup&gt; (cf. CHANGELOG.txt in Basics folder) <strong>[css\/author.css]<\/strong><\/li>\n<li>Add <em>visuallyhidden<\/em> rules in <em>css\/author.css<\/em> for &lt;p;h1&gt; in <em>menu<\/em> class and #colophon <strong>[css\/author.css]<\/strong><\/li>\n<li>Add <em>.focusable<\/em> classe on <em>skip-link<\/em> link <strong>[css\/author.css]<\/strong><\/li>\n<li>Add <em>function basics_link_cat()<\/em> function to display a link to read all posts from the &#8220;uncategorized&#8221; category on home <strong>[functions.php]<\/strong><\/li>\n<li>Add <em>basics_link_cat()<\/em> function <strong>[home.php]<\/strong> (see point n\u00b05 for details).<\/li>\n<li>Add <em>sidebar-1.php<\/em>, <em>sidebar-2.php<\/em> and <em>sidebar-3.php<\/em> from Parent theme Basics<\/li>\n<li>Add <em>index.php<\/em> from Parent theme Basics to bypass the <em>get_sidebar()<\/em> for customization purposes<\/li>\n<li>Copy <em>\/js<\/em> folder from Basics<\/li>\n<li>Change root directory for <em>\/js<\/em> folder to accord the path whith the Child theme if exists<\/li>\n<li>Turn some &lt;div&gt; into &lt;section&gt; for consistency accross files in the theme <strong>[404.php]<\/strong>, <strong>[home.php]<\/strong>, <strong>[sidebar.php]<\/strong><\/li>\n<li>Delete <em>\/js<\/em> folder from Beyond Basics.<\/li>\n<li>Delete <em>basics_scripts()<\/em> function <strong>[functions.php]<\/strong><\/li>\n<\/ol>\n<p>\u2192 Download <a title=\"Download Basics and Beyond Basics\" href=\"http:\/\/wp4design.com\/download-basics\">Basics and Beyond Basics<\/a>.<\/p>\n<\/div>\n<p>From the beginnings, Basics is build to be used with a Child theme. Since the former version, Basics comes with Beyond Basics. After some tests, I planned many enhancements in order to make the Parent theme and the Child theme more complementary. Globally, I decreased the number of files included in Basics by moving some specific files to Beyond Basics.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>From the beginnings, Basics is build to be used with a Child theme. Since the former version, Basics comes with Beyond Basics. After some tests, I planned many enhancements in order to make the Parent theme and the Child theme more complementary. Globally, I decreased the number of files included in Basics &hellip; <a href=\"http:\/\/4design.xyz\/wordpress-basics\/theme-basics-0-2-8-and-child-theme-beyond-basics-0-2-1\" rel=\"nofollow\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4],"tags":[29,61,108,130,156,157],"_links":{"self":[{"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/posts\/502"}],"collection":[{"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/comments?post=502"}],"version-history":[{"count":0,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/posts\/502\/revisions"}],"wp:attachment":[{"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/media?parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/categories?post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4design.xyz\/wordpress-basics\/wp-json\/wp\/v2\/tags?post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}