Clicky

AMP font

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.

Ask your Questions Directly!
If you can't find the solutions in this article, then just ask us in the comments and we will answer it for you!
Updated on May 7, 2020

Was this article helpful?

Related Articles

Need Support?
Can’t find the answer you’re looking for? Don’t worry we’re here to help!
Contact Support

Comments

    1. Hi vahidgoudini,

      Will you please elaborate more about your issue so that we will understand and help you.

Leave a Comment