@@ 239-250 (lines=12) @@ | ||
236 | <td><label class="cb_label"><input type="checkbox" name="autoptimize_js_forcehead" <?php echo autoptimizeOptionWrapper::get_option( 'autoptimize_js_forcehead' ) ? 'checked="checked" ' : ''; ?>/> |
|
237 | <?php _e( 'Load JavaScript early, this can potentially fix some JS-errors, but makes the JS render blocking.', 'autoptimize' ); ?></label></td> |
|
238 | </tr> |
|
239 | <?php if ( autoptimizeOptionWrapper::get_option( 'autoptimize_js_justhead' ) ) { ?> |
|
240 | <tr valign="top" class="js_sub js_aggregate"> |
|
241 | <th scope="row"> |
|
242 | <?php |
|
243 | _e( 'Look for scripts only in <head>?', 'autoptimize' ); |
|
244 | echo ' <i>' . __( '(deprecated)', 'autoptimize' ) . '</i>'; |
|
245 | ?> |
|
246 | </th> |
|
247 | <td><label class="cb_label"><input type="checkbox" name="autoptimize_js_justhead" <?php echo autoptimizeOptionWrapper::get_option( 'autoptimize_js_justhead' ) ? 'checked="checked" ' : ''; ?>/> |
|
248 | <?php _e( 'Mostly useful in combination with previous option when using jQuery-based templates, but might help keeping cache size under control.', 'autoptimize' ); ?></label></td> |
|
249 | </tr> |
|
250 | <?php } ?> |
|
251 | <tr valign="top" class="js_sub"> |
|
252 | <th scope="row"><?php _e( 'Exclude scripts from Autoptimize:', 'autoptimize' ); ?></th> |
|
253 | <td><label><input type="text" style="width:100%;" name="autoptimize_js_exclude" value="<?php echo autoptimizeOptionWrapper::get_option( 'autoptimize_js_exclude', 'wp-includes/js/dist/, wp-includes/js/tinymce/, js/jquery/jquery.js' ); ?>"/><br /> |
|
@@ 289-300 (lines=12) @@ | ||
286 | <td><label class="cb_label"><input type="checkbox" name="autoptimize_css_datauris" <?php echo autoptimizeOptionWrapper::get_option( 'autoptimize_css_datauris' ) ? 'checked="checked" ' : ''; ?>/> |
|
287 | <?php _e( 'Enable this to include small background-images in the CSS itself instead of as separate downloads.', 'autoptimize' ); ?></label></td> |
|
288 | </tr> |
|
289 | <?php if ( autoptimizeOptionWrapper::get_option( 'autoptimize_css_justhead' ) ) { ?> |
|
290 | <tr valign="top" class="css_sub css_aggregate"> |
|
291 | <th scope="row"> |
|
292 | <?php |
|
293 | _e( 'Look for styles only in <head>?', 'autoptimize' ); |
|
294 | echo ' <i>' . __( '(deprecated)', 'autoptimize' ) . '</i>'; |
|
295 | ?> |
|
296 | </th> |
|
297 | <td><label class="cb_label"><input type="checkbox" name="autoptimize_css_justhead" <?php echo autoptimizeOptionWrapper::get_option( 'autoptimize_css_justhead' ) ? 'checked="checked" ' : ''; ?>/> |
|
298 | <?php _e( 'Don\'t autoptimize CSS outside the head-section. If the cache gets big, you might want to enable this.', 'autoptimize' ); ?></label></td> |
|
299 | </tr> |
|
300 | <?php } ?> |
|
301 | <tr valign="top" class="css_sub"> |
|
302 | <th scope="row"><?php _e( 'Inline and Defer CSS?', 'autoptimize' ); ?></th> |
|
303 | <td><label class="cb_label"><input type="checkbox" name="autoptimize_css_defer" id="autoptimize_css_defer" <?php echo autoptimizeOptionWrapper::get_option( 'autoptimize_css_defer' ) ? 'checked="checked" ' : ''; ?>/> |