Skip to content

How to Add a Message Box in WordPress?

Key Takeaways

  • Nexter Blocks requires the default WordPress Block editor to be active, plus the Nexter Blocks plugin installed and activated, before the Message Box block can be used.
  • Message Box block includes a Close Button, a Description, a Main Icon, and a Show Button toggle for adding a button to the message box.
  • Nexter → Blocks lets users search for Message Box and activate it, then add the block and choose Design from Scratch or Import Pre-Designed Template.
Table of Contents

A message box can significantly improve user experience by offering clear guidance and facilitating immediate interaction, whether through alerts, notifications, or confirmations.

With the Message Box block from Nexter Blocks, you can add different types of message boxes on your WordPress website.

Required Setup

  • Make sure the default WordPress Block editor is active. 
  • You need to have the Nexter Blocks plugin installed and activated.
  • Make sure the Message Box block is activated, to verify this visit Nexter → Blocks → and Search for Message Box and activate.

How to activate the Message Box Block?

Go to 

  • Nexter Blocks 
  • Search the block name and turn on the toggle.

Key Features

How to Use the Message Box Block?

Add the Message Box block to the page.

Then click on the Design from Scratch button to design the layout from scratch.

Note: By clicking on the Import Pre-Designed Template button, you can import a preset template and customize it as per your requirements.

Content

From the Title, you can add a title for the message box.

From the Description toggle, you can add a description to the message box.

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

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

Button

By enabling the Show Button toggle, you can add a button to the message box.



How to Style the Message Box Block?

You can style the Table Of Contents block from the Style tab. 

Title –  From here, you can manage the title style.

Description –  From here, you can manage the description style.

Main Icon – From here, you can manage the Main icon style.

Button – You’ll see this tab only when the Show Button toggle is enabled in the Layout tab. From here, you can manage the button style.

Close Button – From here, you can manage the close button style.

Background Options – From here, you can customize the message box background style.

Advanced options remain common for all our blocks, you can explore all it options from here.

View Advanced tab tutorial.

About the Author

Photo of Aditya Sharma CMO of Nexter
CMO at POSIMYTH Innovations · Nexter · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordPressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What do I need before adding a Message Box in WordPress?

The setup is simple, but the block only works in the default WordPress Block editor. Nexter Blocks must be installed and activated, and the Message Box block itself has to be turned on under Nexter → Blocks. That matters because the block won’t be available until it’s enabled, so activation is the first thing to check if it seems missing.

Why is the Message Box block not showing up in WordPress?

The usual cause is that the block has not been activated yet. In Nexter, go to Nexter → Blocks, search for Message Box, and turn on the toggle. The page also says the default WordPress Block editor must be active, so if you are editing in something else, the block won’t appear where you expect it.

Can I use the Message Box block without building it from scratch?

Nexter Blocks gives you two paths: Design from Scratch or Import Pre-Designed Template. That second option is useful when you want a fast starting point and then customize it for your own content. The page also links to import a preset template, which is the quicker route if you do not want to build every part manually.

What can I add inside a WordPress message box?

The Message Box block supports a title, description, main icon, close button, and button. That makes it more than a plain notice box because you can combine text with an action or dismissal control. If you want a cleaner alert, keep only the title and description; if you want interaction, enable the button or close button as needed.

How do I add a button to a message box in WordPress?

The Show Button toggle controls whether a button appears in the message box. Once that is enabled, the Style tab exposes a Button section so you can manage its appearance separately from the rest of the block. For a deeper walkthrough on that part specifically, Nexter links to add a button to the message box.

How do I style a WordPress message box without changing everything at once?

Nexter splits styling into separate controls for Title, Description, Main Icon, Button, Close Button, and Background Options. That separation matters because you can tune one part without affecting the others, which is useful when the text needs stronger emphasis than the icon or button. The Button tab only appears when Show Button is enabled in Layout.

Last reviewed: August 18, 2026

Related Docs