WordPress plugin intelligence profile

Simple Gutenberg Google Fonts

Simple Google Fonts adds the posibility to change default fonts to Google fonts from within the new WordPress v5.0 editor, codename Gutenberg.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 4.9
Current version1.0.2
WordPress coverageTested up to WordPress 4.9
Minimum stackWP 4.9.8 · PHP 5.4
Directory statusactive
Last directory update13 Oct 20188y ago
Active installations20Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Simple Gutenberg Google Fonts version 1.0.2 as active, updated 8y ago and tested up to WordPress 4.9.

Overview

About this plugin

0 editor, codename Gutenberg. You’ll need Gutenberg installed and activated in order to use this plugin.

What it does?

0 editor, codename Gutenberg. You’ll need Gutenberg installed and activated in order to use this plugin.

Things to know:

  • Read the After activation section for some info on how to use it.
  • Supported post types: posts and pages
  • You can set Google fonts for individual posts and pages or globally.
  • Globally means that the styles from a selected post will apply to the entire website. It will also apply the styles in the Editor, for new or old posts (that don’t have any styles applied to them).
  • The post needs to be published for you to be able to use its styles globally. If for some reason you change that post to draft mode and the global mode is enabled on it, the option will reset and you’ll need to enable it again after you publish the post.
  • It’s safe to say that if you don’t have an Internet connection, Google fonts will not display (unless you have them installed on your system).

To do list:

  • Add support for word-spacing for both body and headings
  • Auto add 700 and 700i weights if the font supports those variants.

GDPR Notice

By using this plugin (which requests data from Google Fonts servers) you consent that Google will retrieve your IP address and that it might send it to third parties. Also, it’s your responsability to notify and obtain consent from your website’s users (by updating your Privacy Policy and Terms and Conditions).

Please read Google’s Privacy Policy and if you agree with it, you can start using this plugin.

Theme developers

You can use the sgf_defaults filter to change the plugin defaults, example:

1 $check = function_exists( 'sgf_get_font_id' );

// Headings font family $hff =! $check? 0: sgf_get_font_id( 'Josefin Sans' );

// Body font family $bff =! $check? 0: sgf_get_font_id( 'Muli' );

// Headings $defaults[ 'headings' ][ 'ff' ] = $hff; // int | Font Family

8; // float | Line Height $defaults[ 'body' ][ 'ls' ] = 0; // float | Letter spacing $defaults[ 'body' ][ 'ws' ] = 0; // float | Word spacing

// Returns new defaults return $defaults; }, 15 );

For headings you can use the sgf_headings_defaults, example:

add_filter( 'sgf_headings_defaults', function( $defaults, $headings ) { // $headings = [ 'h1',... 'h6' ];

$defaults[ 'h1' ][ 'wt' ] = '400'; // string | H1 font weight, italic is added automatically. 8; // float | Line height $defaults[ 'h1' ][ 'ls' ] = 0; // float | Letter spacing $defaults[ 'h1' ][ 'ws' ] = 0; // float | Words spacing

// if a propriety is left out, it will use the plugin default. // you can use this for headings from h1 to h6

return $defaults; }, 10, 2 );

For text logos you can use the sgf_styles_frontend_txt_logo filter to make sure it always takes on the Headings font family, example:

logo-wrap'; }, 15 );

php file. If you want to support old PHP versions, replace the anonymous functions with normal functions.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • google fonts
  • gutenberg fonts
  • font
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 4.9

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 4.9.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to4.9
Minimum requirementsWordPress 4.9.8 · PHP 5.4
Update activity13 Oct 20188y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.