fonts – XTRA Tutorials https://xtratheme.com/docs Documentation of XTRA WordPress Theme Wed, 30 Jul 2025 06:30:39 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.2 Upload Your Custom Fonts Directly From the Theme Options https://xtratheme.com/docs/theme-options/upload-your-custom-fonts-directly-from-the-theme-options/ https://xtratheme.com/docs/theme-options/upload-your-custom-fonts-directly-from-the-theme-options/#respond Mon, 28 Jul 2025 11:20:31 +0000 https://xtratheme.com/docs/?p=4676

Using the Custom Font Uploader in Theme

Step 1
XTRA

You now have the freedom to fully personalize your site’s typography using the built-in Custom Font Uploader.

You can access the new settings at:

Theme Options > Typography


Here, you’ll find the Font Uploader section where you can easily upload .woff, .ttf, or .otf files and assign them to different elements across your site—headers, body text, buttons, and more.

This feature is perfect for:

  • Maintaining brand identity with unique typefaces
  • Enhancing multilingual sites with niche fonts
  • Creating standout visual styles for creative projects
Typo
]]>
https://xtratheme.com/docs/theme-options/upload-your-custom-fonts-directly-from-the-theme-options/feed/ 0
Google Fonts and GDPR Compliance https://xtratheme.com/docs/how-to/google-fonts-and-gdpr-compliance/ https://xtratheme.com/docs/how-to/google-fonts-and-gdpr-compliance/#respond Fri, 14 Jun 2024 05:51:45 +0000 https://xtratheme.com/docs/?p=2526

Description and Steps

Step 1
XTRA

How to fix google fonts GDPR?

Tips

You may want to know …

  • Other solution – Also there are a lot of free and premium plugins for this purpose. You can go to https://wordpress.org and search in plugins directory.
]]>
https://xtratheme.com/docs/how-to/google-fonts-and-gdpr-compliance/feed/ 0
codevz/disable/google_fonts https://xtratheme.com/docs/developer/codevz-disable-google_fonts/ https://xtratheme.com/docs/developer/codevz-disable-google_fonts/#respond Wed, 12 Jun 2024 11:45:18 +0000 https://xtratheme.com/docs/?p=2840

Example code

Step 1
XTRA

How to disable google fonts on website?

In the following example you can see how to disable loading of google fonts on your website with a simple filter.

XTRA

How and where should I add this PHP codes?

Best solution is to add custom actions and filters in Child Theme functions.php file. But also you can create your own plugin and use this codes in your plugin.

]]>
https://xtratheme.com/docs/developer/codevz-disable-google_fonts/feed/ 0