Hi A.J.,
you can add a admin.css file to your backend a hide this message by css:
functions.php:
add_action( 'admin_enqueue_scripts', 'load_admin_style' );
function load_admin_style() {
wp_enqueue_style( 'admin_css', get_stylesheet_uri() . '/css/wp-admin.css', false, '1.0' );
}
Regrads
Ingo
Thread Starter
wp
(@ashraf-jibrael)
Thanks a lot, So I will add your code above on my functions.php file.
But about admin.css what i must do with it ?
Regards
A.J.
Thread Starter
wp
(@ashraf-jibrael)
I tried your code but it is not working, What must i add on a admin.css file
Regards
A.J.
Thread Starter
wp
(@ashraf-jibrael)
Hi sir,
Please,
I added your code on : functions.php
add_action( ‘admin_enqueue_scripts’, ‘load_admin_style’ );
function load_admin_style() {
wp_enqueue_style( ‘admin_css’, get_stylesheet_uri() . ‘/css/wp-admin.css’, false, ‘1.0’ );
}
and i created admin.css file also, but what must i put on it ?
Thanks
A.J.
Hey A.J.,
When you click the dismiss button it doesn’t remove the message? Could you try clearing your cache?
Thanks,
Gerroald