Are you searching for a way to add alert messages in WordPress?
With alert messages, you will be able to notify your visitors about important promotions, updates, or other relevant information. Alert messages are an effective way to catch the attention of your visitors and ensure that they don’t miss any vital information.
In this post, I will show you how to add alert messages in WordPress. After reading the post, you will be able to add alert messages on your own.
Add Alert Messages In WordPress
You can add alert messages in different ways. For you, I will show three different ways to add alert messages. You can choose any of these procedures to add alert messages in WordPress site of yours.
Adding A Notification Box
To add alert messages by adding a notification box, first, you need to install Ultimate Blocks plugin from the WordPress plugins directory.
Don’t forget to activate the plugin after the installation is complete. Now, click on the ‘Add Block’ button and search for “Styled Box”.
Insert the block by clicking on it. You will see four options; click on “Notification Box”.
Write your alert message in the text field. Then you can choose any type of alert like information, proceed, warning, and danger.
If you like, you can also change the color scheme in the way you want. Just click on Settings -> Block and change the color scheme in the way you want.
After you are done creating your alert message, don’t forget to hit the Update or Publish button.
Adding A Popup
To add alert messages using popup, install and activate Popup maker plugin from the WordPress plugins directory.
Navigate to Popup Maker -> Create Popup. Write the popup name, Title, and alert message in the text field.
Scroll below, From the popup settings Triggers tab, click on “Add New Trigger”.
Here you can choose click open, time delay, and form submission. You can also set the stop popup to show according to action. Then click on the Add button.
Next, click on the Targeting Tab, and choose a condition.
If you like to add an alert message to a specific post, click on “Posts: Selected” and choose the posts where you want to show an alert message.
When you are done, hit the publish button.
If you wish, you can customize your warning from the settings.
Adding A Notification Bar
You can also add alert messages by adding a notification bar. First, install and activate Easy Notification Bar plugin from the WordPress plugins directory.
Now, navigate to Appearance -> Customize and click on “Easy Notification Bar”.
Make sure there is a tick in the “Enable Notification Bar” and scroll below the message. Write your desired alert message.
Scroll below at the Button text; write your text and leave your link in the Button Link.
If you wish, you can customize your text field and button field from here. Do it in the way you like. When you are done, hit the Update or Publish button from the top.
And you will see result like this.
I hope now you will be able to add alert messages in WordPress on your own. If you ask me to choose a procedure, I would say to go for Ultimate Blocks. As this plugin not only allows you to add alert messages but also provides you with 21+ awesome blocks to create the content you want.
If you liked the post, then please share it with your friends, and don’t forget to leave your thoughts in the comment box below.
Leave a Reply