This article is for AMP Theme Framework users.
About this Component
Font Component is used to load the custom fonts or Google Fonts in your AMP theme.
How to use:
Following are the steps to use this component.
To add the component in your theme just add the following code to the functions.php of the theme files.
This was the back-end functionality part so whenever we need to add external fonts just call function with URL, to make it appear in the front-end.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.