This file contains 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 WC styles | |
add_action( 'wp_enqueue_scripts', 'maira_add_stylesheet' ); | |
function maira_add_stylesheet() { | |
wp_register_style( 'woocommerce', get_stylesheet_directory_uri() . '/woocommerce/woocommerce.css' ); | |
if ( class_exists( 'woocommerce' ) ) { | |
wp_enqueue_style( 'woocommerce' ); | |
} | |
} | |
//Full Width Pages on WooCommerce - Genesis |
This file contains 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() { | |
"use strict"; | |
var root = this, | |
WASHAREBTN = function() { | |
this.buttons = [], this.isIos === !0 && this.cntLdd(window, this.crBtn) | |
}; | |
WASHAREBTN.prototype.isIos = navigator.userAgent.match(/Android|iPhone/i) && !navigator.userAgent.match(/iPod|iPad/i) ? !0 : !1, WASHAREBTN.prototype.cntLdd = function(win, fn) { | |
var done = !1, | |
top = !0, | |
doc = win.document, |