---
title: "How to Create an Alert Box in WordPress?"
url: https://nexterwp.com/docs/create-an-alert-box-in-wordpress/
date: 2024-12-04
modified: 2026-04-14
author: "Aditya Sharma"
description: "Are you looking to add an alert box in WordPress? An alert box can be a powerful tool for conveying important information, announcements, or calls to action in a visually..."
image: https://nexterwp.com/wp-content/uploads/2024/12/How-to-Create-an-Alert-Box-in-WordPress_-1024x519.jpg
word_count: 180
---

# How to Create an Alert Box in WordPress?

## Key Takeaways

- Nexter Blocks Message Box block creates a visually appealing alert box in WordPress for important information, announcements, or calls to action.
- Message Box block adds a title from the Title section and a description by enabling the Description toggle.
- Message Box block includes a Main Icon toggle for an icon and a Close Button toggle for a close button, with further customization in the Style tab.

Are you looking to add an alert box in WordPress? An alert box can be a powerful tool for conveying important information, announcements, or calls to action in a visually impactful manner.

With the Message Box block from Nexter Blocks, you can make a visually appealing alert box in WordPress.

*To check the complete feature overview documentation of the Nexter Blocks Message Box block,* [click here](https://nexterwp.com/docs/add-a-message-box-in-wordpress/).

***Requirement  - This block is a part of the Nexter Blocks, make sure it's installed & activated to enjoy all its powers.***

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/blocks/wordpress-table-of-contents/)

To do this, add the Message Box block and follow the steps.

1. From the **Title **section, you can add a title for the alert box.

2. From the **Description** toggle, you can add a description to the alert box.

By enabling the **Main Icon **toggle, you can add an icon to the alert box.

Then, from the **Close Button** toggle, you can add a close button in the alert box.

From the Style tab, you customize the alert box further.

Now, you can see a beautiful alert box.

![](https://nexterwp.com/wp-content/uploads/2024/12/messagebox-create-alert-box-demo.png)