Closed emiluzelac closed 9 years ago
Also, make sure to either use https:
or leave off the http:
or https:
off entirely.
Thanks. I managed to add it the Google fonts to the frontend, but not to the editor, event though I followed the method from the article you linked to. What could the problem be?
Awesome! For the editor, please see: https://github.com/WordPress/WordPress/blob/master/wp-content/themes/twentyfourteen/functions.php#L71
../header.php
We want to avoid hardcoding styles:
and
wp_enqueue_style
them from functions file instead.Here's an example how to add Google fonts and also one for inline styles.