Server IP : 192.64.112.168 / Your IP : 3.16.47.126 Web Server : Apache System : Linux nc-ph-2300-85.bluforrest.com 4.18.0-513.9.1.el8_9.x86_64 #1 SMP Sat Dec 2 05:23:44 EST 2023 x86_64 User : expressoneac ( 1128) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /home/expressoneac/www/wp-content/themes/woodmart/header-elements/ |
Upload File : |
<?php woodmart_enqueue_inline_style( 'header-elements-base' ); $params['source'] = 'header'; if ( isset( $id ) ) { $params['wrapper_classes'] = ' whb-' . $id; } foreach ( array( 'image', 'bg_image_box', 'bg_hover_image' ) as $key ) { if ( isset( $params[ $key ]['id'] ) ) { $params[ $key ] = $params[ $key ]['id']; } } if ( ! empty( $params['link']['url'] ) ) { $link_attrs = 'url:' . rawurlencode( $params['link']['url'] ); if ( ! empty( $params['link']['blank'] ) ) { $link_attrs .= '|target:_blank'; } $params['link'] = $link_attrs; } // Remove value for control with css generators. $params['bg_hover_color'] = ''; $params['icon_text_color'] = ''; $params['icon_bg_color'] = ''; $params['icon_bg_hover_color'] = ''; $params['icon_border_color'] = ''; $params['icon_border_hover_color'] = ''; $params['icon_text_color'] = ''; $params['subtitle_font_weight'] = ''; $params['subtitle_custom_bg_color'] = ''; $params['subtitle_custom_color'] = ''; $params['title_color'] = ''; $params['title_font_weight'] = ''; $params['custom_text_color'] = ''; echo woodmart_shortcode_info_box( $params, $params['content'] );