Changeset 1867355
- Timestamp:
- 05/02/2018 08:08:22 AM (8 years ago)
- Location:
- ss-font-awesome-icon/trunk
- Files:
-
- 2 edited
- README.txt (modified) (7 diffs)
- fa-icons.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ss-font-awesome-icon/trunk/README.txt
r1850212 r1867355 4 4 Plugin URI: http://sobshomoy.com/plugins/ss-font-awesome-icon 5 5 Author: Shiful Islam 6 Version: 3.1.26 Version: 4.0.0 7 7 Author URI: http://bn.hs-bd.com 8 8 Tags: Total font awesome icons, font awesome icon short codes, font awesome icon inside post, post inside icons 9 9 Requires at least: 3.0.1 10 Tested up to: 4.9. 410 Tested up to: 4.9.5 11 11 Stable tag: 3.1 12 12 License: GPLv2 or later … … 16 16 == Description == 17 17 This is quick helping plug-ins when you need some icon anywhere in WordPress site. Supported widget and post/page inside. Simple short code but strong support. 18 Just simply write with short code for any font awesome icons till version 5.8(Fontawesome).18 Just simply write with short code for any font awesome icons only version 5.0.0 to version 5.0.10(Fontawesome). Currently old version of fontawesome not supported. 19 19 Light weight and user friendly. Basic short code, very easy to use. 20 20 … … 26 26 https://fontawesome.com/icons?d=gallery 27 27 28 Also you can look at old version of fontawesome, should work with our new plugins version 3.1. 29 https://fontawesome.com/v4.7.0/icons/ 28 We're sorry to inform you, from version 4, we're unable to support fontawesome 4. 30 29 31 30 To implement below … … 34 33 35 34 You can use: 36 [icon name="umbrella" size="15" padding="2"] (This will provide you old version of icon like V4.7.0) or 37 [icon name="umbrella"] (This will provide you old version of icon like V4.7.0) or 38 [icon type="s" name="umbrella"] 35 36 [icon type="s" name="umbrella"] The font type is required for all of your icons 39 37 40 38 (This will provide you the new version font, new version required font type. If solid please write type="s" if font type regular you need to write type="r", same thing b for brand and if no more type required please remove "type" from your code) … … 47 45 You should use: 48 46 49 [icon name="twitter"] or50 47 [icon type="b" name="twitter"] All branded icons are now font type = b 51 48 … … 57 54 All of icons are in below list, grab your favorite icon and enjoy it! 58 55 59 https://fontawesome.com/icons?d=gallery or 60 61 https://fontawesome.com/v4.7.0/icons/ 56 https://fontawesome.com/icons?d=gallery 62 57 63 58 Find all type of icons and can use to WordPress post, page, widgets. … … 80 75 81 76 1. screenshot.png 77 78 ==Version 4.0.0== 79 Only support Fontawesome 5. Older version are not supporting from now onwards. 82 80 83 81 ==Version 3.1.2== -
ss-font-awesome-icon/trunk/fa-icons.php
r1850212 r1867355 2 2 /** 3 3 * @package Fontawesome Icons 4 * @version 3.14 * @version 4 5 5 */ 6 6 /* 7 7 Plugin Name: SS Font Awesome Icon 8 8 Plugin URI: http://sobshomoy.com/plugins/ss-font-awesome-icon 9 Description: All font-awesome icons you can create in your post inside or widgets. Easy to integrate in your post and page also on widget. Just go https://fontawesome.com/icons?d=gallery choose your icon and write [ icon type="b" name="facebook-f"] while you can see fontawesome icon is <i class="fab fa-facebook-f"></i>. This is new way to put icon for Fontawesome V5. But if you don't have any item type brand(b) or regular(r) or solid(s) just avoid this option. Your icon will be only [icon name="your-icon"].9 Description: All font-awesome icons you can create in your post inside or widgets. Easy to integrate in your post and page also on widget. Just go https://fontawesome.com/icons?d=gallery choose your icon and write [ icon type="b" name="facebook-f"] while you can see fontawesome icon is <i class="fab fa-facebook-f"></i>. This is new way to put icon for Fontawesome V5. 10 10 Author: Shiful Islam 11 Version: 3.1.211 Version: 4.0.0 12 12 Author URI: http://bn.hs-bd.com/ 13 13 */ … … 19 19 //include fontawesome cdn 20 20 function ss_font_awesome_icons_scripts() { 21 wp_ register_script('ss_fa_cdn_icons_jsmain', 'https://use.fontawesome.com/releases/v5.0.6/js/all.js', array());22 wp_enqueue_script('ss_fa_cdn_icons_jsmain');23 wp_register_script('ss_fa_cdn_icons_js_shim', 'https://use.fontawesome.com/releases/v5.0.6/js/v4-shims.js', array('ss_fa_cdn_icons_jsmain') );24 wp_enqueue_script('ss_fa_cdn_icons_js_shim');21 wp_enqueue_style('ss_fa_cdn_icons_jsmain', '<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/all.css" integrity="sha384-+d0P83n9kaQMCwj8F4RJB66tzIwOKmrdb46+porD/OvrJ+37WqIM7UoBtwHO6Nlg" crossorigin="anonymous">', array()); 22 //wp_enqueue_script('ss_fa_cdn_icons_jsmain'); 23 //wp_register_script('ss_fa_cdn_icons_js_shim', 'https://use.fontawesome.com/releases/v5.0.6/js/v4-shims.js', array('ss_fa_cdn_icons_jsmain') ); 24 //wp_enqueue_script('ss_fa_cdn_icons_js_shim'); 25 25 } 26 26 add_action( 'wp_enqueue_scripts', 'ss_font_awesome_icons_scripts' );
Note: See TracChangeset for help on using the changeset viewer.