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.
1.0.2
Release Date: October 13th, 2018
- Changed: Using
wp_remote_get()
instead of file_get_contents()
;
- Fixed:
Tabs
deprecated argument issue;
- Fixed:
theStyles()
defaults;
- Added: Filter for headings defaults;
- Added: Word spacing option;
1.0.1
Release Date: October 10th, 2018
- Updated readme.txt file - tags & a simple GDPR notice;
- Fixed: missing
break;
in inc/compatibility.php:L67
;
- Fixed: bug where Pages couldn't set globals;
- Added:
sgf_get_font_id()
function to get the font family id easier;
- Added: filter for
sgf_get_all_meta()
;
1.0.0
Release Date: October 5th, 2018