redux-framework icon indicating copy to clipboard operation
redux-framework copied to clipboard

Google fonts API question

Open Goldenworks opened this issue 13 years ago • 3 comments

To import google fonts in the framework I need to add my api key inside the config file.

However since I am developing a theme the end user client will need to create his / her own api key and insert it in the config file. Is there a way to do this without editing the config file ? I would be nice to able to configure the final theme product without the need of editing a theme file.

Ideally I would want to have a text input field in the panel options where the client will insert his api key, save the options and that's it.

Is there a way to do this or will you add such an option in a future update ?

Goldenworks avatar Nov 06 '13 12:11 Goldenworks

I've made it easier than that. If you set your own key, all your users will be fine. The key is simply backup if for some reason the googlefonts.html and googlefonts.json are not present in the theme.

So your single key is all that's needed, as I've cached the results.

dovy avatar Nov 06 '13 14:11 dovy

Good to know, that's great thanks! Awesome framework!

Goldenworks avatar Nov 06 '13 15:11 Goldenworks

Hey, post a review on http://wordpress.org/plugins/redux-framework/ if you would. Trying to spread the word. ;)

dovy avatar Nov 06 '13 16:11 dovy