Now that Google has released a Font API (http://code.google.com/webfonts) any advice about using it in conjunction with WordPress? Into which file should I insert their code? Any other suggestions/advice?
Thanks!!
Now that Google has released a Font API (http://code.google.com/webfonts) any advice about using it in conjunction with WordPress? Into which file should I insert their code? Any other suggestions/advice?
Thanks!!
The fonts have to be defined in the HTML HEAD section, so in most themes that will be header.php
You copy the embed link to the style sheet (the top box you see in the following example: http://code.google.com/webfonts/family?family=Cantarell#code) into your active theme's header.php file. Make sure that you embed it BETWEEN the <head> </head> tags.
The second box you see in the above example link... is something you would place in your active theme's style.css file. At this point you need to understand some CSS in order to specify where you want the font to be used.
Or you can hold off a few more hours and I should be done with a plugin that does all this automatically for you. :)
You guys are lovely. Thank you so much.
...a plugin? :D I'll look forward to it!
This topic has been closed to new replies.