• Resolved kiditran

    (@kiditran)


    Hi team,

    I ask a question that why you guys don’t upgrade to font-awesome 5.x. I found that this version so popular at this time. Almost every other plugin used this version while you still use 4.7.0.

    When loading a theme, they will load 2 libraries 5.x & 4.7.0 version of font-awesome. So this’s not optimizing.

    Looking forward to hearing your meaning.

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    we’re fully awere of this problem; long story short, the answer is “backward compatibility”
    There is no easy way to update library and at the same time grant that icons choosen by our customer will be preserved

    For this reason we look forward to offer customers an option to choose among FontAwesome 4.7 and 5.x, in order to grant max compatibility, and switch by default to 5.x only for new installations

    We will takle this task as soon as new major version is released

    Thread Starter kiditran

    (@kiditran)

    Hi author team.

    Yep, it’s a great idea.

    I think the plugin should have an option that user can choose one of the library (4.7 or 5.x)

    Hope your team release soon in the next version.

    Thank you so so much.

    Plugin Author YITHEMES

    (@yithemes)

    Hope to fix this soon too!

    We are doing our best to improve our plugins. Our target is to develop and release the best free plugins for WooCommerce, but to achieve this we need your help. Please leave a good review to support us and help our growth ??

    I completely understand backward-compatibility problem, but maybe just provide a simple filter for developers to deregister font-awesome completely, since it has huge effect on site performance. We want to replace font awesome icons with our own icons, but I can’t find any simple way to achieve it. When I looked at your code all styles are hard-coded and font awesome is listed as a dependency, so I can’t disable it without disabling main styles.

    $deps = apply_filters( 'yith_styles_deps' );
    wp_register_style( 'yith-wcwl-user-main', $style_url, $deps, $this->version );
    Plugin Author YITHEMES

    (@yithemes)

    Hi @deothemes

    Thank you for your input; you’re right, indeed
    We will add the following filter starting from next minor release

    yith_wcwl_main_style_deps
    

    Any progress to remove font awesome?
    Also does it load styles if we don’t use them.

    For example if we don’t use shop loop, does it load shop loop styles?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Updating font-awesome 5.x’ is closed to new replies.