Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make an easy way to add more fonts via the editor #103

Closed
jonathangood opened this issue Oct 24, 2023 · 2 comments
Closed

Make an easy way to add more fonts via the editor #103

jonathangood opened this issue Oct 24, 2023 · 2 comments

Comments

@jonathangood
Copy link

Is your feature request related to a problem? Please describe.
I've been trying to figure out the easiest way to add custom fonts or any other ones to the theme - and haven't been successful yet.

Describe the solution you'd like
It would be great to be able to add a few other fonts (or font pairings) to the theme without having to do custom coding

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
As a consolation - if you could show an example of how to do it in the documentation that would be awesome too.

@mikemcalister
Copy link
Collaborator

Hey Jonathan!

Thanks for the feedback. We likely won't be adding any font features because a full-fledged font management system is coming to WordPress soon! It was actually slated for the next release in a few weeks, but got pushed back to 6.5 for further improvement.

Unfortunately, some of those popular Google font plugins don't work well with block themes. Because of GDPR privacy concerns, it's also not suggested to load fonts remotely like we used to. Instead, they want you to add them to your theme so the fonts can be loaded locally.

Because of that, adding fonts is a little more tricky these days! If you want to add fonts before that new interface comes, you'll probably want to use a child theme (which you can download here), and use the Create Block Theme plugin to help adding fonts to your theme. That plugin provides an interface for adding fonts to block themes.

The reason for the child theme is because it adds fonts directly to your theme. Without a child theme, those fonts would get wiped out every time you updated the Ollie theme. Hope that helps!

@jonathangood
Copy link
Author

jonathangood commented Oct 31, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants