admin-styles.css ONLY settings page
-
This is a bad solution. You’re adding styles EVERYWHERE in the admin panel, not just on the plugin settings page.
Your styles are BREAKING the admin panel.
function creamy_enqueue_admin_scripts() {$_scripts_ver = ‘1.01’;
if ( is_admin() ) {
wp_enqueue_style( ‘creamy-admin-css’, plugin_dir_url( __FILE__ ) . ‘includes/admin/assets/css/admin-styles.css’, array(), $_scripts_ver );
}
}
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.