Create an alert bar that can be edited like a normal post and placed anywhere in your site via the [fiatalert] shortcode.
|Author:||Fiat Insight (profile at wordpress.org)|
|WordPress version required:||3.0|
|WordPress version tested:||5.0|
|Added to WordPress repository:||10-06-2013|
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|Total downloads:||4 969|
Click to start download
This is the alert in action on a school website.
The Alert function is added directly into the WordPress dashboard.
Where will the alert appear?
The alert appears wherever you choose! Simply embed the shortcode
[fiatalert] in a page or post or embed
<?php echo do_shortcode('[fiatalert]');?> in a template file. No alert will be visible on your website until you create one using the “Alerts” menu in the dashboard.
How do I edit the style of the alert?
For more customization, override the styling of the classes
.fiat-alert h3 in your stylesheet. Use
!important if necessary.
How do I remove the alert?
Change the alert’s status to “draft” or delete the alert.
I can’t get the alerts to go away!
You must either change each alert’s status to “draft” and/or delete all the alerts so that no alert will be shown.
What if I create multiple alerts?
Only the most recent alert will be shown.
Can I save an alert for later?
Yes. Edit the alert and change it’s status to “draft” so that it is not published.
Updates to read me file.
Added FAQs link on the plugins page and updated FAQs.
Added widget support for shortcode
Added close “x” to remove alert bar (requires Bootstrap JS)
Added wp_reset_query() to correct issue with post titles
Tested for WordPress 5.0 compatibility. No future development is planned for this plugin.