Advanced Dropcap Function?
-
Hi!
I found some fabulous dropcaps (in png or gif format) and I would like to use them on my blog.Is there a php function, or any WP function I could use to do something like this:
Pick the first letter in the first paragraph on the page and replace it with the appropriate gif..?
I.e.
**************************************************
CHOOSE CASE first_paragraph.first_letter
CASE “A”, Put dropcap “a.gif” over the letter text
CASE “B”, Put dropcap “b.gif” over the letter in the text.etc…
*********************************************
Or maybe there is a cleverer way of doing it?You can view how I currently have it on https://www.vikingprincess.net
I don’t think it comes out very well though!Any tips appreciated!
- The topic ‘Advanced Dropcap Function?’ is closed to new replies.