# Adding and editing actions

> How to add buttons to your menu, what each action type does, and how to use placeholders such as {page_title} and {product_name} in prefilled messages.

Source: https://www.dna88.com/help/fab-pro-actions/  
Section: Floating Action Buttons Pro  
Updated: 2026-12-04

Actions are the buttons inside your floating menu. Each action opens one channel or tool, such as a WhatsApp chat, a phone call or a contact form.

## Add an action

1. Go to **Floating Action Buttons → Action Menu** .
2. In the **Actions**  card, click **Add action** .
3. Choose a type from the list. Each type has a short description.
4. Fill in the action's settings, such as the phone number or email address.
5. Click **Done** , then **Save** .

Note

Screenshot coming soon: the "Add action" type picker open in the Actions card, and the settings of a selected WhatsApp action (Label, phone number, Prefilled message, Button colour, Icon) – admin.php?page=floating-action-button-menu

## Settings every action has

- **Label** : the text next to the button, 1 to 60 characters.
- **Button colour** : the background colour of the button.
- **Icon** : choose a built-in icon, or click **Choose custom image**  to use an image from your Media Library.
- **Open in new tab** : Link actions only.

Pro adds a few more options to each action. They are covered in other articles:

- **Badge** : a short tag such as "New" or "24/7" (see _Style and Animation_ ).
- **Available** : show the action only during or outside opening hours (see _Visibility, Targeting and Schedule_ ).
- **On desktop, show a QR code to continue on phone**  (see _Per-page overrides, desktop QR codes and translations_ ).

## Contact channels

![A phone screen showing the open menu with WhatsApp, call, email, message, help articles and booking buttons](https://www.dna88.com/wp-content/uploads/2026/12/fab-front-mobile.webp)

| Action | What you enter |
| --- | --- |
| **WhatsApp** | **Phone number (international format)**, an optional **Prefilled message** and an optional **Message on product pages** |
| **Call** | **Phone number (international format)** |
| **SMS** | Phone number and optional **Prefilled text** |
| **Email** | **Email address**, optional **Subject**, **Subject on product pages** and **Message** |
| **Telegram** | **Telegram username**, without the @ |
| **Messenger** | **Facebook page username or ID** |
| **Viber** | Phone number. Visitors need the Viber app, so consider showing this one on phones and tablets only. |
| **Slack**, **Microsoft Teams**, **Signal**, **Signal group**, **LINE**, **Zalo**, **Snapchat**, **X (Twitter) message** | The link, username, ID or number shown in the help text under each field |
| **WeChat** | **WeChat ID** and an optional **QR code image**. Visitors see your ID with a **Copy ID** button. |
| **Social profile** | **Profile address**, for example your Instagram or TikTok page |

Warning

Phone numbers must include the country code, for example +44 7700 900123. Spaces, dashes and brackets are fine. A national number such as 07700 900123 is rejected.

## Links and page tools

- **Link** : opens any **Web address** .
- **Booking** : opens your **Booking page address** .
- **Map** : enter an **Address or place name**  or a **Maps link** . Under **What the button opens** , choose Google Maps (show the place), Google Maps (directions) or Waze.
- **Download file** : enter a **File address**  from your Media Library. You can also tick **Open in the browser instead of downloading** .
- **Share** : under **Share to** , choose Facebook, X, LinkedIn, WhatsApp, Email, Pinterest, Telegram, LINE, VK, Reddit, the **Browser share menu**  and/or **Copy link** .
- **Site search** : opens a search box inside the menu.
- **Live chat** : opens a chat widget that is already on your site, such as WPBot. Under **How to open the chat** , either click an element (CSS selector) or call a JavaScript function.
- **Back to top** , **Scroll to bottom** , **Scroll to section**  (enter the section's HTML anchor), **Previous page**  and **Print page** .

## Contact form

The **Contact form** action opens a short form inside the menu. Visitors enter a name, email, an optional phone number and a message.

![The contact form open inside the floating menu with Name, Email, Phone and Message fields](https://www.dna88.com/wp-content/uploads/2026/12/fab-contact-form.webp)

Settings:

- **Send messages to** : leave empty to use the site admin email.
- **Email subject**  and **Email subject for product pages** .
- **Ask for a phone number (optional for visitors)** .
- **Consent checkbox text** : if set, visitors must tick the box before sending.
- **Thank-you message** .

With Pro you can also add **Extra form fields** and an **Auto-reply to the visitor**. Every message is saved in **Leads**. See _Leads inbox, follow-ups and webhook_.

Spam protection is built in. You don't need a captcha.

## Knowledge base

The **Knowledge base** action opens a help panel. Visitors search your articles without leaving the page.

![The Knowledge base panel open in the menu, showing search results for "room"](https://www.dna88.com/wp-content/uploads/2026/12/fab-knowledge-base.webp)

Settings:

- **Panel heading**  (default "How can we help?").
- **Articles come from** : posts, pages, or your docs plugin's article type.
- **Only this category or tag (slug, optional)** .
- **Articles to show first (IDs, optional)**  and **Articles shown before searching** .
- **Search box placeholder**  and **Show a short summary under each article** .
- **"View all articles" link (optional)** .

With Pro, visitors can answer **Did this answer your question?** under the results. Searches that found nothing are listed in **Analytics**, so you know which articles to write next.

## Pro actions

![A WhatsApp chat popup card with the consultant's name, a greeting, a message box and a Start chat button](https://www.dna88.com/wp-content/uploads/2026/12/fab-pro-chat-popup.webp)

- **Chat popup (WhatsApp / Messenger)** : a friendly chat card with your name, photo and greeting. Visitors type their question and continue in WhatsApp or Messenger. Settings include **Continue the chat in** , **Name shown in the card** , **Line under the name** , **Photo or logo** , **Greeting** , **Let visitors type their message in the card (WhatsApp)**  and **Button text** .
- **Open a popup** : opens a popup made with Elementor Pro, Popup Maker or Poptin, or any element you name by CSS selector. Choose the tool under **Popup made with** , then enter the **Popup ID** , **Poptin on-click link**  or **CSS selector to click** .
- **Embedded page (iframe)** : shows a booking calendar, video or survey inside the menu. Enter the **Page to show (https)** , a **Frame title**  and a **Height (px)** .
- **Custom JavaScript** : runs your own code when the button is clicked. Only administrators can set it.
- **Cart** , **Checkout** , **Out-of-stock inquiry**  and **Order support** : shop actions for WooCommerce stores. See _WooCommerce selling tools_ .

## Placeholders

Prefilled messages and subjects can include placeholders. They are filled in when the visitor clicks.

| Placeholder | Becomes |
| --- | --- |
| `{page_title}` | The title of the page the visitor is on |
| `{page_url}` | The address of that page |
| `{site_name}` | Your site's name |
| `{product_name}`, `{product_sku}`, `{product_price}`, `{product_url}` | Product details (WooCommerce product pages only) |
| `{variation}` | The options the shopper chose, such as size or colour |
| `{order_number}` | The order number (Order support action only) |

For example, a WhatsApp message of _Hi! I have a question about {page\_title}_ tells you which page the visitor was reading.

Tip

Put your most important channel first. Visitors on phones tap the first buttons most.
