Using my own fonts in WordPress
-
Hello community,
I have done a search on WordPress.org but I am as confused as ever, even after trying to use the AnyFont plugin.
I want to use my own fonts in WordPress. What I would really like is just to be able to select a TTTF or OTF on my hard drive, make it part of my site and accessible from my visual page builder (currently visual composer) or wysiwig text editor.
But that’s not possible. So I started looking at WOFF and WOFF2, in the understanding that I needed those formats. So I converted one of my fonts to WOFF and WOFF2, and get the CSS that contains the font family name and the SRC URL params which I know I need to edit. But when I tried to use AnyFont (I think I tried another plugin too) to set the the font, it seemed geared mostly to online font libraries or and the self-hosted route failed in that it would not generate a path. Which means I don’t know how to edit the URLs.
So, first of all, where do I upload the font files? Can I use the media folder in WP or do I need to upload them to a specific location on the site by FTP?
Then, once the font is uploaded to the right place, what is the easiest way to “enable” or “activate” that font in WP? By easiest, read using some kind of a plugin, because is have no clue how to start editing themes/CSS. That’s why I tried AnyFont, but I found it really confusing (in its layout and lack of interactive assistance). Is there not a decent plugin, free or paid, that can take me from the fonts on my hard drive (before or after their conversion to WOFF) to easy access and use in whatever front-end tool I use?
I would really value your suggestions.
Kind regards
Chris
The topic ‘Using my own fonts in WordPress’ is closed to new replies.