• Resolved jontprice

    (@jontprice)


    Hi, can you explain what this means from your changelog? I’d like to avoid loading additional inline fonts and calls for them – so this caught my eye in the source surrounding the widget on my site:

    Two new filters available to remove to the Google font Open Sans. (awesome_weather_use_google_font AND awesome_weather_google_font_queue_name)

    are these wordpress enque statements we’re supposed to add to functions.php or your plugin’s functions?

    https://wordpress.org/plugins/awesome-weather/

Viewing 1 replies (of 1 total)
  • Thread Starter jontprice

    (@jontprice)

    btw – I foundyour page listing the various filters available for the plug-in, so you can disregard this.

    For anyone unclear on the directions, to set the plugin to not call the font, you just go to your functions.php and add the below filter to the bottom of the file:

    `
    function hg_awesome_weather_use_google_font()
    {
    return false;
    }
    add_filter(‘awesome_weather_use_google_font’, ‘hg_awesome_weather_use_google_font’);

Viewing 1 replies (of 1 total)

The topic ‘Google font filter use?’ is closed to new replies.