We'll create fresh WordPress site with EP Admin Messages installed. You have 20 minutes to test the plugin after that site we'll be deleted.
With EP Admin Messages you can show messages in the admin area of WordPress. Each message can be shown at multiple places and can be limited to only be shown to specific user groups using capabilities.
This plugin requires that you add a config file to your themes folder. It’s mostly useful for theme developers that want tho show messages in the admin to the users of their site.
You have full control over where your messages will be shown.
Each message can be placed in one or several of the following places:
Each message can be limited to be shown only to users with a specific capability or role.
You can for example show one message to your editors, i.e. users with the capability “edit_posts”, and another message to your admins, i.e. users with the capability “manage_options”.
Messages can be limited to only be shown on posts that match a specific slug, or a slug that matches a wildcard.
This way it’s easy to for example show page specific information, letting a user know what a page is for, what they should put in in, and so on.
All settings are configured with a config file (view example config) that uses JSON and that you put in the themes directory.
This means that there are no settings for the user to change. This also means that you can add messages using your regular deploy method. Just upload an updated config file and you’re done. No database syncing needed; hooray!
To give you an idea what this plugin may be used for, I’ll give you a list of what I do with it.
EP Simple Messages can be used to…
{{user.firstname}}
or {{campaign.name}}
.The source code for EP Admin Messages is available at GitHub.