开发者 |
basaar
yardensade hivewebstudios |
---|---|
更新时间 | 2017年5月29日 05:07 |
PHP版本: | 3.8 及以上 |
WordPress版本: | 4.7.5 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
There is an open bug since WordPress 4.7.1 (it is not plugin related) (https://core.trac.wordpress.org/ticket/39550) that blocks upload for some non-image files. This bug should have been fixed in version 4.7.3, but it was not fully solved yet. Until the issue is fixed, you may use this plugin: https://wordpress.org/plugins/disable-real-mime-check/ Installing this plugin work around the bug and until further notice there is nothing else to be done.
Browse to Google Developer API. Click on "GET A KEY". -> Select "Create a project". Give the project a name, any name that makes sense to you is ok, then press OK. Click on "Create credentials" > "API key". There you go, google generated a brand new API key for you. Copy the entire key and paste it on the designated place in the plugin settings. In order to enable the API key go to API Manager dashboard or use the link: https://console.developers.google.com/apis/dashboard. Press "ENABLE API", Then Choose "Web Fonts Developer API" under "Other popular APIs" section. This step is a must. Congrats, your API key is now enabled. you may use it inside the plugin to get the full current font list.
When selecting fonts in section 1, you will see a lot of different fonts, ticking this option will let you to actually see example of the font you are about to use. Due to the need of loading each font example from google, this option will slow down the performance of the plugin page.
We wanted to give you the option to decide which roles in your wordpress website are allowed to use the plugin, so you may or may not allow other users with access to the website the ability to use the plugin.
Sometimes some browsers save a cached version of the page when browsing it in orderto display the pages faster. If you can't see a new font you have assigned, make sure to "hard clean" the cache using Shift+F5 to clean the current page, or Ctrl+Shift+Delete to clean all. (Some websites might use cache plugin that must be refreshed before) Sometimes it is a matter of font format compatibility with different browsers. At the moment we are working on automatic font format conversion but until then you may use a service such as Font Squirrel or similar font conversion service online.
In some cases some elements are assigned with fonts in a very specific ways via other plugins or themes, and thus you will need to target those elements using CSS id or class, in section 4 of the plugin "Custom Elements Settings". If you have absolutley no knowledge of what is CSS, you might need help of a webmaster.
Each upload process at the moment is used for 1 font weight only. Uploading more then 1 font weight is done by doing the upload process several times, once for each font weight. When uploading the font weight you should write its name (only!) in the font name, then choose in the "Font Weight" select menu its weight. Example: Both "Arial Bold" or "Arial Italic" would get the "Font Name" of "Arial", so you could easily use them later in the plugin.