Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Display Simple Notices in WordPress

Last updated on by
Special WordPress Hosting offer for WPBeginner Readers
How to Display Simple Notices in WordPress

You may have noticed that some popular sites show notices to their users on the front-end? A user can then click on the close button and the notice disappears. These notices can be used to make important announcements, show new features, or to simply greet new users. They can also be used to improve user engagement and experience on your site. In this article, we will show you how to display simple notices in WordPress.

Displaying a simple site-wide notification in WordPress

Video Tutorial

If you don’t like the video or need more instructions, then continue reading.

First thing you need to do is install and activate the Simple Notices plugin. Upon activation, the plugin will add a new menu item labeled “Notices” in your WordPress admin sidebar.

To display a new notice on your site, you need to add it from Notices » Add New screen. Adding a new notice is very similar to adding a new post in WordPress.

You can give your notice a title, and enter notification text in the post editor. You can use all the same formatting options available in the post editor and even add links in your notification text. Simple notices plugin allows you to choose between five colors for your notification area (blue, red, orange, green, and gray). You can also decide whether or not you want to show the notice to logged in users from ‘Notice Configuration’ meta box.

Adding a new notice

When you are satisfied with the notice, you can go ahead and publish it.

Once a notice is published, it will start appearing on your site. These notices are in a fixed position meaning it will float with the user as they scroll down your website. Users can click on the close button to close the notice, and they will not be shown the notice again. For logged-in users, the notification ID is stored in their user meta table, and for non-logged in users it is stored in a cookie.

That was pretty simple wasn’t it? We hope this article helped you display simple notices on your WordPress site. To add announcement notices that automatically expire, you should try out the Ninja Announcements plugin.

For questions and feedback please leave a comment below or join us on Twitter.


Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »

Comments

  1. Nguyen Duc says:

    I love your jobs. Thank you

  2. Buddy says:

    Tried it but it had a conflict with Layer Slider so had to delete.

    • Vitas says:

      Maybe a Layer Slider conflict was my problem too. I had thought perhaps that it was because I have WP 3.8.1, and Simple Notices is only compatible up to 3.6

      • WPBeginner Support says:

        Nope it is compatible upto 3.8. The information about a plugin’s compatability is picked up by repository from their readme file. So unless a plugin author updates this information, it remains the same. Even if the plugin is compatible with latest versions.

  3. Stuart Wells says:

    My first thought is “if I create a notice once a month (perhaps to say a monthly bulletin is now available) would someone new to the site end up with loads of notifications because we have made umpteen notices over time?”

    If this what would happen?

    If so, sure I can manually remember to go and delete a notice that has been superceded, but like some mentioned about the Ninja one, I kind of want an expiry date after which the notice is no longer relevant?

  4. Minesh Rai says:

    No doubt the plugin is useful but it seems that the developer is not updating the plugin since 2012. It may cause issues with the latest version of wordpress ( I have not tried it on 3.8.1 ).

  5. Jimmy says:

    I have been looking for a decent plugin just like this. I tested this one on 8 different websites this morning. It only appears on one site. That site using the default 2012 theme, others using custom themes from Envato. Needless to say. plugin went in the trash. The Ninja plugin seems to better though. It did appear on all sites but messes up the headers in a bad way. I needed to unclick “use default styles” and create my own style sheet for the Ninja plugin to work correctly.

    I will most likely use the Ninja plugin on a few sites. Thanks for the heads up on that one. But I do not think either plugin is a good fit for a WordPress beginner.

    Thanks for the post and keep up the great work guys!

  6. Jason says:

    So what is the difference between this Notices and Ninja Announcements?

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.