---
title: "How to Add Coupon Code With Masked Link in WordPress?"
url: https://qa.nexterwp.com/docs/add-coupon-code-with-masked-link-in-wordpress/
date: 2024-12-31
modified: 2026-04-14
author: "Aditya Sharma"
description: "Do you want to create coupon codes with masked links in WordPress? Masked links allow you to hide long affiliate URLs with custom, user-friendly links. This not only makes the..."
image: https://qa.nexterwp.com/wp-content/uploads/2024/12/How-to-Add-Coupon-Code-With-Masked-Link-in-WordPress_-1024x519.jpg
word_count: 317
---

# How to Add Coupon Code With Masked Link in WordPress?

## Key Takeaways

- Utilizes the Coupon Code block from Nexter Blocks to create masked links for affiliate URLs in WordPress.
- Enables the Hide Link toggle and specifies masking text to enhance user experience when hovering over coupon codes.
- Allows adding multiple links using the + Add Link button within the Open URLs section of the Coupon Code block.

Do you want to create coupon codes with masked links in WordPress? Masked links allow you to hide long affiliate URLs with custom, user-friendly links. This not only makes the links look cleaner but can also improve your click-through rate by providing a more professional and appealing experience for users.

With the Coupon Code block from Nexter Blocks, you can easily mask multiple links.

*To check the complete feature overview documentation of the Nexter Blocks Coupon Code block,* *[click here](https://qa.nexterwp.com/docs/add-a-coupon-code-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://qa.nexterwp.com/nexter-blocks/blocks/wordpress-coupon-code/)

To do this, add the Coupon Code block to the page and follow the steps -

1. Select **Standard** from the **Coupon Type** section.

2. After selecting an appropriate style from the **Standard Style** section, add a title in the **Title** field.

You can leave the **Redirect Link** field blank.

3. Then add your coupon code in the **Code** field. 

4. After that, select **Click** from the **Select Action** section.

5. Then enable the **Hide Link** toggle from the **Extra Options** tab.

6. In the **Link Masking Text** field, add the text you want to show in the URL when hovering over the coupon code. This text will work as the mask for your URL.

7. Then you’ll see a repeater item under the **Open URLs : Single/Multiple** section, open it.

In the **Label** field, you can add a label for the link.

8. Then in the **Link** field, add your actual URL.

You can click on the **+ Add Link** button to add multiple links.

> *Note: If you’ve added any link in the Redirect Link field, that will be masked with your text as well.*

Now if someone hovers over the coupon code it will show your text in the URL but on click it will open your specified URLs. here.