這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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