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( 'masvideos_single_movie_summary', 'vodi_template_single_movie_ads', 61 ); | |
| function vodi_template_single_movie_ads() { | |
| $style = vodi_get_single_movie_style(); | |
| if ( 'v2' === $style ) { | |
| ?><div class="single-movie ads"><img src="https://placehold.it/340x340" alt="Ads" /></div><?php | |
| } | |
| } | |
| add_action( 'masvideos_after_tv_shows_loop', 'vodi_template_tv_shows_ads', 21 ); | |
| function vodi_template_tv_shows_ads() { |
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( 'uneno_order_confirmation_note_args', 'un_child_order_cod_confirmation_message' ); | |
| function un_child_order_cod_confirmation_message( $args ) { | |
| $payment_method = WC()->session->chosen_payment_method; | |
| if( $payment_method == 'cod') { | |
| $args['title'] = esc_html__( 'Your order is Confirmed', 'uneno' ); | |
| $args['sub-title'] = esc_html__( 'Please Keep Your Cash ready we will collect the cash at the time of delivery', 'uneno' ); | |
| } | |
| return $args; | |
| } |
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( 'woocommerce_single_product_summary', 'electro_template_loop_product_sku', 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_departments_menu_v2' ) ) { | |
| /** | |
| * @since 2.0 | |
| */ | |
| function electro_departments_menu_v2() { | |
| $calling_action = current_filter(); | |
| if ( 'electro_navbar_v2' === $calling_action ) { | |
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_header_mobile_number' ) ) { | |
| function electro_header_mobile_number() { | |
| $header_mobile_number = apply_filters( 'electro_header_mobile_number', 'Your mobile number' ); | |
| ?><div class="header-icon"> | |
| <p class="header_mobile_number"><?php echo wp_kses_post( $header_mobile_number ); ?></p> | |
| </div><?php | |
| } | |
| } | |
| add_action( 'electro_header_icons', 'electro_header_mobile_number', 65 ); |
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( 'woocommerce_single_product_summary', 'electro_template_loop_product_sku', 20 ); |
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
| .footer-bottom-widgets, | |
| .handheld-footer, | |
| .copyright-bar { | |
| background-color: #000 !important; | |
| } | |
| .handheld-footer .handheld-footer-bar { | |
| background-color: transparent !important; | |
| } |
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, | |
| .top-bar { | |
| background-color: #000 !important; | |
| } | |
| .site-header .header-icon>a, | |
| .site-header .header-icon>a i, | |
| .top-bar .nav-inline .menu-item>a, | |
| .secondary-nav>.menu-item a, | |
| .secondary-nav>.menu-item a:focus, |
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( 'electro_set_social_networks', 'ec_child_add_icon', 90 ); | |
| function ec_child_add_icon( $args ) { | |
| $args['gmail'] = array( | |
| 'label' => 'gmail', | |
| 'icon' => 'far fa-envelope', | |
| 'id' => 'gmail_link', | |
| 'link' => 'https://accounts.google.com/' | |
| ); |