minor text/formatting changes
This commit is contained in:
@@ -123,7 +123,8 @@
|
|||||||
<li>Added Blueprint CSS to Starkers</li>
|
<li>Added Blueprint CSS to Starkers</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
## Contributors
|
## Contributors:
|
||||||
|
|
||||||
[Scott Walkinshaw](http://www.scottwalkinshaw.com/), [Matthew Price](http://www.matthewaprice.com/), [Kyle Geminden](http://www.kylegeminden.com/), [Steve Jothen](http://twitter.com/sjothen), [John Liuti](http://twitter.com/JohnLiuti), [Jeremiah Wall](http://jeremiahwall.com/), [Jenny Jui-Shan Liang](http://jsliang.twgogo.org/)
|
[Scott Walkinshaw](http://www.scottwalkinshaw.com/), [Matthew Price](http://www.matthewaprice.com/), [Kyle Geminden](http://www.kylegeminden.com/), [Steve Jothen](http://twitter.com/sjothen), [John Liuti](http://twitter.com/JohnLiuti), [Jeremiah Wall](http://jeremiahwall.com/), [Jenny Jui-Shan Liang](http://jsliang.twgogo.org/)
|
||||||
|
|
||||||
## License:
|
## License:
|
||||||
@@ -143,4 +144,4 @@ Everything else:
|
|||||||
|
|
||||||
## Summary:
|
## Summary:
|
||||||
|
|
||||||
Roots is a starting WordPress theme made for developers that's based on HTML5 Boilerplate, Blueprint CSS (or 960.gs) and Starkers that will help you rapidly create brochure sites and blogs.
|
Roots is a starting WordPress theme made for developers that's based on HTML5 Boilerplate, Blueprint CSS/960 Grid System/1140 Grid and Starkers that will help you rapidly create brochure sites and blogs.
|
||||||
@@ -15,7 +15,7 @@ function roots_flush_rewrites() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function roots_add_rewrites($content) {
|
function roots_add_rewrites($content) {
|
||||||
$theme_name = next(explode('/themes/', get_stylesheet_directory()));
|
$theme_name = next(explode('/themes/', get_stylesheet_directory()));
|
||||||
global $wp_rewrite;
|
global $wp_rewrite;
|
||||||
$roots_new_non_wp_rules = array(
|
$roots_new_non_wp_rules = array(
|
||||||
'css/(.*)' => 'wp-content/themes/'. $theme_name . '/css/$1',
|
'css/(.*)' => 'wp-content/themes/'. $theme_name . '/css/$1',
|
||||||
@@ -70,7 +70,7 @@ function roots_root_relative_url($input) {
|
|||||||
return str_replace(end($matches), '', $input);
|
return str_replace(end($matches), '', $input);
|
||||||
}
|
}
|
||||||
|
|
||||||
//add_filter('site_url', 'roots_root_relative_url'); // this will break URLs sent out in emails, possibly more
|
|
||||||
add_filter('bloginfo_url', 'roots_root_relative_url');
|
add_filter('bloginfo_url', 'roots_root_relative_url');
|
||||||
add_filter('theme_root_uri', 'roots_root_relative_url');
|
add_filter('theme_root_uri', 'roots_root_relative_url');
|
||||||
add_filter('stylesheet_directory_uri', 'roots_root_relative_url');
|
add_filter('stylesheet_directory_uri', 'roots_root_relative_url');
|
||||||
@@ -90,7 +90,7 @@ add_filter('month_link', 'roots_root_relative_url');
|
|||||||
add_filter('day_link', 'roots_root_relative_url');
|
add_filter('day_link', 'roots_root_relative_url');
|
||||||
add_filter('year_link', 'roots_root_relative_url');
|
add_filter('year_link', 'roots_root_relative_url');
|
||||||
add_filter('tag_link', 'roots_root_relative_url');
|
add_filter('tag_link', 'roots_root_relative_url');
|
||||||
// add_filter('post_link', 'roots_root_relative_url');
|
|
||||||
|
|
||||||
// remove root relative URLs on any attachments in the feed
|
// remove root relative URLs on any attachments in the feed
|
||||||
function roots_relative_feed_urls() {
|
function roots_relative_feed_urls() {
|
||||||
@@ -148,7 +148,7 @@ function roots_head_cleanup() {
|
|||||||
add_action('wp_head', 'roots_noindex');
|
add_action('wp_head', 'roots_noindex');
|
||||||
|
|
||||||
remove_action('wp_head', 'rel_canonical');
|
remove_action('wp_head', 'rel_canonical');
|
||||||
function roots_rel_canonical() {
|
function roots_rel_canonical() {
|
||||||
if (!is_singular())
|
if (!is_singular())
|
||||||
return;
|
return;
|
||||||
global $wp_the_query;
|
global $wp_the_query;
|
||||||
|
|||||||
@@ -1,12 +1,11 @@
|
|||||||
/*
|
/*
|
||||||
Theme Name: Roots
|
Theme Name: Roots
|
||||||
Theme URI: http://www.rootstheme.com/
|
Theme URI: http://rootstheme.com/
|
||||||
Description: Starting theme based on HTML5 Boilerplate, Blueprint CSS and Starkers
|
Description: Roots is a starting WordPress theme made for developers that's based on HTML5 Boilerplate, Blueprint CSS/960 Grid System/1140 Grid and Starkers that will help you rapidly create brochure sites and blogs.
|
||||||
Version: 3.2.2
|
Version: 3.2.2
|
||||||
Author: Ben Word
|
Author: Ben Word
|
||||||
Author URI: http://benword.com/
|
Author URI: http://benword.com/
|
||||||
Tags: roots, boilerplate, blueprint, starkers
|
|
||||||
|
|
||||||
License: The Unlicense
|
License: The Unlicense
|
||||||
License URI: http://unlicense.org/
|
License URI: http://unlicense.org/
|
||||||
*/
|
*/
|
||||||
Reference in New Issue
Block a user