[Support request] Adding all Google Fonts

Home Forums Support Adding all Google Fonts

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

    Hi Tom,
    perfect theme, perfect support! I read all the questions and comments about adding Google Fonts but I am not sure if my steps are correct – sorry, for this “adding Google Fonts” question again.. 🙂
    I would like to add font family „Terminal Dosis“ and I did the following steps:
    -I installed and activated the child-theme
    -I added your code to functions.php (child -theme)
    /** Showing all available Google Fonts */
    add_filter(… return ‘all’;}

    But I cannot find all available Google Fonts in the drop down GP list. What did I do wrong regarding child-theme & functions.php?
    I know it doesn’t upload any fonts, it simply adds them to the list in the Customizer, then makes the call to Google if they’re selected.

    I would appreciate a feedback. Many thanks in advance.

    GP Premium 1.4.3
    #402902
    Leo
    Staff
    Customer Support
    #403036
    Ben

    Hi Leo,

    thanks for quick feedback! Yes, I have already added your GP code “Showing all available Google Fonts” below
    to functions.php (child-theme). But I am still missing all google fonts (list in the Customizer) ?

    Many thanks!

    add_filter( ‘generate_number_of_fonts’,’tu_show_all_available_google_fonts’ );
    function tu_show_all_available_google_fonts() {
    return ‘all’;
    }

    #403140
    Leo
    Staff
    Customer Support

    Check out the Adding your Google Font to the list link I provided above.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.