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.
Step 1:
To add the component in your theme just add the following code to the functions.php of the theme files.
//Search amp_font('YOUR_FONT_URL');
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.
not working
Hi vahidgoudini,
Will you please elaborate more about your issue so that we will understand and help you.