How To Show Custom Notification Message In WordPress Admin Panel

Have you ever noticed alert and error notification messages in the top of your WordPress admin panel? It’s really easy to show your own custom notification message in your WordPress website’s admin panel by adding a little snippet from WordPress’ codex. There are two types of notifications – updated (green) & error (red).

Add following snippet to your current theme’s functions.php file:

You can replaced updated div class with error class to show a custom error message.

3 Comments

  1. morteza September 12, 2014
  2. hmz12 September 22, 2014

Leave a Reply