Leaner Roots #992

retlehs opened this Issue Feb 22, 2014 · 3 comments


None yet
2 participants

retlehs commented Feb 22, 2014

As part of 7.0.0 (#982):

Soil will be scrapped and become a plugin that contains:

  • Markup changes/clean up
    • wp_head() clean up
    • Remove WP version from RSS feeds
    • Clean up <html> attributes
    • Clean up <link> tags
    • Clean up body_class()
    • Wrap embedded media as suggested by Readability
    • Use <figure> and <figcaption> for WP captions
    • Remove unnecessary dashboard widgets
    • Remove unnecessary self-closing tags
  • Nice search
  • Relative URLs

The above features will be enabled in Roots (or any other theme) if Soil is activated by using add_theme_support:

  • add_theme_support('soil-clean-up');
  • add_theme_support('soil-nice-search');
  • add_theme_support('soil-root-relative-urls');

Remove from Roots:

  • lib/cleanup.php - Move roots_get_search_form to lib/utils.php
  • lib/widgets.php - Remove vCard widget, move register sidebars to lib/init.php
  • lib/relative-urls.php

@retlehs retlehs added this to the 7.0.0 milestone Feb 22, 2014

This was referenced Feb 22, 2014

So if I'm understanding this correctly, nice search for example will be moved to Soil from Roots? If so, will this be separate WP plugin or one that can integrated within the Roots folder (or both)?


retlehs commented Mar 1, 2014

yup. both. you'd be able to include soil if you place it in your theme directory and require it in functions.php, but it makes sense to stay as a plugin

retlehs added a commit to roots/soil that referenced this issue Mar 12, 2014


retlehs commented Mar 12, 2014

now in the 7.0.0 branch using soil's new branch

@retlehs retlehs closed this Mar 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment