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
<?php | |
// $taxonomies array creates new taxonomies | |
// This would create product and collection taxonomies | |
if ( class_exists( 'Woocommerce' ) ) { | |
class pe_wc_product_custom_taxonomy | |
{ | |
var $taxonomies = array( | |
'product', | |
'collection' |
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
<?php | |
if ( class_exists( 'acf' ) ) { | |
//something | |
} |
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
<?php | |
if ( class_exists( 'Woocommerce' ) ) { | |
//something | |
} |
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
/* Gravity Forms */ | |
.gform_wrapper ul { | |
padding-left: 0; | |
list-style: none; | |
} | |
.gform_wrapper li { | |
margin-bottom: 15px; | |
} |
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
jQuery('.gform_wrapper').unwrap().unwrap(); | |
jQuery('.gform_button').addClass('btn btn-default'); | |
jQuery('.gform_body input').addClass('form-control'); | |
jQuery('.gform_body textarea').addClass('form-control'); |
OlderNewer