Home>Support>themes/vantage/js/jquery.flexslider.js – Will not minify

themes/vantage/js/jquery.flexslider.js – Will not minify

99 / 100Suggestions Summary
Consider Fixing:
Minify JavaScript

Minify JavaScript for the following resources to reduce their size by 4.4KiB (39% reduction).

Minifying http://www.xxxx.com/…t/themes/vantage/js/jquery.flexslider.js could save 4.4KiB (39% reduction) after compression.

relevant plugins
async, autoptimize, score booster, super minify, hypercache

(i tried other cache plugins but I get a better load and score with hyper)
********************
currently I am not using the slider. should i forgo trying to minify this? I have my layout etc the way I want. Later I may use the slider, but it is not vital at this point for me.

any ideas about this I would appreciate…

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 6 months ago Private Message - oldasdirtuser

    This is a private message.

  2. 9 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    Hi oldasdirtuser

    Apologies, I think I see the problem there. Let me follow up with the guys, I’ll report back as soon as I’m sure about what’s happening.

    Thanks

  3. 9 years, 6 months ago oldasdirtuser

    Great! Not a pressing matter, so big rush . :)
    Much appreciated.

  4. 9 years, 6 months ago oldasdirtuser

    oops .. NO big rush , sorry.

  5. 9 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for reporting. This will be resolved in the next version. If you’d like to hotfix, head to Appearance > Editor, edit functions.php and remove the following section:

    /**
     * Register all the bundled scripts
     */
    function vantage_register_scripts(){
    	wp_register_script( 'flexslider' , get_template_directory_uri() . '/js/jquery.flexslider.js' , array('jquery'), '2.1' );
    }
    add_action( 'wp_enqueue_scripts', 'vantage_register_scripts' , 5);
    

    Even a really small mistake in functions.php can cause your site to not load so it’s best to backup functions.php via FTP first and have a copy of it handy.

  6. 9 years, 6 months ago oldasdirtuser

    I feel bad after you researched and designed a “hotfix”; but with the added note of your warning regarding functions.php, AND my relative novice status, I will await the update.

    I’ll report resolution status after the next version allows flexslider minification.

    Thanks Andrew!

  7. 9 years, 6 months ago Andrew Misplon
    Hi, I Work Here

    If you hadn’t mentioned this it might have taken us a while to pick up on the duplication so we appreciate the feedback.

    For sure, approximately 40k or so isn’t a huge deal. It’ll be nice to remove but won’t be a game changer. Waiting for the update is 100%.

    Chat soon. Cheers.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More