Skip to content

Instantly share code, notes, and snippets.

@lenamtl
Forked from yerooleopard/font_awesome_5.php
Created July 23, 2021 23:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lenamtl/889b95c06a87b8fe4d2b71ae08878ca7 to your computer and use it in GitHub Desktop.
Save lenamtl/889b95c06a87b8fe4d2b71ae08878ca7 to your computer and use it in GitHub Desktop.
WPBakery Page Builder for WordPress (formerly Visual Composer) - Font Awesome 5 iconpicker integration
<?php
add_filter( 'vc_iconpicker-type-fontawesomenew', 'omnis_vc_iconpicker_type_fontawesome_5' );
function omnis_vc_iconpicker_type_fontawesome_5( $icons ) {
$font_awesome_5 = array(
'Brands' => array(
array('fab fa-500px' => '500px'),
array('fab fa-accessible-icon' => 'accessible-icon'),
array('fab fa-accusoft' => 'accusoft'),
array('fab fa-adn' => 'adn'),
array('fab fa-adversal' => 'adversal'),
array('fab fa-affiliatetheme' => 'affiliatetheme'),
array('fab fa-algolia' => 'algolia'),
array('fab fa-amazon' => 'amazon'),
array('fab fa-amazon-pay' => 'amazon-pay'),
array('fab fa-amilia' => 'amilia'),
array('fab fa-android' => 'android'),
array('fab fa-angellist' => 'angellist'),
array('fab fa-angrycreative' => 'angrycreative'),
array('fab fa-angular' => 'angular'),
array('fab fa-app-store' => 'app-store'),
array('fab fa-app-store-ios' => 'app-store-ios'),
array('fab fa-apper' => 'apper'),
array('fab fa-apple' => 'apple'),
array('fab fa-apple-pay' => 'apple-pay'),
array('fab fa-asymmetrik' => 'asymmetrik'),
array('fab fa-audible' => 'audible'),
array('fab fa-autoprefixer' => 'autoprefixer'),
array('fab fa-avianex' => 'avianex'),
array('fab fa-aviato' => 'aviato'),
array('fab fa-aws' => 'aws'),
array('fab fa-bandcamp' => 'bandcamp'),
array('fab fa-behance' => 'behance'),
array('fab fa-behance-square' => 'behance-square'),
array('fab fa-bimobject' => 'bimobject'),
array('fab fa-bitbucket' => 'bitbucket'),
array('fab fa-bitcoin' => 'bitcoin'),
array('fab fa-bity' => 'bity'),
array('fab fa-black-tie' => 'black-tie'),
array('fab fa-blackberry' => 'blackberry'),
array('fab fa-blogger' => 'blogger'),
array('fab fa-blogger-b' => 'blogger-b'),
array('fab fa-bluetooth' => 'bluetooth'),
array('fab fa-bluetooth-b' => 'bluetooth-b'),
array('fab fa-btc' => 'btc'),
array('fab fa-buromobelexperte' => 'buromobelexperte'),
array('fab fa-buysellads' => 'buysellads'),
array('fab fa-cc-amazon-pay' => 'cc-amazon-pay'),
array('fab fa-cc-amex' => 'cc-amex'),
array('fab fa-cc-apple-pay' => 'cc-apple-pay'),
array('fab fa-cc-diners-club' => 'cc-diners-club'),
array('fab fa-cc-discover' => 'cc-discover'),
array('fab fa-cc-jcb' => 'cc-jcb'),
array('fab fa-cc-mastercard' => 'cc-mastercard'),
array('fab fa-cc-paypal' => 'cc-paypal'),
array('fab fa-cc-stripe' => 'cc-stripe'),
array('fab fa-cc-visa' => 'cc-visa'),
array('fab fa-centercode' => 'centercode'),
array('fab fa-chrome' => 'chrome'),
array('fab fa-cloudscale' => 'cloudscale'),
array('fab fa-cloudsmith' => 'cloudsmith'),
array('fab fa-cloudversify' => 'cloudversify'),
array('fab fa-codepen' => 'codepen'),
array('fab fa-codiepie' => 'codiepie'),
array('fab fa-connectdevelop' => 'connectdevelop'),
array('fab fa-contao' => 'contao'),
array('fab fa-cpanel' => 'cpanel'),
array('fab fa-creative-commons' => 'creative-commons'),
array('fab fa-css3' => 'css3'),
array('fab fa-css3-alt' => 'css3-alt'),
array('fab fa-cuttlefish' => 'cuttlefish'),
array('fab fa-d-and-d' => 'd-and-d'),
array('fab fa-dashcube' => 'dashcube'),
array('fab fa-delicious' => 'delicious'),
array('fab fa-deploydog' => 'deploydog'),
array('fab fa-deskpro' => 'deskpro'),
array('fab fa-deviantart' => 'deviantart'),
array('fab fa-digg' => 'digg'),
array('fab fa-digital-ocean' => 'digital-ocean'),
array('fab fa-discord' => 'discord'),
array('fab fa-discourse' => 'discourse'),
array('fab fa-dochub' => 'dochub'),
array('fab fa-docker' => 'docker'),
array('fab fa-draft2digital' => 'draft2digital'),
array('fab fa-dribbble' => 'dribbble'),
array('fab fa-dribbble-square' => 'dribbble-square'),
array('fab fa-dropbox' => 'dropbox'),
array('fab fa-drupal' => 'drupal'),
array('fab fa-dyalog' => 'dyalog'),
array('fab fa-earlybirds' => 'earlybirds'),
array('fab fa-edge' => 'edge'),
array('fab fa-elementor' => 'elementor'),
array('fab fa-ember' => 'ember'),
array('fab fa-empire' => 'empire'),
array('fab fa-envira' => 'envira'),
array('fab fa-erlang' => 'erlang'),
array('fab fa-ethereum' => 'ethereum'),
array('fab fa-etsy' => 'etsy'),
array('fab fa-expeditedssl' => 'expeditedssl'),
array('fab fa-facebook' => 'facebook'),
array('fab fa-facebook-f' => 'facebook-f'),
array('fab fa-facebook-messenger' => 'facebook-messenger'),
array('fab fa-facebook-square' => 'facebook-square'),
array('fab fa-firefox' => 'firefox'),
array('fab fa-first-order' => 'first-order'),
array('fab fa-firstdraft' => 'firstdraft'),
array('fab fa-flickr' => 'flickr'),
array('fab fa-flipboard' => 'flipboard'),
array('fab fa-fly' => 'fly'),
array('fab fa-font-awesome' => 'font-awesome'),
array('fab fa-font-awesome-alt' => 'font-awesome-alt'),
array('fab fa-font-awesome-flag' => 'font-awesome-flag'),
array('fab fa-fonticons' => 'fonticons'),
array('fab fa-fonticons-fi' => 'fonticons-fi'),
array('fab fa-fort-awesome' => 'fort-awesome'),
array('fab fa-fort-awesome-alt' => 'fort-awesome-alt'),
array('fab fa-forumbee' => 'forumbee'),
array('fab fa-foursquare' => 'foursquare'),
array('fab fa-free-code-camp' => 'free-code-camp'),
array('fab fa-freebsd' => 'freebsd'),
array('fab fa-get-pocket' => 'get-pocket'),
array('fab fa-gg' => 'gg'),
array('fab fa-gg-circle' => 'gg-circle'),
array('fab fa-git' => 'git'),
array('fab fa-git-square' => 'git-square'),
array('fab fa-github' => 'github'),
array('fab fa-github-alt' => 'github-alt'),
array('fab fa-github-square' => 'github-square'),
array('fab fa-gitkraken' => 'gitkraken'),
array('fab fa-gitlab' => 'gitlab'),
array('fab fa-gitter' => 'gitter'),
array('fab fa-glide' => 'glide'),
array('fab fa-glide-g' => 'glide-g'),
array('fab fa-gofore' => 'gofore'),
array('fab fa-goodreads' => 'goodreads'),
array('fab fa-goodreads-g' => 'goodreads-g'),
array('fab fa-google' => 'google'),
array('fab fa-google-drive' => 'google-drive'),
array('fab fa-google-play' => 'google-play'),
array('fab fa-google-plus' => 'google-plus'),
array('fab fa-google-plus-g' => 'google-plus-g'),
array('fab fa-google-plus-square' => 'google-plus-square'),
array('fab fa-google-wallet' => 'google-wallet'),
array('fab fa-gratipay' => 'gratipay'),
array('fab fa-grav' => 'grav'),
array('fab fa-gripfire' => 'gripfire'),
array('fab fa-grunt' => 'grunt'),
array('fab fa-gulp' => 'gulp'),
array('fab fa-hacker-news' => 'hacker-news'),
array('fab fa-hacker-news-square' => 'hacker-news-square'),
array('fab fa-hips' => 'hips'),
array('fab fa-hire-a-helper' => 'hire-a-helper'),
array('fab fa-hooli' => 'hooli'),
array('fab fa-hotjar' => 'hotjar'),
array('fab fa-houzz' => 'houzz'),
array('fab fa-html5' => 'html5'),
array('fab fa-hubspot' => 'hubspot'),
array('fab fa-imdb' => 'imdb'),
array('fab fa-instagram' => 'instagram'),
array('fab fa-internet-explorer' => 'internet-explorer'),
array('fab fa-ioxhost' => 'ioxhost'),
array('fab fa-itunes' => 'itunes'),
array('fab fa-itunes-note' => 'itunes-note'),
array('fab fa-jenkins' => 'jenkins'),
array('fab fa-joget' => 'joget'),
array('fab fa-joomla' => 'joomla'),
array('fab fa-js' => 'js'),
array('fab fa-js-square' => 'js-square'),
array('fab fa-jsfiddle' => 'jsfiddle'),
array('fab fa-keycdn' => 'keycdn'),
array('fab fa-kickstarter' => 'kickstarter'),
array('fab fa-kickstarter-k' => 'kickstarter-k'),
array('fab fa-korvue' => 'korvue'),
array('fab fa-laravel' => 'laravel'),
array('fab fa-lastfm' => 'lastfm'),
array('fab fa-lastfm-square' => 'lastfm-square'),
array('fab fa-leanpub' => 'leanpub'),
array('fab fa-less' => 'less'),
array('fab fa-line' => 'line'),
array('fab fa-linkedin' => 'linkedin'),
array('fab fa-linkedin-in' => 'linkedin-in'),
array('fab fa-linode' => 'linode'),
array('fab fa-linux' => 'linux'),
array('fab fa-lyft' => 'lyft'),
array('fab fa-magento' => 'magento'),
array('fab fa-maxcdn' => 'maxcdn'),
array('fab fa-medapps' => 'medapps'),
array('fab fa-medium' => 'medium'),
array('fab fa-medium-m' => 'medium-m'),
array('fab fa-medrt' => 'medrt'),
array('fab fa-meetup' => 'meetup'),
array('fab fa-microsoft' => 'microsoft'),
array('fab fa-mix' => 'mix'),
array('fab fa-mixcloud' => 'mixcloud'),
array('fab fa-mizuni' => 'mizuni'),
array('fab fa-modx' => 'modx'),
array('fab fa-monero' => 'monero'),
array('fab fa-napster' => 'napster'),
array('fab fa-nintendo-switch' => 'nintendo-switch'),
array('fab fa-node' => 'node'),
array('fab fa-node-js' => 'node-js'),
array('fab fa-npm' => 'npm'),
array('fab fa-ns8' => 'ns8'),
array('fab fa-nutritionix' => 'nutritionix'),
array('fab fa-odnoklassniki' => 'odnoklassniki'),
array('fab fa-odnoklassniki-square' => 'odnoklassniki-square'),
array('fab fa-opencart' => 'opencart'),
array('fab fa-openid' => 'openid'),
array('fab fa-opera' => 'opera'),
array('fab fa-optin-monster' => 'optin-monster'),
array('fab fa-osi' => 'osi'),
array('fab fa-page4' => 'page4'),
array('fab fa-pagelines' => 'pagelines'),
array('fab fa-palfed' => 'palfed'),
array('fab fa-patreon' => 'patreon'),
array('fab fa-paypal' => 'paypal'),
array('fab fa-periscope' => 'periscope'),
array('fab fa-phabricator' => 'phabricator'),
array('fab fa-phoenix-framework' => 'phoenix-framework'),
array('fab fa-php' => 'php'),
array('fab fa-pied-piper' => 'pied-piper'),
array('fab fa-pied-piper-alt' => 'pied-piper-alt'),
array('fab fa-pied-piper-pp' => 'pied-piper-pp'),
array('fab fa-pinterest' => 'pinterest'),
array('fab fa-pinterest-p' => 'pinterest-p'),
array('fab fa-pinterest-square' => 'pinterest-square'),
array('fab fa-playstation' => 'playstation'),
array('fab fa-product-hunt' => 'product-hunt'),
array('fab fa-pushed' => 'pushed'),
array('fab fa-python' => 'python'),
array('fab fa-qq' => 'qq'),
array('fab fa-quinscape' => 'quinscape'),
array('fab fa-quora' => 'quora'),
array('fab fa-ravelry' => 'ravelry'),
array('fab fa-react' => 'react'),
array('fab fa-rebel' => 'rebel'),
array('fab fa-red-river' => 'red-river'),
array('fab fa-reddit' => 'reddit'),
array('fab fa-reddit-alien' => 'reddit-alien'),
array('fab fa-reddit-square' => 'reddit-square'),
array('fab fa-rendact' => 'rendact'),
array('fab fa-renren' => 'renren'),
array('fab fa-replyd' => 'replyd'),
array('fab fa-resolving' => 'resolving'),
array('fab fa-rocketchat' => 'rocketchat'),
array('fab fa-rockrms' => 'rockrms'),
array('fab fa-safari' => 'safari'),
array('fab fa-sass' => 'sass'),
array('fab fa-schlix' => 'schlix'),
array('fab fa-scribd' => 'scribd'),
array('fab fa-searchengin' => 'searchengin'),
array('fab fa-sellcast' => 'sellcast'),
array('fab fa-sellsy' => 'sellsy'),
array('fab fa-servicestack' => 'servicestack'),
array('fab fa-shirtsinbulk' => 'shirtsinbulk'),
array('fab fa-simplybuilt' => 'simplybuilt'),
array('fab fa-sistrix' => 'sistrix'),
array('fab fa-skyatlas' => 'skyatlas'),
array('fab fa-skype' => 'skype'),
array('fab fa-slack' => 'slack'),
array('fab fa-slack-hash' => 'slack-hash'),
array('fab fa-slideshare' => 'slideshare'),
array('fab fa-snapchat' => 'snapchat'),
array('fab fa-snapchat-ghost' => 'snapchat-ghost'),
array('fab fa-snapchat-square' => 'snapchat-square'),
array('fab fa-soundcloud' => 'soundcloud'),
array('fab fa-speakap' => 'speakap'),
array('fab fa-spotify' => 'spotify'),
array('fab fa-stack-exchange' => 'stack-exchange'),
array('fab fa-stack-overflow' => 'stack-overflow'),
array('fab fa-staylinked' => 'staylinked'),
array('fab fa-steam' => 'steam'),
array('fab fa-steam-square' => 'steam-square'),
array('fab fa-steam-symbol' => 'steam-symbol'),
array('fab fa-sticker-mule' => 'sticker-mule'),
array('fab fa-strava' => 'strava'),
array('fab fa-stripe' => 'stripe'),
array('fab fa-stripe-s' => 'stripe-s'),
array('fab fa-studiovinari' => 'studiovinari'),
array('fab fa-stumbleupon' => 'stumbleupon'),
array('fab fa-stumbleupon-circle' => 'stumbleupon-circle'),
array('fab fa-superpowers' => 'superpowers'),
array('fab fa-supple' => 'supple'),
array('fab fa-telegram' => 'telegram'),
array('fab fa-telegram-plane' => 'telegram-plane'),
array('fab fa-tencent-weibo' => 'tencent-weibo'),
array('fab fa-themeisle' => 'themeisle'),
array('fab fa-trello' => 'trello'),
array('fab fa-tripadvisor' => 'tripadvisor'),
array('fab fa-tumblr' => 'tumblr'),
array('fab fa-tumblr-square' => 'tumblr-square'),
array('fab fa-twitch' => 'twitch'),
array('fab fa-twitter' => 'twitter'),
array('fab fa-twitter-square' => 'twitter-square'),
array('fab fa-typo3' => 'typo3'),
array('fab fa-uber' => 'uber'),
array('fab fa-uikit' => 'uikit'),
array('fab fa-uniregistry' => 'uniregistry'),
array('fab fa-untappd' => 'untappd'),
array('fab fa-usb' => 'usb'),
array('fab fa-ussunnah' => 'ussunnah'),
array('fab fa-vaadin' => 'vaadin'),
array('fab fa-viacoin' => 'viacoin'),
array('fab fa-viadeo' => 'viadeo'),
array('fab fa-viadeo-square' => 'viadeo-square'),
array('fab fa-viber' => 'viber'),
array('fab fa-vimeo' => 'vimeo'),
array('fab fa-vimeo-square' => 'vimeo-square'),
array('fab fa-vimeo-v' => 'vimeo-v'),
array('fab fa-vine' => 'vine'),
array('fab fa-vk' => 'vk'),
array('fab fa-vnv' => 'vnv'),
array('fab fa-vuejs' => 'vuejs'),
array('fab fa-weibo' => 'weibo'),
array('fab fa-weixin' => 'weixin'),
array('fab fa-whatsapp' => 'whatsapp'),
array('fab fa-whatsapp-square' => 'whatsapp-square'),
array('fab fa-whmcs' => 'whmcs'),
array('fab fa-wikipedia-w' => 'wikipedia-w'),
array('fab fa-windows' => 'windows'),
array('fab fa-wordpress' => 'wordpress'),
array('fab fa-wordpress-simple' => 'wordpress-simple'),
array('fab fa-wpbeginner' => 'wpbeginner'),
array('fab fa-wpexplorer' => 'wpexplorer'),
array('fab fa-wpforms' => 'wpforms'),
array('fab fa-xbox' => 'xbox'),
array('fab fa-xing' => 'xing'),
array('fab fa-xing-square' => 'xing-square'),
array('fab fa-y-combinator' => 'y-combinator'),
array('fab fa-yahoo' => 'yahoo'),
array('fab fa-yandex' => 'yandex'),
array('fab fa-yandex-international' => 'yandex-international'),
array('fab fa-yelp' => 'yelp'),
array('fab fa-yoast' => 'yoast'),
array('fab fa-youtube' => 'youtube'),
array('fab fa-youtube-square' => 'youtube-square'),
),
'Regular' => array(
array('far fa-address-book' => 'address-book'),
array('far fa-address-card' => 'address-card'),
array('far fa-arrow-alt-circle-down' => 'arrow-alt-circle-down'),
array('far fa-arrow-alt-circle-left' => 'arrow-alt-circle-left'),
array('far fa-arrow-alt-circle-right' => 'arrow-alt-circle-right'),
array('far fa-arrow-alt-circle-up' => 'arrow-alt-circle-up'),
array('far fa-bell' => 'bell'),
array('far fa-bell-slash' => 'bell-slash'),
array('far fa-bookmark' => 'bookmark'),
array('far fa-building' => 'building'),
array('far fa-calendar' => 'calendar'),
array('far fa-calendar-alt' => 'calendar-alt'),
array('far fa-calendar-check' => 'calendar-check'),
array('far fa-calendar-minus' => 'calendar-minus'),
array('far fa-calendar-plus' => 'calendar-plus'),
array('far fa-calendar-times' => 'calendar-times'),
array('far fa-caret-square-down' => 'caret-square-down'),
array('far fa-caret-square-left' => 'caret-square-left'),
array('far fa-caret-square-right' => 'caret-square-right'),
array('far fa-caret-square-up' => 'caret-square-up'),
array('far fa-chart-bar' => 'chart-bar'),
array('far fa-check-circle' => 'check-circle'),
array('far fa-check-square' => 'check-square'),
array('far fa-circle' => 'circle'),
array('far fa-clipboard' => 'clipboard'),
array('far fa-clock' => 'clock'),
array('far fa-clone' => 'clone'),
array('far fa-closed-captioning' => 'closed-captioning'),
array('far fa-comment' => 'comment'),
array('far fa-comment-alt' => 'comment-alt'),
array('far fa-comments' => 'comments'),
array('far fa-compass' => 'compass'),
array('far fa-copy' => 'copy'),
array('far fa-copyright' => 'copyright'),
array('far fa-credit-card' => 'credit-card'),
array('far fa-dot-circle' => 'dot-circle'),
array('far fa-edit' => 'edit'),
array('far fa-envelope' => 'envelope'),
array('far fa-envelope-open' => 'envelope-open'),
array('far fa-eye-slash' => 'eye-slash'),
array('far fa-file' => 'file'),
array('far fa-file-alt' => 'file-alt'),
array('far fa-file-archive' => 'file-archive'),
array('far fa-file-audio' => 'file-audio'),
array('far fa-file-code' => 'file-code'),
array('far fa-file-excel' => 'file-excel'),
array('far fa-file-image' => 'file-image'),
array('far fa-file-pdf' => 'file-pdf'),
array('far fa-file-powerpoint' => 'file-powerpoint'),
array('far fa-file-video' => 'file-video'),
array('far fa-file-word' => 'file-word'),
array('far fa-flag' => 'flag'),
array('far fa-folder' => 'folder'),
array('far fa-folder-open' => 'folder-open'),
array('far fa-frown' => 'frown'),
array('far fa-futbol' => 'futbol'),
array('far fa-gem' => 'gem'),
array('far fa-hand-lizard' => 'hand-lizard'),
array('far fa-hand-paper' => 'hand-paper'),
array('far fa-hand-peace' => 'hand-peace'),
array('far fa-hand-point-down' => 'hand-point-down'),
array('far fa-hand-point-left' => 'hand-point-left'),
array('far fa-hand-point-right' => 'hand-point-right'),
array('far fa-hand-point-up' => 'hand-point-up'),
array('far fa-hand-pointer' => 'hand-pointer'),
array('far fa-hand-rock' => 'hand-rock'),
array('far fa-hand-scissors' => 'hand-scissors'),
array('far fa-hand-spock' => 'hand-spock'),
array('far fa-handshake' => 'handshake'),
array('far fa-hdd' => 'hdd'),
array('far fa-heart' => 'heart'),
array('far fa-hospital' => 'hospital'),
array('far fa-hourglass' => 'hourglass'),
array('far fa-id-badge' => 'id-badge'),
array('far fa-id-card' => 'id-card'),
array('far fa-image' => 'image'),
array('far fa-images' => 'images'),
array('far fa-keyboard' => 'keyboard'),
array('far fa-lemon' => 'lemon'),
array('far fa-life-ring' => 'life-ring'),
array('far fa-lightbulb' => 'lightbulb'),
array('far fa-list-alt' => 'list-alt'),
array('far fa-map' => 'map'),
array('far fa-meh' => 'meh'),
array('far fa-minus-square' => 'minus-square'),
array('far fa-money-bill-alt' => 'money-bill-alt'),
array('far fa-moon' => 'moon'),
array('far fa-newspaper' => 'newspaper'),
array('far fa-object-group' => 'object-group'),
array('far fa-object-ungroup' => 'object-ungroup'),
array('far fa-paper-plane' => 'paper-plane'),
array('far fa-pause-circle' => 'pause-circle'),
array('far fa-play-circle' => 'play-circle'),
array('far fa-plus-square' => 'plus-square'),
array('far fa-question-circle' => 'question-circle'),
array('far fa-registered' => 'registered'),
array('far fa-save' => 'save'),
array('far fa-share-square' => 'share-square'),
array('far fa-smile' => 'smile'),
array('far fa-snowflake' => 'snowflake'),
array('far fa-square' => 'square'),
array('far fa-star' => 'star'),
array('far fa-star-half' => 'star-half'),
array('far fa-sticky-note' => 'sticky-note'),
array('far fa-stop-circle' => 'stop-circle'),
array('far fa-sun' => 'sun'),
array('far fa-thumbs-down' => 'thumbs-down'),
array('far fa-thumbs-up' => 'thumbs-up'),
array('far fa-times-circle' => 'times-circle'),
array('far fa-trash-alt' => 'trash-alt'),
array('far fa-user' => 'user'),
array('far fa-user-circle' => 'user-circle'),
array('far fa-window-close' => 'window-close'),
array('far fa-window-maximize' => 'window-maximize'),
array('far fa-window-minimize' => 'window-minimize'),
array('far fa-window-restore' => 'window-restore')
),
'Solid' => array(
array('fas fa-address-book' => 'address-book'),
array('fas fa-address-card' => 'address-card'),
array('fas fa-adjust' => 'adjust'),
array('fas fa-align-center' => 'align-center'),
array('fas fa-align-justify' => 'align-justify'),
array('fas fa-align-left' => 'align-left'),
array('fas fa-align-right' => 'align-right'),
array('fas fa-ambulance' => 'ambulance'),
array('fas fa-american-sign-language-interpreting' => 'american-sign-language-interpreting'),
array('fas fa-anchor' => 'anchor'),
array('fas fa-angle-double-down' => 'angle-double-down'),
array('fas fa-angle-double-left' => 'angle-double-left'),
array('fas fa-angle-double-right' => 'angle-double-right'),
array('fas fa-angle-double-up' => 'angle-double-up'),
array('fas fa-angle-down' => 'angle-down'),
array('fas fa-angle-left' => 'angle-left'),
array('fas fa-angle-right' => 'angle-right'),
array('fas fa-angle-up' => 'angle-up'),
array('fas fa-archive' => 'archive'),
array('fas fa-arrow-alt-circle-down' => 'arrow-alt-circle-down'),
array('fas fa-arrow-alt-circle-left' => 'arrow-alt-circle-left'),
array('fas fa-arrow-alt-circle-right' => 'arrow-alt-circle-right'),
array('fas fa-arrow-alt-circle-up' => 'arrow-alt-circle-up'),
array('fas fa-arrow-circle-down' => 'arrow-circle-down'),
array('fas fa-arrow-circle-left' => 'arrow-circle-left'),
array('fas fa-arrow-circle-right' => 'arrow-circle-right'),
array('fas fa-arrow-circle-up' => 'arrow-circle-up'),
array('fas fa-arrow-down' => 'arrow-down'),
array('fas fa-arrow-left' => 'arrow-left'),
array('fas fa-arrow-right' => 'arrow-right'),
array('fas fa-arrow-up' => 'arrow-up'),
array('fas fa-arrows-alt' => 'arrows-alt'),
array('fas fa-arrows-alt-h' => 'arrows-alt-h'),
array('fas fa-arrows-alt-v' => 'arrows-alt-v'),
array('fas fa-assistive-listening-systems' => 'assistive-listening-systems'),
array('fas fa-asterisk' => 'asterisk'),
array('fas fa-at' => 'at'),
array('fas fa-audio-description' => 'audio-description'),
array('fas fa-backward' => 'backward'),
array('fas fa-balance-scale' => 'balance-scale'),
array('fas fa-ban' => 'ban'),
array('fas fa-barcode' => 'barcode'),
array('fas fa-bars' => 'bars'),
array('fas fa-baseball-ball' => 'baseball-ball'),
array('fas fa-basketball-ball' => 'basketball-ball'),
array('fas fa-bath' => 'bath'),
array('fas fa-battery-empty' => 'battery-empty'),
array('fas fa-battery-full' => 'battery-full'),
array('fas fa-battery-half' => 'battery-half'),
array('fas fa-battery-quarter' => 'battery-quarter'),
array('fas fa-battery-three-quarters' => 'battery-three-quarters'),
array('fas fa-bed' => 'bed'),
array('fas fa-beer' => 'beer'),
array('fas fa-bell' => 'bell'),
array('fas fa-bell-slash' => 'bell-slash'),
array('fas fa-bicycle' => 'bicycle'),
array('fas fa-binoculars' => 'binoculars'),
array('fas fa-birthday-cake' => 'birthday-cake'),
array('fas fa-blind' => 'blind'),
array('fas fa-bold' => 'bold'),
array('fas fa-bolt' => 'bolt'),
array('fas fa-bomb' => 'bomb'),
array('fas fa-book' => 'book'),
array('fas fa-bookmark' => 'bookmark'),
array('fas fa-bowling-ball' => 'bowling-ball'),
array('fas fa-braille' => 'braille'),
array('fas fa-briefcase' => 'briefcase'),
array('fas fa-bug' => 'bug'),
array('fas fa-building' => 'building'),
array('fas fa-bullhorn' => 'bullhorn'),
array('fas fa-bullseye' => 'bullseye'),
array('fas fa-bus' => 'bus'),
array('fas fa-calculator' => 'calculator'),
array('fas fa-calendar' => 'calendar'),
array('fas fa-calendar-alt' => 'calendar-alt'),
array('fas fa-calendar-check' => 'calendar-check'),
array('fas fa-calendar-minus' => 'calendar-minus'),
array('fas fa-calendar-plus' => 'calendar-plus'),
array('fas fa-calendar-times' => 'calendar-times'),
array('fas fa-camera' => 'camera'),
array('fas fa-camera-retro' => 'camera-retro'),
array('fas fa-car' => 'car'),
array('fas fa-caret-down' => 'caret-down'),
array('fas fa-caret-left' => 'caret-left'),
array('fas fa-caret-right' => 'caret-right'),
array('fas fa-caret-square-down' => 'caret-square-down'),
array('fas fa-caret-square-left' => 'caret-square-left'),
array('fas fa-caret-square-right' => 'caret-square-right'),
array('fas fa-caret-square-up' => 'caret-square-up'),
array('fas fa-caret-up' => 'caret-up'),
array('fas fa-cart-arrow-down' => 'cart-arrow-down'),
array('fas fa-cart-plus' => 'cart-plus'),
array('fas fa-certificate' => 'certificate'),
array('fas fa-chart-area' => 'chart-area'),
array('fas fa-chart-bar' => 'chart-bar'),
array('fas fa-chart-line' => 'chart-line'),
array('fas fa-chart-pie' => 'chart-pie'),
array('fas fa-check' => 'check'),
array('fas fa-check-circle' => 'check-circle'),
array('fas fa-check-square' => 'check-square'),
array('fas fa-chess' => 'chess'),
array('fas fa-chess-bishop' => 'chess-bishop'),
array('fas fa-chess-board' => 'chess-board'),
array('fas fa-chess-king' => 'chess-king'),
array('fas fa-chess-knight' => 'chess-knight'),
array('fas fa-chess-pawn' => 'chess-pawn'),
array('fas fa-chess-queen' => 'chess-queen'),
array('fas fa-chess-rook' => 'chess-rook'),
array('fas fa-chevron-circle-down' => 'chevron-circle-down'),
array('fas fa-chevron-circle-left' => 'chevron-circle-left'),
array('fas fa-chevron-circle-right' => 'chevron-circle-right'),
array('fas fa-chevron-circle-up' => 'chevron-circle-up'),
array('fas fa-chevron-down' => 'chevron-down'),
array('fas fa-chevron-left' => 'chevron-left'),
array('fas fa-chevron-right' => 'chevron-right'),
array('fas fa-chevron-up' => 'chevron-up'),
array('fas fa-child' => 'child'),
array('fas fa-circle' => 'circle'),
array('fas fa-circle-notch' => 'circle-notch'),
array('fas fa-clipboard' => 'clipboard'),
array('fas fa-clock' => 'clock'),
array('fas fa-clone' => 'clone'),
array('fas fa-closed-captioning' => 'closed-captioning'),
array('fas fa-cloud' => 'cloud'),
array('fas fa-cloud-download-alt' => 'cloud-download-alt'),
array('fas fa-cloud-upload-alt' => 'cloud-upload-alt'),
array('fas fa-code' => 'code'),
array('fas fa-code-branch' => 'code-branch'),
array('fas fa-coffee' => 'coffee'),
array('fas fa-cog' => 'cog'),
array('fas fa-cogs' => 'cogs'),
array('fas fa-columns' => 'columns'),
array('fas fa-comment' => 'comment'),
array('fas fa-comment-alt' => 'comment-alt'),
array('fas fa-comments' => 'comments'),
array('fas fa-compass' => 'compass'),
array('fas fa-compress' => 'compress'),
array('fas fa-copy' => 'copy'),
array('fas fa-copyright' => 'copyright'),
array('fas fa-credit-card' => 'credit-card'),
array('fas fa-crop' => 'crop'),
array('fas fa-crosshairs' => 'crosshairs'),
array('fas fa-cube' => 'cube'),
array('fas fa-cubes' => 'cubes'),
array('fas fa-cut' => 'cut'),
array('fas fa-database' => 'database'),
array('fas fa-deaf' => 'deaf'),
array('fas fa-desktop' => 'desktop'),
array('fas fa-dollar-sign' => 'dollar-sign'),
array('fas fa-dot-circle' => 'dot-circle'),
array('fas fa-download' => 'download'),
array('fas fa-edit' => 'edit'),
array('fas fa-eject' => 'eject'),
array('fas fa-ellipsis-h' => 'ellipsis-h'),
array('fas fa-ellipsis-v' => 'ellipsis-v'),
array('fas fa-envelope' => 'envelope'),
array('fas fa-envelope-open' => 'envelope-open'),
array('fas fa-envelope-square' => 'envelope-square'),
array('fas fa-eraser' => 'eraser'),
array('fas fa-euro-sign' => 'euro-sign'),
array('fas fa-exchange-alt' => 'exchange-alt'),
array('fas fa-exclamation' => 'exclamation'),
array('fas fa-exclamation-circle' => 'exclamation-circle'),
array('fas fa-exclamation-triangle' => 'exclamation-triangle'),
array('fas fa-expand' => 'expand'),
array('fas fa-expand-arrows-alt' => 'expand-arrows-alt'),
array('fas fa-external-link-alt' => 'external-link-alt'),
array('fas fa-external-link-square-alt' => 'external-link-square-alt'),
array('fas fa-eye' => 'eye'),
array('fas fa-eye-dropper' => 'eye-dropper'),
array('fas fa-eye-slash' => 'eye-slash'),
array('fas fa-fast-backward' => 'fast-backward'),
array('fas fa-fast-forward' => 'fast-forward'),
array('fas fa-fax' => 'fax'),
array('fas fa-female' => 'female'),
array('fas fa-fighter-jet' => 'fighter-jet'),
array('fas fa-file' => 'file'),
array('fas fa-file-alt' => 'file-alt'),
array('fas fa-file-archive' => 'file-archive'),
array('fas fa-file-audio' => 'file-audio'),
array('fas fa-file-code' => 'file-code'),
array('fas fa-file-excel' => 'file-excel'),
array('fas fa-file-image' => 'file-image'),
array('fas fa-file-pdf' => 'file-pdf'),
array('fas fa-file-powerpoint' => 'file-powerpoint'),
array('fas fa-file-video' => 'file-video'),
array('fas fa-file-word' => 'file-word'),
array('fas fa-film' => 'film'),
array('fas fa-filter' => 'filter'),
array('fas fa-fire' => 'fire'),
array('fas fa-fire-extinguisher' => 'fire-extinguisher'),
array('fas fa-flag' => 'flag'),
array('fas fa-flag-checkered' => 'flag-checkered'),
array('fas fa-flask' => 'flask'),
array('fas fa-folder' => 'folder'),
array('fas fa-folder-open' => 'folder-open'),
array('fas fa-font' => 'font'),
array('fas fa-football-ball' => 'football-ball'),
array('fas fa-forward' => 'forward'),
array('fas fa-frown' => 'frown'),
array('fas fa-futbol' => 'futbol'),
array('fas fa-gamepad' => 'gamepad'),
array('fas fa-gavel' => 'gavel'),
array('fas fa-gem' => 'gem'),
array('fas fa-genderless' => 'genderless'),
array('fas fa-gift' => 'gift'),
array('fas fa-glass-martini' => 'glass-martini'),
array('fas fa-globe' => 'globe'),
array('fas fa-golf-ball' => 'golf-ball'),
array('fas fa-graduation-cap' => 'graduation-cap'),
array('fas fa-h-square' => 'h-square'),
array('fas fa-hand-lizard' => 'hand-lizard'),
array('fas fa-hand-paper' => 'hand-paper'),
array('fas fa-hand-peace' => 'hand-peace'),
array('fas fa-hand-point-down' => 'hand-point-down'),
array('fas fa-hand-point-left' => 'hand-point-left'),
array('fas fa-hand-point-right' => 'hand-point-right'),
array('fas fa-hand-point-up' => 'hand-point-up'),
array('fas fa-hand-pointer' => 'hand-pointer'),
array('fas fa-hand-rock' => 'hand-rock'),
array('fas fa-hand-scissors' => 'hand-scissors'),
array('fas fa-hand-spock' => 'hand-spock'),
array('fas fa-handshake' => 'handshake'),
array('fas fa-hashtag' => 'hashtag'),
array('fas fa-hdd' => 'hdd'),
array('fas fa-heading' => 'heading'),
array('fas fa-headphones' => 'headphones'),
array('fas fa-heart' => 'heart'),
array('fas fa-heartbeat' => 'heartbeat'),
array('fas fa-history' => 'history'),
array('fas fa-hockey-puck' => 'hockey-puck'),
array('fas fa-home' => 'home'),
array('fas fa-hospital' => 'hospital'),
array('fas fa-hourglass' => 'hourglass'),
array('fas fa-hourglass-end' => 'hourglass-end'),
array('fas fa-hourglass-half' => 'hourglass-half'),
array('fas fa-hourglass-start' => 'hourglass-start'),
array('fas fa-i-cursor' => 'i-cursor'),
array('fas fa-id-badge' => 'id-badge'),
array('fas fa-id-card' => 'id-card'),
array('fas fa-image' => 'image'),
array('fas fa-images' => 'images'),
array('fas fa-inbox' => 'inbox'),
array('fas fa-indent' => 'indent'),
array('fas fa-industry' => 'industry'),
array('fas fa-info' => 'info'),
array('fas fa-info-circle' => 'info-circle'),
array('fas fa-italic' => 'italic'),
array('fas fa-key' => 'key'),
array('fas fa-keyboard' => 'keyboard'),
array('fas fa-language' => 'language'),
array('fas fa-laptop' => 'laptop'),
array('fas fa-leaf' => 'leaf'),
array('fas fa-lemon' => 'lemon'),
array('fas fa-level-down-alt' => 'level-down-alt'),
array('fas fa-level-up-alt' => 'level-up-alt'),
array('fas fa-life-ring' => 'life-ring'),
array('fas fa-lightbulb' => 'lightbulb'),
array('fas fa-link' => 'link'),
array('fas fa-lira-sign' => 'lira-sign'),
array('fas fa-list' => 'list'),
array('fas fa-list-alt' => 'list-alt'),
array('fas fa-list-ol' => 'list-ol'),
array('fas fa-list-ul' => 'list-ul'),
array('fas fa-location-arrow' => 'location-arrow'),
array('fas fa-lock' => 'lock'),
array('fas fa-lock-open' => 'lock-open'),
array('fas fa-long-arrow-alt-down' => 'long-arrow-alt-down'),
array('fas fa-long-arrow-alt-left' => 'long-arrow-alt-left'),
array('fas fa-long-arrow-alt-right' => 'long-arrow-alt-right'),
array('fas fa-long-arrow-alt-up' => 'long-arrow-alt-up'),
array('fas fa-low-vision' => 'low-vision'),
array('fas fa-magic' => 'magic'),
array('fas fa-magnet' => 'magnet'),
array('fas fa-male' => 'male'),
array('fas fa-map' => 'map'),
array('fas fa-map-marker' => 'map-marker'),
array('fas fa-map-marker-alt' => 'map-marker-alt'),
array('fas fa-map-pin' => 'map-pin'),
array('fas fa-map-signs' => 'map-signs'),
array('fas fa-mars' => 'mars'),
array('fas fa-mars-double' => 'mars-double'),
array('fas fa-mars-stroke' => 'mars-stroke'),
array('fas fa-mars-stroke-h' => 'mars-stroke-h'),
array('fas fa-mars-stroke-v' => 'mars-stroke-v'),
array('fas fa-medkit' => 'medkit'),
array('fas fa-meh' => 'meh'),
array('fas fa-mercury' => 'mercury'),
array('fas fa-microchip' => 'microchip'),
array('fas fa-microphone' => 'microphone'),
array('fas fa-microphone-slash' => 'microphone-slash'),
array('fas fa-minus' => 'minus'),
array('fas fa-minus-circle' => 'minus-circle'),
array('fas fa-minus-square' => 'minus-square'),
array('fas fa-mobile' => 'mobile'),
array('fas fa-mobile-alt' => 'mobile-alt'),
array('fas fa-money-bill-alt' => 'money-bill-alt'),
array('fas fa-moon' => 'moon'),
array('fas fa-motorcycle' => 'motorcycle'),
array('fas fa-mouse-pointer' => 'mouse-pointer'),
array('fas fa-music' => 'music'),
array('fas fa-neuter' => 'neuter'),
array('fas fa-newspaper' => 'newspaper'),
array('fas fa-object-group' => 'object-group'),
array('fas fa-object-ungroup' => 'object-ungroup'),
array('fas fa-outdent' => 'outdent'),
array('fas fa-paint-brush' => 'paint-brush'),
array('fas fa-paper-plane' => 'paper-plane'),
array('fas fa-paperclip' => 'paperclip'),
array('fas fa-paragraph' => 'paragraph'),
array('fas fa-paste' => 'paste'),
array('fas fa-pause' => 'pause'),
array('fas fa-pause-circle' => 'pause-circle'),
array('fas fa-paw' => 'paw'),
array('fas fa-pen-square' => 'pen-square'),
array('fas fa-pencil-alt' => 'pencil-alt'),
array('fas fa-percent' => 'percent'),
array('fas fa-phone' => 'phone'),
array('fas fa-phone-square' => 'phone-square'),
array('fas fa-phone-volume' => 'phone-volume'),
array('fas fa-plane' => 'plane'),
array('fas fa-play' => 'play'),
array('fas fa-play-circle' => 'play-circle'),
array('fas fa-plug' => 'plug'),
array('fas fa-plus' => 'plus'),
array('fas fa-plus-circle' => 'plus-circle'),
array('fas fa-plus-square' => 'plus-square'),
array('fas fa-podcast' => 'podcast'),
array('fas fa-pound-sign' => 'pound-sign'),
array('fas fa-power-off' => 'power-off'),
array('fas fa-print' => 'print'),
array('fas fa-puzzle-piece' => 'puzzle-piece'),
array('fas fa-qrcode' => 'qrcode'),
array('fas fa-question' => 'question'),
array('fas fa-question-circle' => 'question-circle'),
array('fas fa-quidditch' => 'quidditch'),
array('fas fa-quote-left' => 'quote-left'),
array('fas fa-quote-right' => 'quote-right'),
array('fas fa-random' => 'random'),
array('fas fa-recycle' => 'recycle'),
array('fas fa-redo' => 'redo'),
array('fas fa-redo-alt' => 'redo-alt'),
array('fas fa-registered' => 'registered'),
array('fas fa-reply' => 'reply'),
array('fas fa-reply-all' => 'reply-all'),
array('fas fa-retweet' => 'retweet'),
array('fas fa-road' => 'road'),
array('fas fa-rocket' => 'rocket'),
array('fas fa-rss' => 'rss'),
array('fas fa-rss-square' => 'rss-square'),
array('fas fa-ruble-sign' => 'ruble-sign'),
array('fas fa-rupee-sign' => 'rupee-sign'),
array('fas fa-save' => 'save'),
array('fas fa-search' => 'search'),
array('fas fa-search-minus' => 'search-minus'),
array('fas fa-search-plus' => 'search-plus'),
array('fas fa-server' => 'server'),
array('fas fa-share' => 'share'),
array('fas fa-share-alt' => 'share-alt'),
array('fas fa-share-alt-square' => 'share-alt-square'),
array('fas fa-share-square' => 'share-square'),
array('fas fa-shekel-sign' => 'shekel-sign'),
array('fas fa-shield-alt' => 'shield-alt'),
array('fas fa-ship' => 'ship'),
array('fas fa-shopping-bag' => 'shopping-bag'),
array('fas fa-shopping-basket' => 'shopping-basket'),
array('fas fa-shopping-cart' => 'shopping-cart'),
array('fas fa-shower' => 'shower'),
array('fas fa-sign-in-alt' => 'sign-in-alt'),
array('fas fa-sign-language' => 'sign-language'),
array('fas fa-sign-out-alt' => 'sign-out-alt'),
array('fas fa-signal' => 'signal'),
array('fas fa-sitemap' => 'sitemap'),
array('fas fa-sliders-h' => 'sliders-h'),
array('fas fa-smile' => 'smile'),
array('fas fa-snowflake' => 'snowflake'),
array('fas fa-sort' => 'sort'),
array('fas fa-sort-alpha-down' => 'sort-alpha-down'),
array('fas fa-sort-alpha-up' => 'sort-alpha-up'),
array('fas fa-sort-amount-down' => 'sort-amount-down'),
array('fas fa-sort-amount-up' => 'sort-amount-up'),
array('fas fa-sort-down' => 'sort-down'),
array('fas fa-sort-numeric-down' => 'sort-numeric-down'),
array('fas fa-sort-numeric-up' => 'sort-numeric-up'),
array('fas fa-sort-up' => 'sort-up'),
array('fas fa-space-shuttle' => 'space-shuttle'),
array('fas fa-spinner' => 'spinner'),
array('fas fa-square' => 'square'),
array('fas fa-square-full' => 'square-full'),
array('fas fa-star' => 'star'),
array('fas fa-star-half' => 'star-half'),
array('fas fa-step-backward' => 'step-backward'),
array('fas fa-step-forward' => 'step-forward'),
array('fas fa-stethoscope' => 'stethoscope'),
array('fas fa-sticky-note' => 'sticky-note'),
array('fas fa-stop' => 'stop'),
array('fas fa-stop-circle' => 'stop-circle'),
array('fas fa-stopwatch' => 'stopwatch'),
array('fas fa-street-view' => 'street-view'),
array('fas fa-strikethrough' => 'strikethrough'),
array('fas fa-subscript' => 'subscript'),
array('fas fa-subway' => 'subway'),
array('fas fa-suitcase' => 'suitcase'),
array('fas fa-sun' => 'sun'),
array('fas fa-superscript' => 'superscript'),
array('fas fa-sync' => 'sync'),
array('fas fa-sync-alt' => 'sync-alt'),
array('fas fa-table' => 'table'),
array('fas fa-table-tennis' => 'table-tennis'),
array('fas fa-tablet' => 'tablet'),
array('fas fa-tablet-alt' => 'tablet-alt'),
array('fas fa-tachometer-alt' => 'tachometer-alt'),
array('fas fa-tag' => 'tag'),
array('fas fa-tags' => 'tags'),
array('fas fa-tasks' => 'tasks'),
array('fas fa-taxi' => 'taxi'),
array('fas fa-terminal' => 'terminal'),
array('fas fa-text-height' => 'text-height'),
array('fas fa-text-width' => 'text-width'),
array('fas fa-th' => 'th'),
array('fas fa-th-large' => 'th-large'),
array('fas fa-th-list' => 'th-list'),
array('fas fa-thermometer-empty' => 'thermometer-empty'),
array('fas fa-thermometer-full' => 'thermometer-full'),
array('fas fa-thermometer-half' => 'thermometer-half'),
array('fas fa-thermometer-quarter' => 'thermometer-quarter'),
array('fas fa-thermometer-three-quarters' => 'thermometer-three-quarters'),
array('fas fa-thumbs-down' => 'thumbs-down'),
array('fas fa-thumbs-up' => 'thumbs-up'),
array('fas fa-thumbtack' => 'thumbtack'),
array('fas fa-ticket-alt' => 'ticket-alt'),
array('fas fa-times' => 'times'),
array('fas fa-times-circle' => 'times-circle'),
array('fas fa-tint' => 'tint'),
array('fas fa-toggle-off' => 'toggle-off'),
array('fas fa-toggle-on' => 'toggle-on'),
array('fas fa-trademark' => 'trademark'),
array('fas fa-train' => 'train'),
array('fas fa-transgender' => 'transgender'),
array('fas fa-transgender-alt' => 'transgender-alt'),
array('fas fa-trash' => 'trash'),
array('fas fa-trash-alt' => 'trash-alt'),
array('fas fa-tree' => 'tree'),
array('fas fa-trophy' => 'trophy'),
array('fas fa-truck' => 'truck'),
array('fas fa-tty' => 'tty'),
array('fas fa-tv' => 'tv'),
array('fas fa-umbrella' => 'umbrella'),
array('fas fa-underline' => 'underline'),
array('fas fa-undo' => 'undo'),
array('fas fa-undo-alt' => 'undo-alt'),
array('fas fa-universal-access' => 'universal-access'),
array('fas fa-university' => 'university'),
array('fas fa-unlink' => 'unlink'),
array('fas fa-unlock' => 'unlock'),
array('fas fa-unlock-alt' => 'unlock-alt'),
array('fas fa-upload' => 'upload'),
array('fas fa-user' => 'user'),
array('fas fa-user-circle' => 'user-circle'),
array('fas fa-user-md' => 'user-md'),
array('fas fa-user-plus' => 'user-plus'),
array('fas fa-user-secret' => 'user-secret'),
array('fas fa-user-times' => 'user-times'),
array('fas fa-users' => 'users'),
array('fas fa-utensil-spoon' => 'utensil-spoon'),
array('fas fa-utensils' => 'utensils'),
array('fas fa-venus' => 'venus'),
array('fas fa-venus-double' => 'venus-double'),
array('fas fa-venus-mars' => 'venus-mars'),
array('fas fa-video' => 'video'),
array('fas fa-volleyball-ball' => 'volleyball-ball'),
array('fas fa-volume-down' => 'volume-down'),
array('fas fa-volume-off' => 'volume-off'),
array('fas fa-volume-up' => 'volume-up'),
array('fas fa-wheelchair' => 'wheelchair'),
array('fas fa-wifi' => 'wifi'),
array('fas fa-window-close' => 'window-close'),
array('fas fa-window-maximize' => 'window-maximize'),
array('fas fa-window-minimize' => 'window-minimize'),
array('fas fa-window-restore' => 'window-restore'),
array('fas fa-won-sign' => 'won-sign'),
array('fas fa-wrench' => 'wrench'),
array('fas fa-yen-sign' => 'yen-sign')
)
);
return array_merge( $icons, $font_awesome_5 );
}
<?php
if ( file_exists( get_template_directory() . '/loprdCore/icons/font_awesome_5.php' ) ) {
require_once( get_template_directory() . '/loprdCore/icons/font_awesome_5.php' );
add_action( 'vc_base_register_front_css', 'omnis_vc_iconpicker_base_register_css' );
add_action( 'vc_base_register_admin_css', 'omnis_vc_iconpicker_base_register_css' );
function omnis_vc_iconpicker_base_register_css(){
wp_register_style( 'fontawesome-5', get_template_directory_uri() . '/css/icons/css/fontawesome-all.min.css', '' , '5.0.0');
}
add_action( 'vc_backend_editor_enqueue_js_css', 'omnis_vc_iconpicker_editor_jscss' );
add_action( 'vc_frontend_editor_enqueue_js_css', 'omnis_vc_iconpicker_editor_jscss' );
function omnis_vc_iconpicker_editor_jscss(){
wp_enqueue_style( 'fontawesome-5' );
}
add_action('vc_enqueue_font_icon_element', 'omnis_enqueue_font_awesome_5');
function omnis_enqueue_font_awesome_5($font){
switch ( $font ) {
case 'fontawesomenew': wp_enqueue_style( 'fontawesome-5' );
}
}
}
<?php
array(
'type' => 'dropdown',
'heading' => esc_html__( 'Icon library', 'omnis' ),
'value' => array(
esc_html__( 'Font Awesome', 'omnis' ) => 'fontawesome',
esc_html__( 'Font Awesome 5', 'omnis' ) => 'fontawesomenew',
esc_html__( 'Open Iconic', 'omnis' ) => 'openiconic',
esc_html__( 'Typicons', 'omnis' ) => 'typicons',
esc_html__( 'Entypo', 'omnis' ) => 'entypo',
esc_html__( 'Linecons', 'omnis' ) => 'linecons',
esc_html__( 'Mono Social', 'omnis' ) => 'monosocial',
esc_html__( 'Material', 'omnis' ) => 'material',
),
'admin_label' => true,
'param_name' => 'type',
'description' => esc_html__( 'Select icon library.', 'omnis' ),
),
array(
'type' => 'iconpicker',
'heading' => esc_html__( 'Icon', 'omnis' ),
'param_name' => 'icon_fontawesomenew',
'value' => 'fab fa-500px',
// default value to backend editor admin_label
'settings' => array(
'emptyIcon' => false,
// default true, display an "EMPTY" icon?
'type' => 'fontawesomenew',
'iconsPerPage' => 200,
// default 100, how many icons per/page to display, we use (big number) to display all icons in single page
),
'dependency' => array(
'element' => 'type',
'value' => 'fontawesomenew',
),
'description' => esc_html__( 'Select icon from library.', 'omnis' ),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment