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

Easy Font Icons

描述

Easy Font Icons lets you add a font icon to any post, page, or custom post type. It displays a custom meta box below the content editor where you choose the icon and link it to the post.
You can choose to display the icon in two ways:
– by adding a function to the loop in your theme file
– appending the icon to the h1 tag of your post…

屏幕截图

  • Custom Meta Box screenshot-1.png.

安装

Once the plugin is activated, you need to navigate to the options page and select which post types should be used.
Any post type type that is selected will display a custom meta box on the edit page.

If you choose the default output option, you will need to use the following code within the loop of your theme to output the icon:

<?php mm_easy_font_icons::mm_efi_custom_icon() ?>

This method will output a <span> tag containing the icon and some inline CSS styles. This first option is more for developers or people who have some experience in modifying WordPress themes.

You can also choose the “before title” option. This will append the icon before the post title within the H1 tag.

Regardless of the method you choose, the icon will be output within a span tag with three CSS classes and some inline CSS.
The classes will be:

.mm_efi_{font-identifier}
.efi_font_{font-icon-letter}
.efi_post_num_{POST ID}

These three classes will vary depending on the font style selected, the icon (letter) selected, and the ID of the post.

You can override any syles by using these classes. You may need to use ‘!important’ with your CSS style declaration to make it override the existing styles.

If you have any difficulties with this plugin, please send me an email at: webdesign@mageemedia.net

The plugin is simple to install:

  1. Download easy-font-icons.zip
  2. Unzip
  3. Upload easy-font-icons directory to your /wp-content/plugins directory
  4. Go to the plugin management page and enable the plugin

常见问题

What font icon sets are included?

Currently we have Modern Pictograms, Entypo Webfont, Heydings Controls, Heydings Icons & Socialico.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“Easy Font Icons”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0

  • Initial release

1.0.1

  • First Tagged Update

1.0.7

  • Added Socialico Font