This commit is contained in:
Roman Pyrih
2024-08-21 15:09:10 +02:00
parent 669370bc1c
commit 222724992c
159 changed files with 8639 additions and 3576 deletions

View File

@@ -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 );