Support » Plugin: Trading Signals Widget » [Trading Signals Widget] BWP Minify exclude CSS

  • ResolvedPlugin Author Barry Livingstone


    Users of this plugin –

    If you upload the update for (just released) and use BWPminify to minify your CSS files you will need to setup an exclusion in your Functions.php file.

    You should be simply able to do this by simply adding the code below to the end of your Functions.php file in your theme:
    (understand the 2nd and 3rd handles – ‘etc-css-handle’ for example – are dummy examples I put in the code example as reference as to how to deal with excluding multiple css files from minification).

    add_filter('bwp_minify_style_ignore', 'exclude_my_css');
    function exclude_my_css($excluded)
        $excluded = array('trading-signals-widget-style','etc-css-handle','another-css-handle');
        return $excluded;

  • The topic ‘[Trading Signals Widget] BWP Minify exclude CSS’ is closed to new replies.