Archived topic
Drop Caps?
6 replies · Started by James on September 6, 2015
Is it possible to add code that can enable drop caps in a post?
Hi James. You could use the Simple Drop Cap plugin. Or you could do with css as described in this article.
Perfect, I am using the plugin. Thanks!
You're welcome. Glad it works.
Better to just use CSS without shortcodes breaking up words in your content.
Are there any sensible, semantically valid dropcap plugins? Last I checked there were not, so I wrote my own. The key is just using CSS most of the time to target first letters in selected content sections.
@Dan Can you share your code here?
Sorry, no. It's a plugin I made for a client. I had plans to release it at wp.org, but I may not get to it before it becomes obsolete. (Assuming Gutenberg handles dropcaps and/or forces there to be major changes in how content plugins work.)