A dropcap shortcode http://cobaltapps.com/forum/forum/main-category/web-design-talk/15030-drop-caps-shortcode Shared by: hermie
/* Goes to Dynamik Custom - CSS */
.dropcaps {
font-size: 300%;
line-height: 0.8em;
margin-right: 0.1em;
padding-bottom: 0.1em;
text-transform: uppercase;
float: left;
position: relative;
top: 4px;
}
//* Dropcap shortcode - goes to Dynamik Custom - Functions
function dropcap_shortcode( $atts, $content = null ){
return '<span class="dropcaps">' .$content . '</span>';
}
add_shortcode( 'dropcap', 'dropcap_shortcode' );
//* Usage:
//* [dropcap]T[/dropcap]his is a test