To do that, I use this trick to determine the URL for the script relative to the file:
There are a number of methods to load Google fonts in a WordPress theme, but some are more efficient than others. Google has a post about optimizing the use of the Font API. I thought I’d summarize this as it applies to WordPress themes.
Enqueue or @import?
One of the simplest ways to load Google fonts is to do a an @import from the stylesheet, but Google recommends to link directly from the head of the document instead.
Properly enqueing the font and loading it from the head will also make it easier for people using child themes to change the font without copying the entire parent stylesheet over. Continue reading →
The learning curve on Thematic is a bit steep if you’ve never used filters and hooks before. So here’s my growing list of Thematic filters for easy reference. Replace the title with a logo, add Google Analytics code, change the footer and more.