Linux 软件免费装
Banner图

AGP Font Awesome Collection

开发者 agolubnichenko
更新时间 2019年7月1日 23:06
PHP版本: 3.5.0 及以上
WordPress版本: 4.8
版权: GPLv2 or later
版权网址: 版权信息

标签

widget responsive media shortcode slider button tinymce social icon font icons font navigation responsive slider tools menus social icons buttons promotion nav menu social buttons developer content slider widget slider ui fontawesome Font Awesome agp font-awesome font awesome fa fa-icon fa icons developer tools social links visualizer ad promotion rwd wp menu navigation menu walker menu icons profiles

下载

1.0.1 1.1.2 2.0.0 2.1.0 2.1.1 2.2.2 2.3.0 2.4.2 2.5.3 2.6.2 2.7.3 2.8.1 3.0.0 3.2.3 1.0.0

详情介绍:

The plugin allows to integrate the Font Awesome icons to Your WordPress website. With this plugin you can use various types of the Font Awesome based icons, buttons etc. using simple shortcodes with flexible parameters or the Visual Constructor for a lazy. WordPress Developers also can find with this plugin some useful features for usage within the code. You can find Live Demo and Documentation on the plugin site. New Features Plugin Features Visual Constructor You can add icons and buttons just in few clicks with the visual shortcodes constructor in TinyMCE editor. Just push small button with "FA" icon at the top panel of editor and select needed parameters in popup window. Personal Shortcodes You can create you own shortcodes in the Administrator Panel on the "Shortcodes" page and use it within Visual Constructor for different pages or posts as many times as needed. Shortcode Container Shortcode Container can be used as a wrapper for a custom shortcode for alignment it on a page. Just create your own shortcode with any elements in the Administrator Panel on the "Shortcodes" page and select it in Visual Constructor as parameter for "Shortcode Container" element. Sliders Slider - is a set of small animated information blocks with Font Awesome icon, headline, description and link to URL. You can create and configure own sliders in the Administrator Panel on the "Sliders" page. Each slider is attached to a personal shortcode and can be used via Administrator Panel in TinyMCE editor areas and directly in code. Also You can use Your slider in the "AGP Font Awesome Promotion Slider" widget. The slider is supported for mobile devices! Promotion Widget You can use "AGP Font Awesome Promotion" widget for advertise and promotion. You can create and show small animated information block in sidebar, that contains Font Awesome icon, headline, description and link to URL. Also You can setup colors for text and background of the widget content. The widget is supported for mobile devices! Promotion Slider Widget You can use "AGP Font Awesome Promotion Slider" widget for advertise and promotion. You can create and show small animated information block in sidebar, that contains Your personal slider with Font Awesome icons, headlines, descriptions and links to URL. The widget is supported for mobile devices! Features for Developers Looking for more info? More info you can find on the screenshots and FAQ tabs. Also You can find Live Demo and Documentation on the plugin site. How to use visual constructor [youtube http://www.youtube.com/watch?v=TJ3QqH4BsYY] How to create own shortcode [youtube http://www.youtube.com/watch?v=BT02i79Vmts] How to use promotion widget [youtube http://www.youtube.com/watch?v=HkK9recE8Ds] How to use shortcode container [youtube http://www.youtube.com/watch?v=pj5X73Ygna4]

安装:

  1. Download a copy of the plugin
  2. Unzip and Upload 'AGP Font Awesome Collection' to a sub directory in '/wp-content/plugins/'.
  3. Activate the plugin through the 'Plugins' menu in WordPress.

屏幕截图:

  • Examples of Usage: various icons, buttons, promo banners & sliders
  • TinyMCE Visual Constructor Button
  • Visual Constructor
  • Shortcodes List
  • Custom Shortcode
  • Custom Shortcodes in the TinyMCE
  • Custom Shortcode Result
  • Promo Banner for sidebar (results you can find on screenshote 1 - left & right sidebars)
  • Sliders List
  • Custom Slider
  • Custom Slider for sidebar
  • Custom Slider in the TinyMCE
  • Custom Slider Result
  • Active Plugin Modules Management
  • Font Awesome dropdown (developers only)
  • Curent Font Avesome Version
  • Font Awesome Icons for menu
  • Menus with Font Awesome Icons

常见问题:

How to change the Shortcode content

The plugin includes some templates for each shortcode in "templates/" folder. You can copy any template in your active theme and customize it for your needs. Path to the templates folder inside the active theme: [ActiveTheme]/templates/agp-font-awesome-collection/

How to style the Shortcode content

The plugin includes CSS file "assets/css/style.css". You can copy this file in your active theme and customize it for your needs. Path to the styles inside the active theme: [ActiveTheme]/templates/agp-font-awesome-collection/assets/css/style.css

How to use "Simple Icon" shortcode

Following shortcode can be used for adding of a simple icon: [fac_icon icon="camera"]

  • icon – Font Awesome icon name without "fa-" prefix
Shortcode with additional attributes: [fac_icon icon="camera" font_size="20px" color="#ff0000"]
  • font_size – allow to set icon size, positive digital value with "px"
  • color – allow to set icon color with HEX color value

How to use "Simple Icon with text and shape" shortcode

Following shortcode can be used for adding of a simple icon with additional text and shape: [fac_icontext icon="heart" text="Default"]

  • icon – Font Awesome icon name without "fa-" prefix
  • text – allows to set text value that displays at the right side of the icon
Shortcode with additional attributes: [fac_icontext icon="heart" text="Default" shape_type="round" shape_bg="#000000" icon_color="ffffff" text_color="000000"]
  • shape_type – preset shape type ( square / rounded / round )
  • shape_bg – allows to set shape background color with HEX color value
  • icon_color – allows to set icon color with HEX color value
  • text_color – allows to set text color with HEX color value
As general references you can use Font Awesome official examples: http://fortawesome.github.io/Font-Awesome/examples/ . As for Font Awesome icon names references you can check following link: http://fortawesome.github.io/Font-Awesome/cheatsheet/ .

How to use "Buttons" shortcode

Following shortcode can be used for adding of a simple icon button: [fac_button icon="facebook" name="button_1" title="Find Us on Facebook" link="www.facebook.com" target="_blank"]

  • icon – Font Awesome icon name without "fa-" prefix
  • title – allows to set text for button hover (link "title" attribute)
  • link – allows to set link URL
  • target – allows to set target attribute for the link URL
  • name – allows to set unique button name (link ID attribute); this parameter can be used for development purpose (e.g. JavaScript).
Shortcode with additional attributes for icon button with text: [fac_button icon="facebook" name="button_1" title="Find Us on Facebook" link=www.facebook.com text=" Find Us on Facebook "]
  • text – allows to set text value that displays at the right side of the icon
Shortcode with additional attributes for icon button with text customization: [fac_button icon="facebook" name="button_1" title="Find Us on Facebook" link=www.facebook.com text=" Find Us on Facebook " background="#0d47a1" color="#ffffff" border_radius="4px" border_width="4px" border_color="#0d47a1"]
  • color – allows to set text and icon color with HEX color value
  • background – allows to set button background color with HEX color value
  • border_width – allows to set button border width, positive digital value with "px"
  • border_color – allows to set button border color with HEX color value
  • border_radius – allows to set button corner rounding; one positive digital value with "px" allows to set equal corner rounding for all corners. Also can be used following values (for example): border_radius="10px 0" – corner rounding for left-top and right-bottom corners and vice versa border_radius="0 10px" - corner rounding for right-top and left-bottom corners; border_radius=" 10px 0 0" – corner rounding for left-top corner etc. For more references check "border-radius" CSS property.

How to use the Font Awesome Icons in the WordPress menu

At first, You must enable "Menu Icons" module on the plugin settings page in the Admin Panel. Then go to the Appearance > Menus and select necessary menu. For each menu item you can find additional drop-down list with the FA icons.

(For Developers) How to add "Dropdown list" shortcode

Following shortcode can be used for adding of dropdown with Font Awesome icons list: [fac_dropdown icon="cc-visa" name="myselectid_1"]

  • icon – allows to set Font Awesome icon that shows by default ; use Font Awesome icon name without "fa-" prefix
  • name – allows to set unique dropdown name (select ID attribute); this parameter can be used for development purpose (e.g. JavaScript)
Also this shortcode can be used directly in code.

(For Developers) How to add "Current Version" shortcode

Following shortcode can be used for adding of info box with current Font Awesome version: [fac_version]

(For Developers) How to get access to icons collection?

If you need to have access to object of collection you can use following code: <?php $iconRepository = Fac()->getIconRepository(); ?> This object contains list of the entity of Font Awesome icons collection and access methods for these objects. You can find general objects access methods below:

  • getAll() – allow to get full list of the entity of Font Awesome icons
  • findById($id) – allow to get icon entity ($id – icon name)
  • getCount() – allows to get total count of icons
  • getAllCategories() – allows to get list of icons categories
  • getAllByCategory($category) – allows to get list of icons for specified category
  • getVersion() – allows to get current Font Awesome version
  • etc.
Each icon is an Object and also has properties and methods. For example, if you need to get and show icon display name (e.g. "adn"), you need to use following code: <?php echo Fac()->getIconRepository()->findById('adn')->getName(); ?> As result, will be displayed: "App.net" For more references you can check realization for "Agp\Plugin\Fac\Persistence\IconRepository" and "Agp\Plugin\Fac\Persistence\IconEntity" classes in plugin code. Also you can send any questions in plugin support tab.

(For Developers) How to use taxonomy icons in the PHP code?

The first, You must enable "Category Icons" feature on the "Settings" page of plugin in the Admin Panel. After that You must setup icons and icons position on the terms of taxonomy. You can get the icon data for a specified term of taxonomy with the following code: <?php $data = Fac()->getTaxonomyIcons()->getTaxIcon( $term_id ); ?> where:

  • $term_id - term_id of the specified term of taxonomy;
  • $data['icon'] - stored icon;
  • $data['position'] - stored icon position.

更新日志:

3.2.3 3.2.2 3.2.1 3.2.0 3.1.1 3.1.0 3.0.0 2.8.1 2.8.0 2.7.4 2.7.3 2.7.2 2.7.1 2.7.0 2.6.2 2.6.1 2.6.0 2.5.3 2.5.2 2.5.1 2.5.0 2.4.2 2.4.1 2.4.0 2.3.0 2.2.2 2.2.1 2.2.0 2.1.1 2.1.0 2.0.0 1.1.2 1.1.1 1.1.0 1.0.1 1.0.0