google fonts

How to enqueue Google Fonts using functions.php

1. Go to Google Fonts 2. Choose the font family you want to add 3. Copy the highlighted part ex:,wght@0,400;0,700;1,400;1,700&display=swap 4. Paste this in your theme’s functions.php Replace these if you’re planning to use more Google Fonts in your website. 5. Use the CSS rule from Google Fonts in your CSS file

Get In Touch

Email: [email protected]


This helps us prevent spam, thank you.