__("Section", "js_composer"), 'icon' => "", 'icon_color' => "", 'title_color' => "", 'background_color' => "", 'title_tag' => 'h5', 'el_id' => '', ), $atts)); $css_class = apply_filters(VC_SHORTCODE_CUSTOM_CSS_FILTER_TAG, 'wpb_accordion_section group', $this->settings['base']); $heading_styles = ''; if($title_color != "") { $heading_styles .= "color: ".$title_color.";"; } if($background_color != "") { $heading_styles .= " background-color: ".$background_color.";"; } if($title_tag == ""){ $title_tag = 'h5'; } $output .= "\n\t\t\t\t" . '<'.$title_tag.' class="clearfix title-holder" style="'.$heading_styles.'">'; $no_icon = ''; if($icon == "") { $no_icon = 'no_icon'; } if($icon != "") { $output .= ''; } $output .= ''.$title.''; $output .= ''; $output .= ''; $output .= "\n\t\t\t\t" . '
'; $output .= "\n\t\t\t" . '
'; $output .= ($content=='' || $content==' ') ? __("Empty section. Edit page to add content here.", "js_composer") : "\n\t\t\t\t" . wpb_js_remove_wpautop($content); $output .= "\n\t\t\t" . '
'; $output .= "\n\t\t\t\t" . '
' . $this->endBlockComment('.wpb_accordion_section') . "\n"; echo $output;