Font Awesome Field
| 开发者 |
tormorten
|
| 更新时间 |
2014年11月27日 16:14 |
| 捐献地址: |
去捐款 |
| PHP版本: |
3.5 及以上 |
| WordPress版本: |
4.0 |
| 版权: |
GPLv2 or later |
| 版权网址: |
版权信息
|
详情介绍:
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].
安装:
- Upload
font-awesome-field to the /wp-content/plugins/ directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Select a field from the Font Awesome Field in your edit posts screen.
- Place
<?php the_fa(); ?> inside the WordPress loop in your templates.
- Watch the magic happen.
更新日志:
1.0
First version