Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #28197

    Hi there!

    Is it possible to add our own custom font to the theme? And if yes, how do we manage this?

    Thanks a lot :-)

    #136802

    Hey,

    You can add Google Fonts, just add this on your functions.php:

    add_filter( 'avf_google_heading_font',  'avia_add_heading_font');
    function avia_add_heading_font($fonts)
    {
    $fonts['Patrick Hand'] = 'Patrick Hand';
    return $fonts;
    }

    add_filter( 'avf_google_content_font', 'avia_add_content_font');
    function avia_add_content_font($fonts)
    {
    $fonts['Patrick Hand'] = 'Patrick Hand';
    return $fonts;
    }

    Replace the font name.

    You can also check this plugins:

    http://wordpress.org/plugins/font-uploader/

    http://wordpress.org/plugins/wp-google-fonts/

    Regards,

    Ismael

    #136803

    Thanks a lot! Can I only add Google fonts? Cause’ have our “own” font we would like to add.

    Regards

    Maike

    #136804

    Hey,

    If you have your own you can try this plugin: http://wordpress.org/plugins/font-uploader/

    Regards,

    Ismael

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add custom font’ is closed to new replies.