"fa-codepen", "color" => "", "opacity" => "", ); extract(shortcode_atts($args, $atts)); $separator_style = ""; if($color != "" || $opacity != '') { $separator_style .= "style='"; if($color != "") { $separator_style .= "color:" . $color . ";"; } if($opacity != "") { $separator_style .= "opacity:" . $opacity . ";"; } $separator_style .= "'"; } $html = ''; return $html; } add_shortcode('separator_with_icon', 'separator_with_icon'); }