WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to add a Google Fonts dropdown to the Options Framework panel (http://wptheming.com/options-framework-theme/)

share|improve this question
Please search for it in the framework code and post the relevant parts... – brasofilo Jun 22 '12 at 18:13
You have to provide what you've already tried. The answer is currently flagged as "low quality" and suggested to be closed. – kaiser Aug 31 '12 at 0:59

Should be very easy since its has a hook right in place so something like,


function add_google_fonts_list($defaults){
    //add as many as you want
    $mine = array(
        'Ubuntu' => "'Ubuntu', sans-serif",
        'Lobster' => "'Lobster', cursive",
    return array_merge($mine,$defaults);

and when you render the css make sure to add the right import ex:

@import url(http://fonts.googleapis.com/css?family=Ubuntu);
share|improve this answer
You the man @bainternet, Thanks for sharing that. – Sagive SEO Dec 10 '13 at 6:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.