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_child_icon_control_custom_icons' ) ) { | |
| function front_child_icon_control_custom_icons() { | |
| $icons_url = get_stylesheet_directory_uri() . '/assets/icons/'; | |
| $custom_script = ' | |
| var addFilter = wp.hooks.addFilter; | |
| addFilter("frontgb.component.icon.control.fgb.icons", "front-child/icon-control-custom-icons", frontChildIconControlCustomIcons); | |
| function frontChildIconControlCustomIcons(iconsObj) { | |
| iconsObj[ \'fgbCustomIcon1\' ] = { | |
| prefix: \'fgb\', |
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(document).ready(function($){ | |
| if (jQuery(window).width() >= 1025){ | |
| $('li.dropdown-submenu > a').on('click', function() { | |
| var addressValue = $(this).attr("href"); | |
| location.href=addressValue; | |
| }); | |
| }; | |
| }); |
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
| function el_display_brand_thumbnail_in_archive() { | |
| $brand_taxonomy = electro_get_brands_taxonomy(); | |
| if ( ! is_tax( $brand_taxonomy ) ) { | |
| return; | |
| } | |
| if ( ! get_query_var( 'term' ) ) { | |
| return; | |
| } |
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
| function techmarket_header_v9_search() { | |
| add_filter( 'techmarket_enable_search_categories_filter', '__return_false' ); | |
| echo '<div class="custom-header-search-bar">'; | |
| techmarket_navbar_search(); | |
| echo '</div>'; | |
| } | |
| add_action( 'techmarket_header_v9', 'techmarket_header_v9_search', 30 ); |
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
| .commentlist li .comment_container>img, .pings-list li .comment_container>img { | |
| display: block; | |
| width: 50px; | |
| } |
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
| function tm_child_header_v1_top_bar_location( $top_bar_location ) { | |
| return ''; | |
| } | |
| add_filter( 'techmarket_header_top_bar_location', 'tm_child_header_v1_top_bar_location' ); |
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 ( class_exists( 'YITH_WAPO' ) ) { | |
| function pz_child_yith_pa_comp_fix() { | |
| wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full.min.js', array( 'jquery' ) ); | |
| wp_enqueue_script( 'select2' ); | |
| wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full.min.js', array( 'jquery' ) ); | |
| wp_enqueue_script( 'selectWoo' ); | |
| wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select.min.js', array( 'jquery', 'selectWoo' ) ); |
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 ( class_exists( 'YITH_WAPO' ) ) { | |
| function pz_child_yith_pa_comp_fix() { | |
| wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full.min.js', array( 'jquery' ) ); | |
| wp_enqueue_script( 'select2' ); | |
| wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full.min.js', array( 'jquery' ) ); | |
| wp_enqueue_script( 'selectWoo' ); | |
| wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select.min.js', array( 'jquery', 'selectWoo' ) ); |
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
| .site-header .desktop-only .row:first-child, | |
| .site-header .desktop-only .techmarket-sticky-wrap .row{ | |
| align-items: center; | |
| } |
NewerOlder