Plugin Directory

Changeset 1867355

Timestamp:
05/02/2018 08:08:22 AM (8 years ago)
Author:
wsaiful
Message:

Version upgraded to 4.0.0 and old fontawesome support removed.

Location:
ss-font-awesome-icon/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ss-font-awesome-icon/trunk/README.txt

    r1850212 r1867355  
    44Plugin URI: http://sobshomoy.com/plugins/ss-font-awesome-icon
    55Author: Shiful Islam
    6 Version: 3.1.2
     6Version: 4.0.0
    77Author URI: http://bn.hs-bd.com
    88Tags: Total font awesome icons, font awesome icon short codes, font awesome icon inside post, post inside icons
    99Requires at least: 3.0.1
    10 Tested up to: 4.9.4
     10Tested up to: 4.9.5
    1111Stable tag: 3.1
    1212License: GPLv2 or later
     
    1616== Description ==
    1717This 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).
     18Just 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.
    1919Light weight and user friendly. Basic short code, very easy to use.
    2020
     
    2626 https://fontawesome.com/icons?d=gallery
    2727 
    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.
    3029
    3130 To implement below
     
    3433 
    3534You 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
    3937 
    4038(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)
     
    4745You should use:
    4846
    49 [icon name="twitter"] or
    5047[icon type="b" name="twitter"] All branded icons are now font type = b
    5148
     
    5754All of icons are in below list, grab your favorite icon and enjoy it!
    5855
    59  https://fontawesome.com/icons?d=gallery or
    60 
    61 https://fontawesome.com/v4.7.0/icons/
     56 https://fontawesome.com/icons?d=gallery
    6257
    6358Find all type of icons and can use to WordPress post,  page, widgets.
     
    8075
    81761. screenshot.png
     77
     78==Version 4.0.0==
     79Only support Fontawesome 5. Older version are not supporting from now onwards.
    8280
    8381==Version 3.1.2==
  • ss-font-awesome-icon/trunk/fa-icons.php

    r1850212 r1867355  
    22/**
    33 * @package Fontawesome Icons
    4  * @version 3.1
     4 * @version 4
    55 */
    66/*
    77Plugin Name: SS Font Awesome Icon
    88Plugin 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"].
     9Description: 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.
    1010Author: Shiful Islam
    11 Version: 3.1.2
     11Version: 4.0.0
    1212Author URI: http://bn.hs-bd.com/
    1313*/
     
    1919//include fontawesome cdn
    2020function 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');
     21wp_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');
    2525}
    2626add_action( 'wp_enqueue_scripts', 'ss_font_awesome_icons_scripts' );
Note: See TracChangeset for help on using the changeset viewer.