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

Icon Widget

描述

Icon Widget creates a new WordPress widget that displays an icon, title and description. Select the size, color and text-alignment with easy to use dropdown options.

Icon Fonts Included

  • Font Awesome
  • Line Awesome
  • Ionicons
  • Streamline Icons
  • ET Line Icons
    More coming soon. We are open to suggestions.

Shortcode Usage

Since 1.0.6 you can now use the icon_widget shortcode. Below is a list of available attributes with their default values:

  • classes => ‘icon-widget’
  • title => ‘Icon Widget’
  • content => ‘Add a short description.’
  • icon => ‘fa-star’
  • size => ‘2x’
  • align => ‘center’
  • color => ‘#333333’
  • bg => ”
  • padding => ”
  • radius => ”
  • heading => ‘h4’
  • break => ‘<br>

Here is an example of the icon widget shortcode using all available parameters:

[icon_widget classes="icon-widget" title="Icon Widget" content="Add a short description" icon="fa-star" size="2x" align="center" color="#fff" bg="#333" padding="30" radius="30" heading="h4" break="<br>"]

安装

  1. Go to Plugins > Add New.
  2. Type in the name of the WordPress Plugin or descriptive keyword, author, or tag in Search Plugins box or click a tag link below the screen.
  3. Find the WordPress Plugin you wish to install.
  4. Click Details for more information about the Plugin and instructions you may wish to print or save to help setup the Plugin.
  5. Click Install Now to install the WordPress Plugin.
  6. The resulting installation screen will list the installation as successful or note any problems during the install.
  7. If successful, click Activate Plugin to activate it, or Return to Plugin Installer for further actions.

常见问题

How do I change the icon font?

The icon font can be changed from Settings > Icon Widget.

Can you add another icon font?

Yes, we will add additional icon fonts upon request.

评价

此插件暂无评价。

贡献者及开发者

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

贡献者

将“Icon Widget”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.1.0

  • Add ET Line icons font.
  • Refactor some reusable code.

1.0.9

  • Add background color, padding and border radius options.

1.0.8

  • Fixed deprecated create_function in PHP7.2

1.0.7

  • Added icon_widget shortcode.
  • Added conditional exit to settings file.

1.0.6

  • Added streamline icons.

1.0.5

  • Fixed scripts and styles loading on all admin screens.

1.0.4

  • Added filters for plugin defaults.

1.0.3

  • Added filterable default settings.

1.0.2

  • Added Ionicons font.

1.0.1

  • Added settings page.
  • Fixed multiple color picker instances.
  • Removed caching and clean up output.

1.0.0

  • Initial release.