Basics 0.2.8 and its Child theme Beyond Basics 0.2.1

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

  1. Add margin-top: 0 to li ul, li ol css rule to avoid gap [markup.css]
  2. Add .visuallyhidden class on <h1> in basics_content_nav() [inc/functions-display.php]
  3. 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)
  4. Close <input> tags with /> for XML parsing purpose, just in case… [functions-comments.php], [searchform.php]
  5. Close <img> tags with /> for XML parsing purpose, just in case… [content.php], [functions-display.php]
  6. Close <meta> and <link> tags with /> for XML parsing purpose, just in case… [header.php], [functions-display.php]
  7. Rewrite with uppercase to follow the WHATWG style (and maybe more compatibility with XML parsers or whatever)
  8. Move <a> into <h1> in <hgroup> to validate: No <a> tag allowed in <hgroup> [header.php]
  9. Add .section-title class to h1 in main menu
  10. Add removemorejump_link() to remove link Jumps to the More tag [inc/functions-filter-action.php]
  11. Move sidebar-1.php, sidebar-2.php and sidebar-3.php to Child theme Beyond Basics
  12. Create sidebar.php with formerly sidebar-1.php content
  13. Add to… get sidebars 😉 [index.php], [search.php]
  14. Add basics_searchform() to turn searchform.php into function [inc/functions-filter-action.php]
  15. Replace get_search_form() calls by basics_searchform()
  16. Shorten some comments [inc/functions-setup.php]
  17. 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

  1. Fix path to grid.css from Basics and some minor changes in comments [style.css]
  2. Change author.css to match with the move of <a> into <h1> in <hgroup> (cf. CHANGELOG.txt in Basics folder) [css/author.css]
  3. Add visuallyhidden rules in css/author.css for <p;h1> in menu class and #colophon [css/author.css]
  4. Add .focusable classe on skip-link link [css/author.css]
  5. Add function basics_link_cat() function to display a link to read all posts from the “uncategorized” category on home [functions.php]
  6. Add basics_link_cat() function [home.php] (see point n°5 for details).
  7. Add sidebar-1.php, sidebar-2.php and sidebar-3.php from Parent theme Basics
  8. Add index.php from Parent theme Basics to bypass the get_sidebar() for customization purposes
  9. Copy /js folder from Basics
  10. Change root directory for /js folder to accord the path whith the Child theme if exists
  11. Turn some <div> into <section> for consistency accross files in the theme [404.php], [home.php], [sidebar.php]
  12. Delete /js folder from Beyond Basics.
  13. 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.