…but I think it depend by theme not by plugin
Sorry for the late reply, I was busy at the time. What theme are you using? The dropcap shortcode is disabled on excerpt by default. I think the theme has something to do with it.
Thanks,
Mauris
Hi Mauris, I have developed my own theme, could you explain how this is disabled, which v-code tot add to my them?
I use add_filter to the the_excerpt
hook like so:
add_filter( 'the_excerpt', 'wpsdc_filter_excerpt' );
function wpsdc_filter_excerpt( $content )
{
$content = str_replace( '[dropcap]', '', $content );
$content = str_replace( '[/dropcap]', '', $content );
return $content;
}
Basically it removes the [dropcap] shortcode so it won’t be processed. I’ll try to add priority to add_filter function in the next patch to see if the problem still exists.
Cheers,
Mauris