[wordpress插件] Better Font Awesome更好的字体真棒

wordpress 插件 文章 2020-03-03 20:40 520 0 全屏看文

AI助手支持GPT4.0

评分
96
描述

Do you find this plugin helpful?

您认为此插件有用吗?

Please consider leaving a 5-star review.

请考虑留下5星级评价

Better Font Awesome allows you to automatically integrate the latest available version of Font Awesome into your WordPress project, along with accompanying

更好的Awesome字体使您可以将字体Awesome 的最新可用版本自动集成到WordPress项目中,并附带

CSS, shortcodes, and TinyMCE icon shortcode generator.

CSS,简码和TinyMCE图标简码生成器。

Features

功能

    • Always up-to-date – automatically fetches the most recent available version of Font Awesome, meaning you no longer need to manually update the version included in your theme/plugin.

      始终最新 –自动获取Font Awesome的最新版本,这意味着您不再需要手动更新主题/插件中包含的版本。

    • Backwards compatible – shortcode output is automatically updated depending on which version of Font Awesome you choose, meaning that you can switch versions without having to modify your shortcodes.

      向后兼容 –简码输出会根据您选择的Font Awesome版本自动更新,这意味着您可以切换版本而不必修改简码。

    • Compatible with other plugins – designed to work with shortcodes generated with plugins like Font Awesome Icons, Font Awesome More Icons

      “> Font Awesome Icons Font Awesome More Icons

      >, and Font Awesome Shortcodes, so you can switch to Better Font Awesome and your existing shortcodes will still work.

      >和字体真棒短代码,因此您可以切换到“更好的字体真棒”,并且现有的简码仍然可以使用。

    • CDN speeds – Font Awesome CSS is pulled from the super-fast and reliable

      CDN速度 – Font Awesome CSS从超快和可靠的

      jsDelivr CDN.

      jsDelivr CDN 。

    • Shortcode generator – includes an easy-to-use TinyMCE dropdown shortcode generator.

      简码生成器 –包括易于使用的TinyMCE下拉简码生成器。

    Settings

    设置

    All settings can be adjusted via Settings → Better Font Awesome.

    可以通过设置→更好的字体真棒来调整所有设置。

    Usage

    用法

    Better Font Awesome can be used in 3 different ways: shortcode, HTML, and TinyMCE

    更好的Font Awesome可以三种不同的方式使用:简码,HTML和TinyMCE

    1.

    1。

    Shortcode

    简码

    [icon name="flag" class="2x spin border" unprefixed_class="my-custom-class"]

      [icon name =“ flag” class =“ 2x旋转边框” unprefixed_class =“ my-custom-class”]

    Note that prefixes (fa- and icon-) are not required, but if you do include them things will still work just fine!

    请注意,前缀( fa- icon-)不是必需的,但是如果您包含它们,那么它们仍然可以正常工作!

    Better Font Awesome is smart enough to know what version of Font Awesome you’re using and correct of the appropriate prefix.

    更好的Font Awesome足够聪明,可以知道您使用的是哪个版本的Font Awesome并更正相应的前缀。

    That means that all of the following shortcodes will work, regardless of what version of Font Awesome you choose:
        

    这意味着无论您选择哪个版本的Font Awesome,以下所有短代码都将起作用:
        

    [icon name=”flag” class=”2x spin border”]
        

    [icon name =“ flag” class =“ 2x旋转边框”]
        

    [icon name=”icon-flag” class=”icon-2x icon-spin icon-border”]
        

    [icon name =“ icon-flag” class =“ icon-2x icon-spin icon-border”]
        

    [icon name=”fa-flag” class=”fa-2x fa-spin fa-border”]
        

    [icon name =“ fa-flag” class =“ fa-2x fa-spin fa-border”]
        

    [icon name=”icon-flag” class=”fa-2x spin icon-border”]

    [icon name =“ icon-flag” class =“ fa-2x spin icon-border”]

    You can read more about shortcode usage on Github

    您可以在 Github

    >

    >

    2.

    2。

    TinyMCE

    TinyMCE

    Better Font Awesome also provides you with an easy-to-use drop down menu when editing in TinyMCE’s visual mode.

    更好的Font Awesome还可以在TinyMCE的可视模式下进行编辑时为您提供易于使用的下拉菜单。

    Check out our Screenshots to see what it looks like.

    查看我们的屏幕截图,以查看其外观。

    3.

    3。

    HTML

    HTML

    Note that prefixes are required for HTML usage, and are version-specific.

    请注意,前缀是HTML使用所必需的,并且是特定于版本的。

    For this reason, shortcode usage is encouraged over HTML.

    因此,建议在HTML上使用简码。

    If you do want to use HTML, however, you can read more on the Font Awesome site

    但是,如果您确实想使用HTML,则可以在 Font Awesome网站上阅读更多内容

    >.

    >。

    Advanced / Integration

    高级/集成

    Better Font Awesome is built around the Better Font Awesome Library.

    Better Font Awesome围绕 Better Font Awesome库构建。

    This library allows you to integrate Better Font Awesome into any custom project you want to create (perhaps a theme or plugin with a constantly up-to-date icon list), and includes all the filters you might need.

    com / MickeyKay / better-font-awesome-library#filters“ rel =” nofollow“>您可能需要的过滤器。

    Languages / Translations

    语言/翻译

安装步骤

This section describes how to install the plugin and get it working.

本节介绍如何安装插件并使其正常工作。

    1. Upload Better Font Awesome to the /wp-content/plugins/ directory.
    2. 将更好的真棒字体上传到/ wp-content / plugins /目录。

    3. Activate the plugin through the ‘Plugins’ menu in WordPress.
    4. 通过WordPress中的“插件”菜单激活插件。

    5. That’s it!

    6. 就是这样!

      Now you can use 3 different methods (shortcode, HTML, TinyMCE) to insert Font Awesome icons, all outlined in the

      现在,您可以使用3种不同的方法(简码,HTML,TinyMCE)插入“真棒字体”图标,所有图标均在

      >Description section.

    7. >说明部分。

下载地址
https://downloads.wordpress.org/plugin/better-font-awesome.1.7.1.zip
-EOF-

AI助手支持GPT4.0