'' ), $atts)); $style = ''; if(!empty($color)) $style = "style='color:$color'"; return "" . do_shortcode($content) . ''; } add_shortcode('dropcap1', 'wpv_shortcode_dropcaps'); add_shortcode('dropcap2', 'wpv_shortcode_dropcaps'); /** * blockquotes wrapper */ function wpv_shortcode_blockquote($atts, $content = null, $code) { extract(shortcode_atts(array( 'align' => false, 'cite' => false, ), $atts)); $align = $align? "class='align$align'" : ''; $cite = $cite? "
$cite
" : ''; ob_start(); include WPV_SHORTCODE_TEMPLATES . 'blockquote.php'; return ob_get_clean(); } add_shortcode('blockquote', 'wpv_shortcode_blockquote'); /** * highlights some inline text */ function wpv_shortcode_highlight($atts, $content = null, $code) { extract(shortcode_atts(array( 'type' => false ), $atts)); return "".do_shortcode($content).''; } add_shortcode('highlight', 'wpv_shortcode_highlight'); /** *