• Resolved anikitas

    (@anikitas)


    Hello,

    First of all great plugin. Very simple and effective.

    I have a minor issue when i disable Load FontAwesome.
    All icons in templates use classes based on older Awesome Fonts library v4 which is great for compatibility.

    In share.php template, the copy icon use a class from Awesome Font v5 though.

    Could you change that to be like all the other ones?

    From:
    fas fa-copy
    to
    fa fa-copy

    Thanks in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pablo Pacheco

    (@karzin)

    Hello,
    Thanks!

    I didn’t change the icon because other users may not like it, but I’ve created a filter for you where you can change it ??

    You could use it like this in your case:

    add_filter( 'alg_wc_wl_fa_icon_class', function( $class, $icon ){
         if( 'copy' == $icon ){
              $class = 'fa fa-copy';
         }
         return $class;
    }, 10, 2 );

    I just updated the plugin. It should be available in on time with this new filter

    Thread Starter anikitas

    (@anikitas)

    Great,

    Thank you very much for your fast solution.

    The issue is when someone is already using Awesome Fonts below v5 e.g 4.7
    The filter is great workaround, so we can change it to something else.

    Thanks again!

    Plugin Author Pablo Pacheco

    (@karzin)

    Anytime ??
    Glad it worked!

    See you

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Copy Icon issue’ is closed to new replies.