/>
Note: Using the buttons below will erase any current settings within ', 'asyncjs'); ?>.
async or defer) that you wish to enable:', 'asyncjs'); ?>
/> Async /> Defer
async or defer it can break some jQuery functions, specifically inline scripts which require jQuery to be loaded before the scripts are run. Sometimes choosing a different method (async or defer) will work, otherwise it may be necessary to exclude jQuery from having async or defer applied.', 'asyncjs'); ?>
/> Async /> Defer />
async or defer applied during page load. (comma seperated list eg: jquery.js,jquery-ui.js)', 'asyncjs'); ?>
Please Note: This will exclude any JavaScript files which are contained within the files of the selected Plugin(s). External JavaScripts loaded by the selected Plugin(s) are not affected.', 'asyncjs'); ?>
/wp-content/plugins/some-plugin/ then and JavaScripts contained within this path will be excluded. If the plugin loads a JavaScript which is countained elsewhere then the Global Method will be used (ie async or defer)', 'asyncjs'); ?>
'; foreach ($plugins as $path=>$plugin) { $split = explode('/', $path); $text_domain = $split[0]; if ($text_domain != 'async-javascript') { //var_dump( $aj_plugin_exclusions ); $selected = (in_array($text_domain, $aj_plugin_exclusions)) ? ' selected="selected"' : ''; $output .= ''; } } $output .= ''; } else { $output .= '
'.__('No plugins found.', 'asyncjs').'
'; } echo $output; ?>Please Note: This will exclude any JavaScript files which are contained within the files of the selected Theme(s). External JavaScripts loaded by the selected Theme(s) are not affected.', 'asyncjs'); ?>
/wp-content/themes/some-theme/ then and JavaScripts contained within this path will be excluded. If the theme loads a JavaScript which is countained elsewhere then the Global Method will be used (ie async or defer)', 'asyncjs'); ?>
'; foreach ($themes as $path=>$theme) { $text_domain = $path; $selected = (in_array($text_domain, $aj_theme_exclusions)) ? ' selected="selected"' : ''; $output .= ''; } $output .= ''; } else { $output .= '
'. __('No themes found.', 'asyncjs').'
'; } echo $output; ?>wp_enqueue_script function. In some cases this is necessary for the functionality of the theme / plugin.', 'asyncjs'); ?>
may be able to provide support for these themes / plugins.', 'asyncjs'); ?>
supports then these will be listed below.', 'asyncjs'); ?>
may be able to provide support for please lodge a ticket at https://wordpress.org/support/plugin/async-javascript', 'asyncjs'); ?>