> ## Documentation Index
> Fetch the complete documentation index at: https://memberful.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Add a link to buy a plan

> Add a Memberful purchase link to your WordPress site or any other website so visitors can buy a plan, customize the button text, and track signups.

Memberful generates a purchase link for each plan price. Add the link to a page or button on your website so visitors can subscribe.

In this help article, we'll show you how to add a plan purchase link to WordPress or another website builder.

## Add a purchase link in WordPress

**1. Open a post or page**

From your WordPress dashboard, open the post or page where you want to add the purchase link.

**2. Open the Memberful menu**

Click **Memberful** in the WordPress editor.

**3. Select the shortcode**

Select **Buy Plan**.

![Select Buy Plan from the Memberful menu in the WordPress editor](https://mintcdn.com/memberful/wJEwKgftUVsHWEYv/images/plans/add-a-link-to-buy-a-plan/text-based-purchase-link.png?fit=max\&auto=format\&n=wJEwKgftUVsHWEYv\&q=85\&s=d33da9579756c724926a9e26b588e872)

**4. Choose a plan**

Choose the plan you want to sell from the dropdown.

**5. Enter the link text**

Enter the text for the link, such as `Become a member - $15/month`.

![Enter the text for the purchase link](https://mintcdn.com/memberful/nTKt73Dil0XemOnb/images/plans/add-a-link-to-buy-a-plan/purchase-link-text.png?fit=max\&auto=format\&n=nTKt73Dil0XemOnb\&q=85\&s=24611add3653baa7674ef8b118d52c22)

**6. Add the link**

Click **OK**.

### Add a link in the HTML editor

If you're writing HTML in the WordPress editor, click **Text**, then add the link with an HTML link tag:

```html theme={null}
<a href="https://demo.memberful.com/checkout?plan=140">Become a member</a>
```

## Add a purchase button with any website builder

**1. Open your plans**

In the Memberful dashboard, go to **Revenue** → **Plans**.

**2. Open the plan links**

Click **Links** for the plan you want to sell.

![Links button for a plan in the Memberful dashboard](https://mintcdn.com/memberful/DpIOylNdwyisnde_/images/plans/add-a-link-to-buy-a-plan/plan-links.png?fit=max\&auto=format\&n=DpIOylNdwyisnde_\&q=85\&s=7f41bd3d8adcbe742d20601a10a2b590)

**3. Choose a price**

Select the price you want to sell from the *Prices* dropdown.

**4. Copy the purchase link**

Click **Copy** next to the *Plan purchase link*.

![Plan purchase link for the selected price in the Memberful dashboard](https://mintcdn.com/memberful/DpIOylNdwyisnde_/images/plans/add-a-link-to-buy-a-plan/plan-urls.png?fit=max\&auto=format\&n=DpIOylNdwyisnde_\&q=85\&s=6ad20a9632af66b4b53b016bec37f94e)

**5. Add the link to a button**

Add the copied link to a button using the options provided by your website builder.

![Purchase link added to a website button builder](https://mintcdn.com/memberful/wJEwKgftUVsHWEYv/images/plans/add-a-link-to-buy-a-plan/button-builder.png?fit=max\&auto=format\&n=wJEwKgftUVsHWEYv\&q=85\&s=ace0e9988ba74acf96ac03a906be35d1)

If you're using WordPress and your theme doesn't have a button builder, install a plugin such as [MaxButtons](https://wordpress.org/plugins/maxbuttons/).

Place links or buttons in high-visibility areas such as your homepage or navigation, clearly communicate pricing in the button text, and use consistent messaging across your site so it aligns with your plans.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.