Advertisement
daymobrew

YITH WooCommerce Wishlist - use latest version of FontAwesom

Sep 25th, 2015
492
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.90 KB | None | 0 0
  1. --- includes/class.yith-wcwl-init.orig.php  2015-09-21 10:34:01.000000000 +0100
  2. +++ includes/class.yith-wcwl-init.php   2015-09-25 20:36:06.634393600 +0100
  3. @@ -272,7 +272,8 @@
  4.             wp_register_style( 'jquery-selectBox', YITH_WCWL_URL . 'assets/css/jquery.selectBox.css' );
  5.             wp_register_style( 'yith-wcwl-main', YITH_WCWL_URL . 'assets/css/style.css' );
  6.             wp_register_style( 'yith-wcwl-user-main', str_replace( get_template_directory(), get_template_directory_uri(), $located ) );
  7. -           wp_register_style( 'yith-wcwl-font-awesome', YITH_WCWL_URL . 'assets/css/font-awesome.min.css' );
  8. +            $fa_version = apply_filters('yith_wcwl_font_awesome_version', '4.4.0');
  9. +           wp_register_style( 'yith-wcwl-font-awesome', 'https://maxcdn.bootstrapcdn.com/font-awesome/'.$fa_version.'/css/font-awesome.min.css' );
  10.  
  11.             wp_enqueue_style( 'woocommerce_prettyPhoto_css' );
  12.             wp_enqueue_style( 'jquery-selectBox' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement