Tagged: 

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #8025

    In the font drop down there is just a limited amount of fonts to choose from. Is it possible to add the complete library of Google fonts? Or how can I add more fonts from Google Webfonts to this dropdown list?

    #60052

    any help?

    #60053

    Hey,

    you can add the font in propulsionincludesadminregister-admin-options.php – search for following code and add your font to the list:

    "subtype" => array(	'no custom font'=>'',

    'Alice'=>'Alice',
    'Allerta'=>'Allerta',
    'Arvo'=>'Arvo',
    'Antic'=>'Antic',

    'Bangers'=>'Bangers',
    'Bitter'=>'Bitter',

    'Cabin'=>'Cabin',
    'Cardo'=>'Cardo',
    'Carme'=>'Carme',
    'Coda'=>'Coda',
    'Coustard'=>'Coustard',
    'Gruppo'=>'Gruppo',

    'Damion'=>'Damion',
    'Dancing Script'=>'Dancing Script',
    'Droid Sans'=>'Droid Sans',
    'Droid Serif'=>'Droid Serif',

    'EB Garamond'=>'EB Garamond',

    'Fjord One'=>'Fjord One',

    'Inconsolata'=>'Inconsolata',

    'Josefin Sans' => 'Josefin Sans',
    'Josefin Slab'=>'Josefin Slab',

    'Kameron'=>'Kameron',
    'Kreon'=>'Kreon',

    'Lobster'=>'Lobster',
    'League Script'=>'League Script',

    'Mate SC'=>'Mate SC',
    'Mako'=>'Mako',
    'Merriweather'=>'Merriweather',
    'Metrophobic'=>'Metrophobic',
    'Molengo'=>'Molengo',
    'Muli'=>'Muli',

    'Nobile'=>'Nobile',
    'News Cycle'=>'News Cycle',

    'Open Sans'=>'Open Sans',
    'Orbitron'=>'Orbitron',
    'Oswald'=>'Oswald',

    'Pacifico'=>'Pacifico',
    'Poly'=>'Poly',
    'Podkova'=>'Podkova',

    'Quattrocento'=>'Quattrocento',
    'Questrial'=>'Questrial',
    'Quicksand'=>'Quicksand',

    'Raleway'=>'Raleway',

    'Salsa'=>'Salsa',
    'Sunshiney'=>'Sunshiney',
    'Signika Negative'=>'Signika Negative',

    'Tangerine'=>'Tangerine',
    'Terminal Dosis'=>'Terminal Dosis',
    'Tenor Sans'=>'Tenor Sans',

    'Varela Round'=>'Varela Round',

    'Yellowtail'=>'Yellowtail',

    ));

    Please note that only Google Fonts are supported.

    #60054

    Is there another step missing? I did this, but the fonts aren’t showing up in the list. I added:

    ‘Bree Serif’=>’Bree Serif’,

    ‘IM Fell Double Pica SC’=>’IM Fell Double Pica SC’,

    #60055

    Hey,

    have you refreshed your page/cleared your cache? It works fine for me, I added your piece of code alphabetically (merely for structure’s sake) and it appears in the list.

    #60056

    You’re right, it was a cache thing… I’ve cleared it, and all is working fine.

    Thanks, Chris!

    #60057

    Glad that we could help :)

    #60058

    Another question to this topic: how can I change google fonts to load latin-extended set?

    #60059

    Hi,

    I answered your post. I will post it again here.

    You can use a plugin like: http://wordpress.org/extend/plugins/wp-google-fonts/

    I haven’t tried this but Devin, one of the support member, suggested this plugin. I’m sure it’ll work.

    Regards,

    Ismael

    #60060

    The Google Fonts plugin only works for “All body” text — changes everything but headers. How can I change the header fonts, using WordPress’ user backend and without going into sub-sub-folders through an FTP server?

    #60061

    Hi,

    Please refer to Dude’s instruction above.

    Regards,

    Ismael

Viewing 11 posts - 1 through 11 (of 11 total)

The topic ‘How to add more Google Fonts?’ is closed to new replies.