AMP font

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.

Step 1:
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.

Updated on September 16, 2017

Was this article helpful?

Related Articles

Add A Comment