- Bootstrap 4+ : http://blog.getbootstrap.com/2015/08/19/bootstrap-4-alpha/
- pureCSS : http://purecss.io/
- Foundation 6+ : http://foundation.zurb.com/
- Flexboxgrid : http://flexboxgrid.com/
- Ionic Framework : http://ionicframework.com
- Scriptura : http://scriptura.github.io/Pages/GridLayout.html
- Juiced : http://juicedcss.com/
- KNACSS 4+ : http://knacss.com
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add a stylesheet after default style.css | |
wp_enqueue_style( 'my-css', get_template_directory_uri() . 'my-css.css', array('themename-style')); | |
//WooCommerce - Sort products by SKU | |
add_filter('woocommerce_get_catalog_ordering_args', 'custom_woocommerce_catalog_orderby'); | |
function custom_woocommerce_catalog_orderby( $args ) { | |
$args['meta_key'] = '_sku'; | |
$args['orderby'] = 'meta_value'; | |
$args['order'] = 'asc'; | |
return $args; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Add a stylesheet after default style.css | |
wp_enqueue_style( 'my-css', get_template_directory_uri() . 'my-css.css', array('themename-style')); | |
//WooCommerce - Sort products by SKU | |
add_filter('woocommerce_get_catalog_ordering_args', 'custom_woocommerce_catalog_orderby'); | |
function custom_woocommerce_catalog_orderby( $args ) { | |
$args['meta_key'] = '_sku'; | |
$args['orderby'] = 'meta_value'; | |
$args['order'] = 'asc'; | |
return $args; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]--> | |
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]--> | |
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]--> | |
<!--[if gt IE 8]><!--> | |
<html class="no-js" lang=""> | |
<!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function smoothScroll() { | |
var a = $(window); | |
a.on("mousewheel DOMMouseScroll", function(b) { | |
b.preventDefault(); | |
b = b.originalEvent.wheelDelta / 120 || -b.originalEvent.detail / 3; | |
b = a.scrollTop() - parseInt(280 * b); | |
TweenMax.to(a, 1.1, { | |
scrollTo: { | |
y: b, | |
autoKill: !0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
$bordergrey : #000; | |
@mixin border( $property, $border-width, $color:false){ | |
@if $color == true{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ---- | |
// Sass (v3.4.21) | |
// Compass (v1.0.3) | |
// ---- | |
$bordergrey : #000; | |
@mixin border( $property, $border-width, $color:false){ | |
@if $color == true{ |
http://www.remicorson.com/mastering-woocommerce-products-custom-fields/
#Adding Custom Fields in Woocommerce Product Variations http://www.remicorson.com/woocommerce-custom-fields-for-variations/
#Adding Custom Metafield in Woocommerce Product by CMB2 https://gist.github.com/bhwebworks/df6b827586addede3403