'', 'title' => '', 'des' => '', 'link' => '', 'des_style' => '', ),$attr)); if(!empty($icon)){ if(strpos($icon,'lnr') !== false) $icon_html = ''; else $icon_html = ''; } switch ($des_style) { case 'headding': $html .= '
'.$icon_html.'

'.balanceTags($des).'

'; break; case 'email': $html .= '
'.$icon_html.'
'.$des.'
'; break; default: $html .= '
'.$icon_html.'

'.$des.'

'; break; } return $html; } } stp_reg_shortcode('sv_contact_box','sv_vc_contact_box'); vc_map( array( "name" => esc_html__("SV Contact Box", 'bigc'), "base" => "sv_contact_box", "icon" => "icon-st", "category" => '7Up-theme', "params" => array( array( "type" => "textfield", "heading" => esc_html__("Icon",'bigc'), "param_name" => "icon", 'edit_field_class'=>'vc_col-sm-12 vc_column sv_iconpicker', ), array( "type" => "textfield", "holder" =>'div', "heading" => esc_html__("Title",'bigc'), "param_name" => "title", ), array( "type" => "textarea", "holder" =>'div', "heading" => esc_html__("Description",'bigc'), "param_name" => "des", ), array( "type" => "textfield", "heading" => esc_html__("Link contact",'bigc'), "param_name" => "link", ), array( "type" => "dropdown", "heading" => esc_html__("Description Style",'bigc'), "param_name" => "des_style", "value" => array( esc_html__("Normal",'bigc') => '', esc_html__("Headding",'bigc') => 'headding', esc_html__("Email link",'bigc') => 'email', ) ), ) ));