Manually include the CSS
-
Dear developers, thank you for a great plugin!
May I please ask for an additional option: to Manually include the CSS and not load the <link rel=’stylesheet’ id=’cookie-notice-front-css’ href=’https://www.domain.name/wp-content/plugins/cookie-notice/css/front.min.css’ type=’text/css’ media=’all’ /> in the header of the website?The CSS is quite small and
Thank you.
Ivanp.s. I know this could be done with the help of:
add_action(‘wp_print_styles’,’dequeue_my_CSS’, 100);
function dequeue_my_CSS() {
wp_dequeue_style(‘cookie-notice-front’);
wp_deregister_style(‘cookie-notice-front’);
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Manually include the CSS’ is closed to new replies.