Save
This commit is contained in:
@@ -339,4 +339,13 @@ add_filter('autoptimize_html_after_minify', function($content) {
|
||||
$content = str_replace($site_url . '/wp-content/themes/', '/wp-content/themes/', $content);
|
||||
$content = str_replace($site_url . '/wp-content/uploads/', '/wp-content/uploads/', $content);
|
||||
return $content;
|
||||
}, 10, 1);
|
||||
}, 10, 1);
|
||||
|
||||
|
||||
/**
|
||||
* Include custom.css with max priority
|
||||
*/
|
||||
function cyber_enqueue_custom_css() {
|
||||
wp_enqueue_style( 'cyber-custom', get_template_directory_uri() . '/assets/css/custom.css', array(), null, true );
|
||||
}
|
||||
add_action( 'wp_enqueue_scripts', 'cyber_enqueue_custom_css', 999 );
|
||||
|
||||
Reference in New Issue
Block a user