Piklist makes it super easy to create admin notices in WordPress, usually with no PHP.
parts/notices/
folder create a new PHP file to hold your notice code. This file can be named anything you want.<?php
/*
Notice Type: info
Dismiss: true
*/
?>
This simple comment block, creates an admin notice in the WordPress “info” style. And allows the user to dismiss it.
<p>The site will be offline tomorrow night for maintenance.</p>
That’s it!
<?php
/*
Notice Type: info
Dismiss: true
*/
?>
<p>This website will be offline tomorrow night for maintenance.</p>
This documentation is a community effort. Please create an issue or pull request to help!