Simple Alert Box
A simple alert box plugin for WordPress.
by J.V Krakowski at 9 Realms Media · github.com/jvkrakowski/simple-alert-box-for-wordpress · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/jvkrakowski/simple-alert-box-for-wordpress/archive/refs/heads/master.zipSimple Alert Box is a lightweight and easy-to-use plugin that adds an alert box to any post or page.
Description
Simple Alert Box is a lightweight and easy-to-use plugin that allows you to add custom alert boxes to your WordPress site. Whether you need to display important announcements, promotions, or any other type of message, this plugin makes it simple and efficient.
Features
- Easy integration with WordPress
- Customizable alert box messages
- Support for custom background.
- Responsive design for mobile and desktop
- Lightweight and fast
Installation
- Download the plugin from the WordPress library.
- Activate the plugin.
Manual Installation
- Upload the
nrm-alert-boxfolder to the/wp-content/plugins/directory. - Activate the plugin through the 'Plugins' menu in WordPress.
Using the WordPress Admin Panel
- Navigate to
Plugins > Add New. - Click on
Upload Pluginand choose the zip file of the plugin. - Click
Install Nowand activate the plugin.
Usage
- After activating the plugin, go to the
Alertcustom post type and create a post. Copy the alert id seen on the dashboard. - Customize the alert message, type, and display settings.
- Use the shortcode
[alert_box]to display the alert box on your posts or pages.
Shortcode Example
[alert_box bg_color="#ffcc00" ids="1,2,3" link_text="Click to see Alert"]
Shortcode Attributes
bg_color: The background color of the alert box. Default is#f8d7da.ids: All the alert ID to display the content.link_text: The text for the link that triggers the alert box. Default isShow Alert.
Frequently Asked Questions
How can I customize the alert box?
Create a post in the Alert custom post type and add the shortcode to any post or page. Change the background with bg_color.
Can I use multiple alert boxes on a single page?
Yes, you can use multiple alert boxes on a single page by using the [alert_box] shortcode multiple times with different messages and types.
Screenshots
-
Alert Box Example:

Changelog
1.0.0
- Initial release
== Contributing ==x
- Fork the repository.
- Create your feature branch (
git checkout -b feature/your-feature). - Commit your changes (
git commit -m 'Add some feature'). - Push to the branch (
git push origin feature/your-feature). - Open a pull request.
License
This project is licensed under the GPLv2 or later License - see the LICENSE file for details.
Credits
- Developed by jvkrakowski
Contact
For support or inquiries, please open an issue on the GitHub repository.