---
title: "How to Add Coupon Code With Masked Link in WordPress?"
url: https://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://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

- Nexter Blocks Coupon Code block masks multiple links in WordPress, and the post says it hides long affiliate URLs with custom, user-friendly links.
- Coupon Code block uses Standard, a title field, a Code field, and Click as the Select Action, while the Redirect Link field can stay blank.
- Hide Link toggle and Link Masking Text control the hover text, and the Open URLs: Single/Multiple repeater lets a user add one or more actual URLs with + Add Link.

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://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://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.