WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

Edit:

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?

share|improve this question

closed as off-topic by Mark Kaplun, Pieter Goosen, birgire, Johannes Pille, ialocin 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, ialocin
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

share|improve this answer

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