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
/* PREVIOUS LINE | |
body.woocommerce ul.tabs li.active a, | |
body.woocommerce #content-area div.product .woocommerce-tabs ul.tabs li:last-child a { | |
/* border: 2px solid #000;*/ | |
} | |
*/ | |
/* START UPDATE 2015 - 1 */ |
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
// Line 2193 | |
jQuery(".dc-variable-tab-link").click(function() { | |
dc_activate_tab(jQuery(this)); | |
}); | |
jQuery('body').on('click', '.dc-variable-tab-link', function(e) { | |
dc_activate_tab(jQuery(this)); | |
}); |
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 category_accordion() { | |
?> | |
<?php | |
$args = array( | |
'number' => $number, | |
// 'orderby' => 'menu_order', | |
// 'order' => 'ASC', |
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
// REGEX FOR AN URL FIELD | |
$link = TextField::create("Link","Link (optional) e.g. http://example.com")->setAttribute("pattern", "http?://.+") |
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
<?php | |
/** | |
* Add new register fields for WooCommerce registration. | |
* | |
* @return string Register fields HTML. | |
*/ | |
if ( ! function_exists( 'woocommerce_simple_add_to_cart_2' ) ) { |
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
<?php | |
// This extension allows for URLSegment-based layouts | |
// Inspired by how Wordpress handles templates | |
// e.g. For mysite.com/testurl | |
// it gives priority to the Page-testurl.ss template if it exists | |
// Code submitted by <Klemen Novak/klemen@designcollective.io> | |
class PageSlugTemplate_ControllerExtension extends Extension { | |
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
var videoController = { | |
videoData: {}, | |
videoInstance: {}, | |
videoWrapper: {}, | |
startHeight: null, | |
//TODO: videURl should not be hardcoded | |
"init": function () { | |
if( $(".slides .present[data-video='1']").length>0 || $(".hero-unit[data-video='1']").length>0 ) { | |
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
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDRk0/sswqX421CuZlWRo1390ffsuVnwvOw2oSY/YoAtxU3b9VvMXn6lOmzQazrviqIjTStMtfBGLz+9MiLDpjkFu+ULK/4UCLlxSWAycWU5HEEXIqvfRBAH9T0cveS1NKmU6IBG3QR+IKylYbbEumgaglQ8pkHtabI7U9ZGTIteD0+A55pkCFGnbGUoSI5QgCeuZdK0rOPIObXM6/s2dFJ/xhXUCdiVFIYnvCKriCep4HbFVbeIRo98vbgFCJUaYtw8FgDYwzB6NXi05TziwS7nVhH6Jn99ab4Ol/UcTpNdljy5wkbMpP2GYXoRNK1OucHkD+siH/D/sUWSO7BKG/h rodrigo@designcollective.io | |
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA1+6VeQ7cthpHXW7U8FeRYp1VYJi5JMCX9Q3/puy6OlCX9AP7L86BQCLdVKi0Ynv5GegSVI9Yr2P9JctyDy6/bXLdOQHl6noN6/Ska18Bd9xS5xdDhJqxBhyzcO8m+1ycPrcxp9aVuMtr2LyLWiBx7uUh2vU9nNl2v5ImrlKgZKOiQ2nd8VbPtCoCHXCMXMRMbSgqjR4DiG7e+b87XN4g8Rc1ivxBE1tx8/19WyC2PqO6iPnd6LXQurcuJPIXad5NZWLZ1gfU+xXcQGDmpKQtHsCRNN5d0jJjem+TuczSYskes4uyTb3Ovhtl73dTSnAp5xKvvXI3rTaICJZQXcszRQ== klemen@designcollective.io | |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDheiwpgWBtCVmxxOyMWr9qjGY1xr8W4q8qhSrmLgjOOU2LHCvVYwlRvThDZVCB6olWH7i4VAdAxAdw4YD4KUFjuQhCe4HQMI0lU/MjD/aZFcDDsDEHS8yhHQRVr5isnt12kK3O1huSu5RaD7au4kGmg0D1x4b649FQMiSdnRQ |
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
<?php | |
/* | |
CUSTOM FIELDS | |
*/ | |
// Customize ACF path | |
add_filter('acf/settings/path', 'my_acf_settings_path'); |
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
<p> | |
<input type="email" id="mc4wp_email" class="form-control" name="EMAIL" placeholder="Your email address" required /> | |
</p> | |
<p> | |
<input type="submit" class="btn btn-primary" value="Sign up" /> | |
</p> |