Skip to content

Commit 32a511c

Browse files
committed
Init
0 parents  commit 32a511c

File tree

5 files changed

+103
-0
lines changed

5 files changed

+103
-0
lines changed

README.md

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# Storefront Child Theme
2+
3+
The StoreFront Child Theme is a starter blank child theme for WooThemes StoreFront WooCommerce theme.
4+
5+
## Installation
6+
7+
1. Download the child theme from it's GitHub Repository [Download StoreFront Blank Child Theme](https://github.com/stuartduff/storefront-child-theme).
8+
2. Goto WordPress > Appearance > Themes > Add New.
9+
2. Click Upload Theme and Choose File, then select the theme's .zip file. Click Install Now.
10+
3. Click Activate to use your new theme right away.
11+
12+
## Usage
13+
14+
This child theme is designed to be used as a starter theme for the WooCommerce StoreFront theme which you can download for free below.
15+
16+
* [Download WooCommerce StoreFront Theme](https://wordpress.org/themes/storefront/)
17+
* [StoreFront Documentation](http://docs.woocommerce.com/documentation/themes/storefront/)
18+
* [StoreFront Child Themes](https://woocommerce.com/product-category/themes/storefront-child-theme-themes/)
19+
* [StoreFront Extensions](https://woocommerce.com/product-category/storefront-extensions/)
20+
21+
Custom PHP that you write should be added to the child themes functions.php file whilst any custom CSS should be added to the child themes style.css file.
22+
23+
There is also a style.scss file within the /assets/sass/ folder that can be used if you wish to write [SASS - Syntactically Awesome Style Sheets](http://sass-lang.com/) based styles which can then be compiled into the style.css file using an app like [CodeKit](https://incident57.com/codekit/) for OSX or [PrePros](https://prepros.io/) for Windows.
24+
25+
The blank child theme itself has no functionality and if you would like to learn more about child themes for WordPress see this documentation below.
26+
27+
* [WordPress Child Themes](https://codex.wordpress.org/Child_Themes)
28+

assets/sass/style.scss

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
/*
2+
Theme Name: Storefront Child Theme
3+
Theme URI: https://github.com/stuartduff/storefront-child-theme
4+
Author: Stuart Duff
5+
Author URI: http://stuartduff.com
6+
Template: storefront
7+
Description: This is a blank child theme for WooThemes StoreFront theme
8+
Version: 1.0.0
9+
License: GNU General Public License v2 or later
10+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
11+
Text Domain: storefront
12+
Tags: black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
13+
This theme, like WordPress, is licensed under the GPL.
14+
Use it to make something cool, have fun, and share what you've learned with others.
15+
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
16+
Resetting and rebuilding styles have been helped along thanks to the fine work of
17+
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
18+
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
19+
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
20+
Images License: GNU General Public License v2 or later
21+
*/
22+
23+
/*
24+
* Add your own custom css below this text.
25+
*/

functions.php

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
3+
/**
4+
* Storefront automatically loads the core CSS even if using a child theme as it is more efficient
5+
* than @importing it in the child theme style.css file.
6+
*
7+
* Uncomment the line below if you'd like to disable the Storefront Core CSS.
8+
*
9+
* If you don't plan to dequeue the Storefront Core CSS you can remove the subsequent line and as well
10+
* as the sf_child_theme_dequeue_style() function declaration.
11+
*/
12+
//add_action( 'wp_enqueue_scripts', 'sf_child_theme_dequeue_style', 999 );
13+
14+
/**
15+
* Dequeue the Storefront Parent theme core CSS
16+
*/
17+
function sf_child_theme_dequeue_style() {
18+
wp_dequeue_style( 'storefront-style' );
19+
wp_dequeue_style( 'storefront-woocommerce-style' );
20+
}
21+
22+
/**
23+
* Note: DO NOT! alter or remove the code above this text and only add your custom PHP functions below this text.
24+
*/
25+
26+

screenshot.png

89.3 KB
Loading

style.css

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
/*
2+
Theme Name: Storefront Child Theme
3+
Theme URI: https://github.com/stuartduff/storefront-child-theme
4+
Author: Stuart Duff
5+
Author URI: http://stuartduff.com
6+
Template: storefront
7+
Description: This is a blank child theme for WooThemes StoreFront theme
8+
Version: 1.0.0
9+
License: GNU General Public License v2 or later
10+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
11+
Text Domain: storefront
12+
Tags: black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-ready
13+
This theme, like WordPress, is licensed under the GPL.
14+
Use it to make something cool, have fun, and share what you've learned with others.
15+
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
16+
Resetting and rebuilding styles have been helped along thanks to the fine work of
17+
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
18+
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
19+
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
20+
Images License: GNU General Public License v2 or later
21+
*/
22+
/*
23+
* Add your own custom css below this text.
24+
*/

0 commit comments

Comments
 (0)