该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Font Awesome Field

描述

Add a Font Awesome icon to your post with this awesome standalone custom metabox.

Font Awesome gives you scalable vector icons that can instantly be customized — size, color, drop shadow, and anything that can be done with the power of CSS.

For developers it is easy to use the field in your theme. With the template functions the_fa() for echoing and get_ga() for returning the icon within the WordPress loop.

A handy Font Awesome shortcode is also included. Add an icon to your post by inserting [fa icon="fa-gear"], where the attribute is the name of the Font Awesome icon. You can also insert the current post icon by using the shortcode [fa].

安装

  1. Upload font-awesome-field to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Select a field from the Font Awesome Field in your edit posts screen.
  4. Place <?php the_fa(); ?> inside the WordPress loop in your templates.
  5. Watch the magic happen.

评价

阅读所有2条评价

贡献者及开发者

“Font Awesome Field” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Font Awesome Field”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

First version