Admin Notices


Creating Admin Notices with Piklist is very easy, and can be done without writing any PHP.

  1. Decide whether you are going to include your notice in a plugin or theme.
  2. Create a notices/ folder in your parts/ folder (e.g. /parts/notices/).
  3. Now, create a php file in your notices folder. This file will hold your notice code.
  4. At the top of the file, add the following comment block which tells Piklist this is an “updated” type notice, and can be dismissible by the user.
Notice Type: updated
Dismiss: true
<p>This is my notice</p>

View Tutorials →

Have ideas for improving the documentation?

This documentation is a community effort. Please create an issue or pull request to help!

Improve this page