Simple Gutenberg Google Fonts

Simple Gutenberg Google Fonts

Wordpress plugin

Install on Wordpress

App Details

Simple Google Fonts adds the posibility to change default fonts to Google fonts from within the new WordPress v5.0 editor, codename Gutenberg. You’ll need Gutenberg installed and activated in order to use this plugin.

What it does?

Simple Google Fonts adds the posibility to change default fonts to Google fonts from within the new WordPress v5.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:

add_filter( 'sgf_defaults', function( $defaults ) { // since v1.0.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 // Body $defaults[ 'body' ][ 'ff' ] = $bff; // int | Font Family $defaults[ 'body' ][ 'wt' ] = '400'; // string | Font Weight $defaults[ 'body' ][ 'lh' ] = 1.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. $defaults[ 'h1' ][ 'tt' ] = 'none'; // string | H1 text transform $defaults[ 'h1' ][ 'lh' ] = 1.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:

add_filter( 'sgf_styles_frontend_txt_logo', function() { return '.logo-wrap'; }, 15 ); 

You can add these in your functions.php file. If you want to support old PHP versions, replace the anonymous functions with normal functions.

Pricing

Starting from $0 per month.

Check Out the Poll Widget

By Common Ninja

PollTry For Free!

App Info

Rating

Reviewers

No reviews

Tags

font
fonts
google fonts
gutenberg

Developed By

acosmin

Quick & Easy

Find the Best Wordpress plugins for you

Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!

Testimonial

Testimonial plugins for Wordpress

Galleries

Galleries plugins for Wordpress

SEO

SEO plugins for Wordpress

Contact Form

Contact Form plugins for Wordpress

Forms

Forms plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Sliders

Sliders plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Comments

Comments plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Maps

Maps plugins for Wordpress

Security

Security plugins for Wordpress

Translation

Translation plugins for Wordpress

Ads

Ads plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Music Player

Music Player plugins for Wordpress

Backup

Backup plugins for Wordpress

Privacy

Privacy plugins for Wordpress

Optimize

Optimize plugins for Wordpress

Chat

Chat plugins for Wordpress

Countdown

Countdown plugins for Wordpress

Email Marketing

Email Marketing plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Membership

Membership plugins for Wordpress

popup

popup plugins for Wordpress

SiteMap

SiteMap plugins for Wordpress

Payment

Payment plugins for Wordpress

Coming Soon

Coming Soon plugins for Wordpress

Ecommerce

Ecommerce plugins for Wordpress

Customer Support

Customer Support plugins for Wordpress

Inventory

Inventory plugins for Wordpress

Video Player

Video Player plugins for Wordpress

Testimonials

Testimonials plugins for Wordpress

Tabs

Tabs plugins for Wordpress

Social Sharing

Social Sharing plugins for Wordpress

Social Feeds

Social Feeds plugins for Wordpress

Slider

Slider plugins for Wordpress

Reviews

Reviews plugins for Wordpress

Portfolio

Portfolio plugins for Wordpress

Membership

Membership plugins for Wordpress

Forms

Forms plugins for Wordpress

Events Calendar

Events Calendar plugins for Wordpress

Contact

Contact plugins for Wordpress

Comments

Comments plugins for Wordpress

Analytics

Analytics plugins for Wordpress

Common Ninja Apps

Some of the best Common Ninja plugins for Wordpress

Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.

Poll for Wordpress logo

Poll

Create interactive polls with a poll widget that gathers real time feedback, boosts engagement, and helps you understand visitor opinions quickly and clearly.

Comments for Wordpress logo

Comments

Add a comments system with replies, voting, and moderation to boost engagement and build an active community on your site.

TikTok Carousel for Wordpress logo

TikTok Carousel

Show TikTok videos with a TikTok carousel that arranges clips in a smooth, customizable layout to boost engagement and keep visitors watching.

Count-Up Clock for Wordpress logo

Count-Up Clock

Track time since important events with a count up clock that displays elapsed days and hours and keeps visitors engaged.

Feedback Form for Wordpress logo

Feedback Form

Collect user insights with a feedback form that gathers valuable input, improves user experience, and helps you understand visitor needs more clearly.

TikTok Slider for Wordpress logo

TikTok Slider

Show TikTok videos with a TikTok slider that displays clips in an engaging, customizable slideshow to boost visibility and keep visitors watching.

Twitch Feed for Wordpress logo

Twitch Feed

Show live streams and clips with a Twitch feed that keeps content fresh, boosts engagement, and helps visitors follow your channel more easily.

Glossary for Wordpress logo

Glossary

Create an interactive glossary that displays clear definitions, images, and search options to help visitors learn terms quickly and navigate complex topics with ease.

Nudge Button for Wordpress logo

Nudge Button

Nudge button with a subtle shaking animation that draws attention to important calls to action, increases interaction, and helps boost conversions.

Interactive Video Player for Wordpress logo

Interactive Video Player

Add interactive video overlays with links, product cards, and buttons that appear on top of your videos to boost engagement and guide user actions.

Image Poll for Wordpress logo

Image Poll

Create interactive image polls that use compelling visuals to boost engagement, gather feedback, and help visitors vote easily.

Marketing Button for Wordpress logo

Marketing Button

Marketing button with text and an icon that highlights key offers, draws attention to promotions, and helps increase engagement and conversions.

Discover Apps By Platform

Discover the best apps for your website

WordPress
Wix
Shopify
Weebly
Webflow
Joomla
PrestaShop
Shift4Shop
WebsiteX5
MODX
Opencart
NopCommerce

Common Ninja Search Engine

The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!

Multiple platforms