Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Correct order to unify scripts with W3 Total Cache


  #1  
Old Jan 31, 2017, 04:34 PM
esbrinartot
 
31 posts · Nov 2012
I'm trying to minify JS and CSS with W3 Total Cache.

With Javascript I obtain next error in the js console:

ReferenceError: quicktagsL10n is not defined

Which is the correct order of the scripts? scripts that I have are next:

1- wp-includes/js/jquery/jquery.js?ver=1.12.4
2- wp-includes/js/jquery/jquery-migrate.min.js?ver=1.4.1
3- wp-content/plugins/cookie-law-info/js/cookielawinfo.js?ver=1.5.3
4- wp-includes/js/jquery/ui/core.min.js?ver=1.11.4
5- wp-includes/js/jquery/ui/widget.min.js?ver=1.11.4
6- wp-includes/js/jquery/ui/effect.min.js?ver=1.11.4
7- wp-content/themes/montezuma/javascript/smooth-menu.js?ver=4.7.2
8- wp-content/uploads/montezuma/javascript.js?ver=4.7.2
9- wp-content/plugins/google-analyticator/external-tracking.min.js?ver=6.5.0
10- wp-content/plugins/contact-form-7/includes/js/jquery.form.min.js?ver=3.51.0-2014.06.20
11- wp-content/plugins/contact-form-7/includes/js/scripts.js?ver=4.6.1
12- wp-content/plugins/simple-share-buttons-adder/js/ssba.min.js?ver=4.7.2
13- wp-content/plugins/lazy-load/js/jquery.sonar.min.js?ver=0.6.1
14- wp-content/plugins/lazy-load/js/lazy-load.js?ver=0.6.1
15- wp-includes/js/wp-embed.min.js?ver=4.7.2
16- wp-content/plugins/akismet/_inc/form.js?ver=3.2
17- wp-includes/js/comment-reply.min.js?ver=4.7.2
18- wp-includes/js/quicktags.min.js?ver=4.7.2


Which should be the correct order for javascript?

For CSS The standard order give no problems.


Rgds and thks in advance
  #2  
Old Jan 31, 2017, 05:28 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
does it happen if you disable all the plugins?
if no, add a couple in at a time till you hit the issue.

as for what order, beats me
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Feb 9, 2017, 02:18 PM
esbrinartot
 
31 posts · Nov 2012
Hi I got the order to minify all ths scripts without errors. It's not so difficult to do it.

However once everything is minified the page load slower. And probably because of the order to load the js and css scripts was not the correct. After spending so many time I quid.
  #4  
Old Apr 10, 2018, 03:05 AM
stocktrader
 
12 posts · Mar 2014
Hello,

I'm using the same plugin to speed up my site (W3 Total Chace) and at the endI disabled the minify module.
I'm wondering if you found a better solution than turning it off completely.
Thanks and regards,
Marco - StockTrader - https://readitalians.uk

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
W3 Total Cache not working in wordpress 3.5.2 and Atahualpa joshuamu Plugins & Atahualpa 10 Jul 8, 2013 02:15 AM
Should I Install W3 Total Cache Before My Plugins & Theme For Wordpress! highbids Plugins & Atahualpa 1 Jan 9, 2011 04:42 PM
Anyone using W3 Total Cache or CDN Tools with ATA? lhanft Plugins & Atahualpa 2 Dec 12, 2010 11:29 AM
[SOLVED] .swf in header widget area not displaying in correct order bplazar Header configuration & styling 13 Feb 25, 2010 10:54 PM
Caching WordPress with WP-Cache 2, WP Super Cache & PHP Speedy Flynn Installing & running WordPress 9 Dec 3, 2009 04:15 PM


All times are GMT -6. The time now is 01:54 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.