I’ve found that the best method is to do a view source then add the scripts to W3 in the same order they are listed in the source using the same url including the query string.
Most problems are from plugins or themes that output javascript inline. I try to move these to a custom.js file that is always listed last on W3.
If any scripts break when when minified either leave them out of minify or use combine only.
Related Posts:
- W3 Total Cache: Load CSS asynchronously for better PageSpeed score? [closed]
- How do you avoid caching during development?
- Could the WP script/style loader be used to concatenate and gzip scripts and styles in the front-end?
- Forcing reload of editor-style.css
- wp_enqueue_scripts, wp_register_scripts, wp_print_scripts: i’m confused
- Stylesheet switching and caching
- Can’t get rid of minify after uninstalling W3 Total Cache [closed]
- How to combine multiple CSS files and concatenate JavaScripts if WordPress recommends enqueuing them?
- How to solve ‘Eliminate render-blocking JavaScript and CSS in above-the-fold’ content for multiple files?
- WordPress Displaying Thumbnails Vertically
- Changing Font-Size based on specific Font thru javascript
- Collapsible button inside a ul list does work in jsfiddle but not in WP
- Relative path instead of absolute for wp_enqueue_script
- Handling URLs in WordPress application
- Can “ and “ tags be used in the HTML editor?
- JavaScript added as link/stylesheet
- Write text below a specific part of a sentence
- WordPress on localhost working, when sharing IP to connect receive err_connection_refused on .js and .css files
- Show enqueued CSS and Script in custom header
- How to insert html/css/javascript code to wordpress plugin
- Eliminate render-blocking JavaScript and CSS in above-the-fold content
- Older isotope portfolio rows shifting downward by 1 pixel on hover
- How to integrate my HTML and javascript into my child theme
- Shrink Header Image on Scroll
- How to create fa-bars animated menu
- Does costum code in the root folder get lost when wordpress is updated?
- CSS Minification
- Google PageSpeed Enable Compression isn’t working?
- How does W3 Total Cache Load Images In Stylesheet via CDN? [closed]
- Why is this jquery / java script code not working in mobile / in devices?
- Seperate functions.php for part of site
- How can I get the search form to be selected automatically?
- Implementing a simple slider in code?
- Cannot set property ‘className’ of null at setThemeFromCookie
- How to change “““ to “““?
- Conditionally enqueue a stylesheet based off of a javascript click event
- get_template_directory_uri() generates wrong path
- Remove CSS & JS from
- enqueing Javascript and CSS
- How to Add a Read-only Textbox With Text in it That Has a Button to Copy it?
- ACF Pro with SlickJS [closed]
- Show/Hide Div for Login Mask
- prevent HTML output if custom field is empty [closed]
- WordPress aggressively caching CSS
- Is it OK combined wp-include js, jquery, css? [closed]
- Plugins not showing up for custom template
- Equal height sections in custom Headway Theme
- How would I create the same popup in css and javascript as the one in contact button on the site https://www.sublimotionibiza.com/es/main.html [closed]
- How do I minify a plugins CSS/JS code?
- Combine CSS Files without plugin
- Button doesn’t work in the profile panel
- WordPress Rest Api access the header and extract stylesheets URL
- Invert porfolio item order
- How to make a function to play only on the home page?
- Embed widget from external source (Zendesk)
- Hide Tab Titles from Tabs Block
- How can I hide this custom slider while Elementor editing window is open?
- broken internal JavaScript and CSS files
- Getting and setting CSS variables with JQuery in WordPress backend fails
- Is there a way to cache mailchimp css on wordpress?
- Google Page Speed
- Unable to use Datepicker in a table when inserting a row
- How to properly hide the div of an inline collapsible button?
- Change the version of default style.css in wordpress
- Web Developer Console: “Slow network is detected.” with fonts
- Enqueue CSS and Script only if needeed
- Caching of combined CSS and JS fails because of losing MIME types through combining by PHP
- Fonts are parsed in one way but rendered in a different way
- How to display javascript banner in website header?
- Css style removed but still showing via CDN even after clearing browser cache and purging all caches for site
- How would I add this code to a single WordPress page?
- The placeholder text doesnt disappear
- Trouble with adding preloader to my home page index.html and index.js
- How to identify which javascript is being executed
- Import HTML code that loads css and javascript into specific page
- How to implement a JavaScript and CSS file for my WordPress homepage?
- What can cause JavaScript and CSS files to be minified?
- Bootstrap 4 Optimization
- Move main menu to top of screen
- How to remove audio player styles added by mediaelement.js JavaScript?
- Interactive maps in wordpress
- CSS messes up when CACHE is cleared
- Can I upload my HTML/CSS/Javascript game onto a WordPress page?
- How do I add JS and CSS to WP (Flatsome)
- “Plate” theme broken after update
- Styling not refreshing for old visitors on WordPress
- Busting Browser Cache when updating stylesheet of WordPress website
- How to implement max-font-size?
- How do I center this form in css?
- height style property doesn’t work in div elements
- CSS3 opacity gradient?
- Adding Google Translate to a web site
- CSS fixed width in a span
- Getting soft 404 errors (200 status) when caching plugins are enabled
- How to exclude certain code from style.css? [closed]
- whats happening with my index page?
- theme-independent CSS/JS files
- calling an additional css and js links for a custom page template
- Custom css code in wordpress [closed]
- Using Easy Google Fonts correctly and Droid Sans on Max OS X [closed]