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 electro_header_mini_cart_icon() { | |
if( true === electro_get_shop_catalog_mode() ) { | |
return; | |
} | |
$header_cart_icon = apply_filters( 'electro_header_cart_icon', 'ec ec-shopping-bag' ); | |
$disable_header_cart_dropdown = apply_filters( 'electro_header_cart_dropdown_disable', false ); | |
$cart_link = ''; |
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_action( 'jobhunt_before_homepage_v1', 'jh_child_modify_home_v1', 20 ); | |
function jh_child_modify_home_v1() { | |
remove_action( 'jobhunt_homepage_v1', 'jobhunt_home_v1_job_list_block', 40 ); | |
add_action( 'jobhunt_homepage_v1', 'jobhunt_home_v2_job_list_block', 40 ); | |
} |
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
.video__attributes { | |
display: block; | |
margin-top: -9px; | |
} | |
.video__attributes tbody { | |
display: flex; | |
margin-left: -0.75rem; | |
} |
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_action( 'masvideos_single_video_summary', 'vodi_template_single_video_attributes', 15 ); | |
function vodi_template_single_video_attributes() { | |
?><div class="single-video__attributes"><?php masvideos_display_video_attributes(); ?></div><?php | |
} |
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 electro_template_single_brand() { | |
global $product; | |
$product_id = electro_wc_get_product_id( $product ); | |
$brands_tax = electro_get_brands_taxonomy(); | |
$terms = get_the_terms( $product_id, $brands_tax ); | |
$brand_img = ''; | |
if ( $terms && ! is_wp_error( $terms ) ) { |
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 electro_template_single_brand() { | |
global $product; | |
$product_id = electro_wc_get_product_id( $product ); | |
$brands_tax = electro_get_brands_taxonomy(); | |
$terms = get_the_terms( $product_id, $brands_tax ); | |
$brand_img = ''; | |
if ( $terms && ! is_wp_error( $terms ) ) { |
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
INSERT INTO wp_postmeta( post_id, meta_key, meta_value ) SELECT DISTINCT ID, '_featured', '0' FROM wp_posts WHERE post_type='job_listing' AND post_status='publish'; |
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_action( 'wp_enqueue_scripts', 'ec_child_dequeue_js_composer_flexslider', PHP_INT_MAX ); | |
function ec_child_dequeue_js_composer_flexslider() { | |
if ( is_rtl() && is_woocommerce_activated() ) { | |
wp_dequeue_script( 'flexslider' ); | |
$flexslider = array( | |
'handle' => 'wc-flexslider', | |
'src' => plugins_url( 'assets/js/flexslider/jquery.flexslider.min.js' , WC_PLUGIN_FILE ), | |
'deps' => array( 'jquery' ), |
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 electro_header_mini_cart_icon() { | |
if( true === electro_get_shop_catalog_mode() ) { | |
return; | |
} | |
$header_cart_icon = apply_filters( 'electro_header_cart_icon', 'ec ec-shopping-bag' ); | |
$disable_header_cart_dropdown = apply_filters( 'electro_header_cart_dropdown_disable', false ); | |
$cart_link = ''; |
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_filter( 'jobhunt_register_user_password_enabled', '__return_true', 20 ); |