I've recently (latest update) been welcomed to my stats page with this annoying message:

enter image description here

Can anyone tell me how to remove that offensive red "did you know" message?


Looks like adding:

.gotonewdash {display: none;}

to wp-admin/css/wp-admin.min.css did the trick of hiding it, but according To Tom J Nowell, this is a big no-no. Does anyone have recommendation for doing this properly?

closed as off-topic by Mark Kaplun, Pieter Goosen, birgire, Johannes Pille, Nicolai Oct 5 '14 at 15:05

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic." – Mark Kaplun, Pieter Goosen, birgire, Johannes Pille, Nicolai
If this question can be reworded to fit the rules in the help center, please edit the question.


The next level up would be an inline style in the head using a hook in a dedicated plugin or theme functions.php:

function add_admin_css(){
    ?><style>.gotonewdash {display: none;}</style><?php
add_action( 'admin_head','add_admin_css');

Next level up after that would be an admin.css in a plugin with is_admin() and wp_enqueue_style

Not the answer you're looking for? Browse other questions tagged or ask your own question.