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( 'jh_child_elementor_get_header_after' ) ) { | |
| function jh_child_elementor_get_header_after() { | |
| if( did_action( 'elementor_pro/init' ) && ! is_page() ) { | |
| ?> | |
| <div id="content" class="site-content" tabindex="-1"> | |
| <div class="container"> | |
| <div class="site-content-inner"> | |
| <?php | |
| } | |
| } |
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( 'front_app_hp_listing_custom_description_tab_title' ) ) { | |
| function front_app_hp_listing_custom_description_tab_title( $title ) { | |
| $title = '<div class="d-md-flex justify-content-md-center align-items-md-center"><span class="d-none d-md-block w-100 line-height-1 max-width-5 mr-3"><i class="font-size-3 fab fa-app-store"></i></span>' . esc_html__( 'App Description', 'front' ) . '</div>'; | |
| return $title; | |
| } | |
| } | |
| add_filter( 'front_hp_listing_description_tab_title', 'front_app_hp_listing_custom_description_tab_title' ); |
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( 'cartzilla_handheld_toolbar' ) ) { | |
| function cartzilla_handheld_toolbar() { | |
| ?> | |
| <div class="cz-handheld-toolbar"> | |
| <div class="collapse border-bottom" id="searchBox"> | |
| <div class="card pt-2 pb-4 border-0 rounded-0"> | |
| <div class="container"> | |
| <?php if ( cartzilla_is_woocommerce_activated() ) : ?> | |
| <?php the_widget( 'WC_Widget_Product_Search', 'title=' ); ?> | |
| <?php else : ?> |
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( 'cartzilla_enqueue_script_globally_disable_visbilty_sensor' ) ) { | |
| function cartzilla_enqueue_script_globally_disable_visbilty_sensor() { | |
| $custom_script = ' | |
| var addFilter = wp.hooks.addFilter; | |
| addFilter("cartzillagb.globally.disable.visibility.sensor", "cartzilla-child/globally.disable.visibility.sensor", cartzillaGoballyDisableVisibilitySensor); | |
| function cartzillaGoballyDisableVisibilitySensor(enabled) { | |
| return true; | |
| }'; |
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( 'vodi_child_display_term_description' ) ) { | |
| function vodi_child_display_term_description() { | |
| if( is_tax() ) { | |
| $tax_obj = get_queried_object(); | |
| if( is_tax( 'movie_genre' ) || is_tax( 'movie_tag' ) || taxonomy_is_movie_attribute( $tax_obj->taxonomy ) ) { | |
| $term_description = term_description(); | |
| if( ! empty( $term_description ) ) { | |
| echo '<div class="term-description">' . $term_description . '</div>'; | |
| } | |
| } |
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( 'cz_child_remove_woocommerce_error_notice' ) ) { | |
| function cz_child_remove_woocommerce_error_notice( $types ) { | |
| if ( is_product() && ( $key = array_search('error', $types) ) !== false) { | |
| unset( $types[$key] ); | |
| } | |
| return $types; | |
| } | |
| } | |
| add_filter( 'woocommerce_notice_types', 'cz_child_remove_woocommerce_error_notice', 10 ); |
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_child_add_accessories_export_support' ) ) { | |
| function electro_child_add_accessories_export_support( $meta_value, $meta, $product, $row ) { | |
| if( isset( $meta->key ) && ( $meta->key === '_accessory_ids' ) ) { | |
| $meta_value = implode( ',', $meta_value ); | |
| } | |
| return $meta_value; | |
| } | |
| } |
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( 'mas_wpjmc_enhanced_select_enabled' ) ) { | |
| function mas_wpjmc_enhanced_select_enabled( $enabled ) { | |
| if ( has_wpjm_shortcode( null, [ 'mas_submit_company_form', 'mas_company_dashboard' ] ) ) { | |
| $enabled = true; | |
| } | |
| return $enabled; | |
| } | |
| } | |
| add_filter( 'job_manager_enhanced_select_enabled' , 'mas_wpjmc_enhanced_select_enabled' ); |
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( 'mas_wpjmc_get_the_job_listing_company' ) ) { | |
| function mas_wpjmc_get_the_job_listing_company( $post = null ) { | |
| if( ! is_object( $post ) ) { | |
| $post = get_post( $post ); | |
| } | |
| if ( post_type_exists( 'company' ) || get_post_type( $post->ID ) == 'job_listings' ) { | |
| $company_id = get_post_meta( $post->ID, '_company_id', true ); | |
| if( ! empty( $company_id ) ) { | |
| $company = get_post( $company_id ); |
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( 'bw_child_site_header_icons_wc_cart_args' ) ) { | |
| function bw_child_site_header_icons_wc_cart_args( $links ) { | |
| if ( isset( $links['my_cart'] ) ) { | |
| $links['my_cart']['item_class'] = 'd-block'; | |
| } | |
| return $links; | |
| } | |
| } |