這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Simple Font Awesome Icon

外掛說明

Simple Font Awesome Icon plugin will give you the Font Awesome Icon option in your post and page. From there you can choose the required icon and hit save. Then use the get_post_meta(‘post ID’, ‘font-awesome-icon’, true); function in the template file and you will get the class name which can be used with i tag.

Please take a look the plugin page for more details: [https://codingdom.wordpress.com/simple-font-awesome-icon/)

安裝方式

Through Dashboard

  1. Log in to your WordPress admin panel and go to Plugins -> Add New
  2. Type simple font awesome icon in the search box and click on search button.
  3. Find Simple Font Awesome Icon plugin.
  4. Then click on Install Now after that activate the plugin.
  5. Go to the required template file and call the function as below.
    $icon_class = get_post_meta(‘your post ID’, ‘font-awesome-icon’, true);
    Use this variable as class name for the i tag add where ever you want.

Installing Via FTP

  1. Download the plugin to your hardisk.
  2. Unzip.
  3. Upload the “simple-font-awesome-icon” folder into your plugins directory.
  4. Log in to your WordPress admin panel and click the Plugins menu.
  5. Then activate the plugin.
  6. Go to the required template file and call the function as below.
    $icon_class = get_post_meta(‘your post ID’, ‘font-awesome-icon’, true);
    Use this variable as class name for the i tag and add where ever you want.

常見問題集

Installation Instructions

Through Dashboard

  1. Log in to your WordPress admin panel and go to Plugins -> Add New
  2. Type simple font awesome icon in the search box and click on search button.
  3. Find Simple Font Awesome Icon plugin.
  4. Then click on Install Now after that activate the plugin.
  5. Go to the required template file and call the function as below.
    $icon_class = get_post_meta(‘your post ID’, ‘font-awesome-icon’, true);
    Use this variable as class name for the i tag add where ever you want.

Installing Via FTP

  1. Download the plugin to your hardisk.
  2. Unzip.
  3. Upload the “simple-font-awesome-icon” folder into your plugins directory.
  4. Log in to your WordPress admin panel and click the Plugins menu.
  5. Then activate the plugin.
  6. Go to the required template file and call the function as below.
    $icon_class = get_post_meta(‘your post ID’, ‘font-awesome-icon’, true);
    Use this variable as class name for the i tag and add where ever you want.

使用者評論

2017 年 7 月 22 日
A fantastic and easy to use plugin.It’s very easy to add an icon anywhere.This does work, and seems to be performing reasonably well. Perfect for my needs. Thank you for making this available.
閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple Font Awesome Icon〉的開發相關工作。

參與者

將〈Simple Font Awesome Icon〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0 – June 27, 2017

  • Support WordPress 4.8

1.0.1 – May 31, 2018

  • Support WordPress 4.9.6