The plugin doesn’t support doing that, and it wouldn’t be a good idea to block it. It doesn’t change often, but it does change with some updates, so you’d have to manually “fix” your style.css each time.
If you really wanted to do it you could probably write a plugin that hooks into the css loading routines in WP and removes it from the list, but that’s an ugly hack.
Modern websites use lots of small css files, they all get cached in the browser anyway, so no real harm in having them.
Sorry, @gregross, I didn’t mean to add an option to block/unload jlad-frontend.css. Instead, I’m looking for a way to block it via functions.php, like:
function dez_remover_estilos_dashboard() {
wp_dequeue_style( 'noticons' );
wp_dequeue_style( 'akismet-font-inter' );
wp_dequeue_style( 'akismet-admin' );
wp_dequeue_style( 'sc-icon-css' );
wp_dequeue_style( 'akismet' );
}
add_action( 'admin_enqueue_scripts', 'dez_remover_estilos_dashboard', 999 );
I follow closely every plugin update, so “fixing” my style.css once a while isn’t an issue.
-
This reply was modified 1 year, 11 months ago by
Rodrigo.
-
This reply was modified 1 year, 11 months ago by
Rodrigo. Reason: Fix code block