wordpress 我在哪里可以找到我的 Google 字体 API 密钥?(新手)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/19412940/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where do I find my Google Font API Key? (Newbie)
提问by user2887933
I am working on a Wordpress site.
Woothemes framework, Canvas theme from Woothemes.
Have installed the plugin Google Webfonts for Woo Framework.
So far - so good.
Now I need a Google Font API key.
So I have a registered developer account, and a Google Font project up and running via GoogleCloud Console. I have activated the Google Font API in the API list.
But I can't find my Google Font API Key!
I've followed the instructions as given here: https://developers.google.com/fonts/docs/developer_api
It says:
"To acquire an API key, visit the APIs Console. In the Services pane, activate the Google Fonts Developer API; if the Terms of Service appear, read and accept them. (Edit: Done this!)
Next, go to the API Access pane. The API key is near the bottom of that pane, in the section titled "Simple API Access."(Can't find this at all!)
Any ideas?
Sorry if this is a terribly simple question!
Kind regards
Annelie
我在一个 Wordpress 网站上工作。
Woothemes 框架,Woothemes 的 Canvas 主题。
已安装插件 Google Webfonts for Woo Framework。
到现在为止还挺好。
现在我需要一个 Google Font API 密钥。
所以我有一个注册的开发者帐户,以及一个通过 GoogleCloud Console 启动和运行的 Google 字体项目。我已经在 API 列表中激活了 Google Font API。
但是我找不到我的 Google 字体 API 密钥!
我已按照此处给出的说明进行操作:https: //developers.google.com/fonts/docs/developer_api
它说:
“要获取 API 密钥,请访问 API 控制台。在服务窗格中,激活 Google 字体开发人员API;如果出现服务条款,请阅读并接受它们。(编辑:完成此操作!)
接下来,转到 API 访问窗格。API 密钥靠近该窗格的底部,在标题为“简单 API 访问”的部分中。(根本找不到!)有
任何想法吗?
对不起,如果这是一个非常简单的问题!
亲切的问候
安妮莉
回答by allcaps
Maybe the help page is a bit behind and refers to the 'old' console.
也许帮助页面有点落后,指的是“旧”控制台。
Old: https://code.google.com/apis/console/b/0/?noredirect
New: https://cloud.google.com/console?redirected=true
旧:https
: //code.google.com/apis/console/b/0/? noredirect新:https: //cloud.google.com/console?redirected=true
回答by Jason
I wrote the Google Webfonts for Woo Frameworkplugin, found at http://wordpress.org/plugins/google-fonts-for-woo-framework/
我为 Woo Framework插件编写了Google Webfonts,可在http://wordpress.org/plugins/google-fonts-for-woo-framework/找到
For the last few versions, you do not need to use a Google API key to be up and running. The WordPress plugin contains a fallback list of all available Google webfonts, and I try to keep that list up-to-date as Google releases additional fonts.
对于最后几个版本,您无需使用 Google API 密钥即可启动和运行。WordPress 插件包含所有可用的 Google 网络字体的后备列表,当 Google 发布其他字体时,我会尽量使该列表保持最新。
So, unless there is a really new font you want to use, just run the plugin without an API key and it should provide all the Google Webfonts you want.
因此,除非您想使用真正的新字体,否则只需在没有 API 密钥的情况下运行插件,它就会提供您想要的所有 Google Webfonts。