'', 'title' => '', 'des' => '', 'link' => '', 'icon_pos' => 'box-left', 'icon_bg' => 'sv-green', ),$attr)); if(!empty($icon)){ if(strpos($icon,'lnr') !== false) $icon_html = ''; else $icon_html = ''; } $html .= '
'; if($icon_pos == 'box-right'){ $html .= ''; } $html .= '

'.$title.'

'.$des.'

'; if($icon_pos == 'box-left'){ $html .= ''; } $html .= '
'; return $html; } } stp_reg_shortcode('sv_service','sv_vc_service'); vc_map( array( "name" => esc_html__("SV Service", 'bigc'), "base" => "sv_service", "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 detail",'bigc'), "param_name" => "link", ), array( "type" => "dropdown", "heading" => esc_html__("Icon Background",'bigc'), "param_name" => "icon_bg", "value" => array( esc_html__( 'Green', 'bigc' ) => 'sv-green', esc_html__( 'Blue', 'bigc' ) => 'sv-blue', esc_html__( 'Yellow', 'bigc' ) => 'sv-yellow', esc_html__( 'Orange', 'bigc' ) => 'sv-orange', esc_html__( 'Red', 'bigc' ) => 'sv-red', esc_html__( 'Pink', 'bigc' ) => 'sv-pink', ), ), array( "type" => "dropdown", "heading" => esc_html__("Description",'bigc'), "param_name" => "icon_pos", "value" => array( esc_html__( 'Right', 'bigc' ) => 'box-left', esc_html__( 'Left', 'bigc' ) => 'box-right', ), ) ) ));