Problem load all admin styles

[ad_1]

I think a specific function should be created to load the CSS styles in wp-admin.

In your plugin, the function wcusage_custom_admin_styles is called with add_action('admin_head', 'wcusage_custom_admin_styles'); but I think it is appropriate to load the styles only in your options page. What I mean is this:

https://gist.github.com/miniMAC/270e62ebf913f1c97c93d052f5732326

This avoids the problem of your styles affecting the serial interface of WordPress or WooCommerce, see screenshots of the problem.

Screenshot 2023-10-14 alle 20.29.41

I’am one of the developers of ACF 😉

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer