This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

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

Resolved 7 replies premiumthemetheme-vantage
10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

7
  1. oldasdirtuser Private 10 years, 11 months ago

    This is a private message.

  2. Andrew Misplon Staff 10 years, 11 months ago

    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. oldasdirtuser 10 years, 11 months ago

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

  4. oldasdirtuser 10 years, 11 months ago

    oops .. NO big rush , sorry.

  5. Andrew Misplon Staff 10 years, 11 months ago

    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. oldasdirtuser 10 years, 11 months ago

    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. Andrew Misplon Staff 10 years, 11 months ago

    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.

Have a different question or issue?

Start New Thread