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.
In short:
- Optimize the way the sidebars are loaded,
- Turn searchform.php into a PHP function by filtering the original hook,
- 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),
- Improve the author.css of Beyond Basics.
Basics changelogs
Last modified on 25/09/2011 – 15:00 by Bruno Bichet
For Those About to Rock… Fire!
Release 0.2.8 – 25/09/2011 – 15:00
- Add margin-top: 0 to li ul, li ol css rule to avoid gap [markup.css]
- Add .visuallyhidden class on <h1> in basics_content_nav() [inc/functions-display.php]
- Add posts_link_rel_next() and posts_link_rel_prev() functions to print a rel “next” or “prev” microformats attributes on navivagation links between posts (maybe redondant with the meta link rel prev/next/start in head)
- Close <input> tags with /> for XML parsing purpose, just in case… [functions-comments.php], [searchform.php]
- Close <img> tags with /> for XML parsing purpose, just in case… [content.php], [functions-display.php]
- Close <meta> and <link> tags with /> for XML parsing purpose, just in case… [header.php], [functions-display.php]
- Rewrite with uppercase to follow the WHATWG style (and maybe more compatibility with XML parsers or whatever)
- Move <a> into <h1> in <hgroup> to validate: No <a> tag allowed in <hgroup> [header.php]
- Add .section-title class to h1 in main menu
- Add removemorejump_link() to remove link Jumps to the More tag [inc/functions-filter-action.php]
- Move sidebar-1.php, sidebar-2.php and sidebar-3.php to Child theme Beyond Basics
- Create sidebar.php with formerly sidebar-1.php content
- Add to… get sidebars 😉 [index.php], [search.php]
- Add basics_searchform() to turn searchform.php into function [inc/functions-filter-action.php]
- Replace get_search_form() calls by basics_searchform()
- Shorten some comments [inc/functions-setup.php]
- Change relative paths to load jQuery and other script: from Child theme to Parent theme.
Beyond Basics changelogs (Child Theme of WordPress Basics)
Last modified on 25/09/2011 – 14:30 by Bruno Bichet
For Those About to Rock… Fire!
Release 0.2 – 25/09/2011 – 14:30
- Fix path to grid.css from Basics and some minor changes in comments [style.css]
- Change author.css to match with the move of <a> into <h1> in <hgroup> (cf. CHANGELOG.txt in Basics folder) [css/author.css]
- Add visuallyhidden rules in css/author.css for <p;h1> in menu class and #colophon [css/author.css]
- Add .focusable classe on skip-link link [css/author.css]
- Add function basics_link_cat() function to display a link to read all posts from the “uncategorized” category on home [functions.php]
- Add basics_link_cat() function [home.php] (see point n°5 for details).
- Add sidebar-1.php, sidebar-2.php and sidebar-3.php from Parent theme Basics
- Add index.php from Parent theme Basics to bypass the get_sidebar() for customization purposes
- Copy /js folder from Basics
- Change root directory for /js folder to accord the path whith the Child theme if exists
- Turn some <div> into <section> for consistency accross files in the theme [404.php], [home.php], [sidebar.php]
- Delete /js folder from Beyond Basics.
- Delete basics_scripts() function [functions.php]
→ Download Basics and Beyond Basics.
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.