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_filter( 'has_electro_mobile_header', '__return_false' ); | |
add_filter( 'electro_enable_handheld_footer_bar', '__return_false' ); |
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
if ( ! function_exists( 'electro_brands_list_element' ) ) : | |
function electro_brands_list_element( $atts, $content = null ){ | |
extract(shortcode_atts(array( | |
'has_no_products' => false, | |
'orderby' => 'title', | |
'order' => 'asc', | |
), $atts)); | |
$taxonomy_args = array( | |
'orderby' => $orderby, |
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_action( 'init', 'ec_child_remove_availability', 20 ); | |
function ec_child_remove_availability() { | |
remove_action( 'woocommerce_single_product_summary', 'electro_template_loop_availability', 10 ); | |
} |