"", "text_color" => "", "width" => "", "line_height" => "", "background_color" => "", "border_color" => "", "quote_icon_color" => "", "show_quote_icon" => "" ); extract(shortcode_atts($args, $atts)); //init variables $html = ""; $blockquote_styles = ""; $blockquote_classes = ""; $heading_styles = ""; $quote_icon_styles = ""; if($show_quote_icon == 'yes') { $blockquote_classes .= ' with_quote_icon'; } if($width != "") { $blockquote_styles .= "width: ".$width."%;"; } if($border_color != "") { $blockquote_styles .= "border-left-color: ".$border_color.";"; } if($background_color != "") { $blockquote_styles .= "background-color: ".$background_color.";"; } if($text_color != "") { $heading_styles .= "color: ".$text_color.";"; } if($line_height != "") { $heading_styles .= " line-height: ".$line_height."px;"; } if($quote_icon_color != "") { $quote_icon_styles .= "color: ".$quote_icon_color.";"; } $html .= "
"; //open blockquote if($show_quote_icon == 'yes') { $html .= ""; } $html .= ""; //close blockquote return $html; } add_shortcode('blockquote', 'blockquote'); }".$text."
"; $html .= "