slambert / wpfolio

A WordPress theme designed specifically for artist portfolios (archived)
http://wpfolio.visitsteve.com/wiki
30 stars 9 forks source link

Add Open Fonts as option #70

Open slambert opened 13 years ago

slambert commented 13 years ago

could use Google Fonts API or any other...

Especially for the header, then we can go from there.

Should be selectable from the theme options. Would be great to have a little preview, but that's bonus. A link to the available fonts would be fine too.

This code does exist out there. Here's a relevant links:

There's also plugins available that we could take code from.

laras126 commented 13 years ago

Got this working in the WPFolio Options panel. Started by hacking this plugin, but decided not to use a MySQL table for the fonts and to just use the WebFont Loader. But depending on how much we want to use/reuse the fonts, a table might be a good idea.

There's also an option for selecting a default font in case the Google one doesn't load - I don't think it works right now though.