---
title: "How to Add Button Link in a Cell of a WordPress Table?"
url: https://nexterwp.com/docs/add-button-in-wordpress-table/
date: 2023-04-11
modified: 2026-09-14
lang: en
author: "Aditya Sharma"
description: "A pricing table that ends in a column of prices leaves the visitor with nowhere to go. Any cell in the Data Table block can become a button, so each..."
image: https://nexterwp.com/wp-content/uploads/2024/05/add-button-in-wordpress-table-1024x519.jpg
word_count: 487
---

# How to Add Button Link in a Cell of a WordPress Table?

## Key Takeaways

- Nexter Blocks Data Table permite que cualquier celda se convierta en un botón, y cada fila puede llevar a una URL distinta al activar Button en el elemento Cell Content.
- Nexter Blocks Data Table requiere crear la tabla como Standard, con Start New Row y un Cell Content por columna, y luego pegar el destino en Button URL junto con Button Text opcional e Button Icon opcional.
- Nexter Blocks Data Table no admite botones en filas importadas desde CSV o Google Sheet, porque llegan como texto plano, y el estilo del botón se comparte en toda la tabla desde la pestaña Style.

A pricing table that ends in a column of prices leaves the visitor with nowhere to go.

Any cell in the Data Table block can become a button, so each row can lead somewhere of its own.

*For every Data Table setting in one place, see the [Data Table block guide](https://nexterwp.com/docs/add-data-table-in-wordpress/).*

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/blocks/wordpress-data-table/)

## Before You Start

- **Edition:** Free — works in Nexter Blocks (free) and with Nexter Blocks Pro.- **Block to enable:** Data Table, switched on under **Nexter > Blocks** in your WordPress dashboard.- **The links ready:** one destination per row you want to make clickable.

## Steps

- Add the **Data Table** block to your page and click **Design from Scratch**.

- In the **Table** panel, leave **Type** on **Standard**.

![The Table panel with Type set to Standard](https://nexterwp.com/wp-content/uploads/2026/09/data-table-type.webp)

- Open **Table Header**. Each item's **Action** is either **Start New Row** or **Cell Content** — start a row, then add one **Cell Content** item per column and type its heading.

![A Table Header item with the Action dropdown](https://nexterwp.com/wp-content/uploads/2026/09/data-table-header.webp)

- Open **Table Body** and do the same: a **Start New Row** item, then one **Cell Content** item per column with its **Text**.

![A Table Body cell item with the Text field](https://nexterwp.com/wp-content/uploads/2026/09/data-table-body.webp)

- In **Table Body**, open the **Cell Content** item that should hold the button and switch **Button** on.

![A Table Body cell item with the Button switch on](https://nexterwp.com/wp-content/uploads/2026/09/data-table-cell-button.webp)

- Set **Button Text** and paste the destination into the button's **URL**. Add a **Button Icon** if you want one.

- Repeat for the other rows, then publish.

![A table where the last column holds a button in each row](https://nexterwp.com/wp-content/uploads/2026/09/data-table-fe-button.webp)

## What Each Cell Offers

| Setting | What it does |
| ------- | ------------ |
| Text | Plain text for the cell |
| URL | Makes the cell's text a link |
| Button | Turns the cell into a button instead |
| Button Text | The words on the button |
| Button Icon | An optional icon next to the text |
| Add Custom Attributes | Extra HTML attributes, written as Key | value |

## How It Behaves

- The button is set per cell, so one row can have one and the next can be plain text.- The button renders as a link to the URL you enter, so it works like any other link on the page.- A cell's own **URL** field and its **Button** are different things: the first makes the cell text clickable, the second replaces it with a button.- Button styling is shared across the table from the Style tab rather than set per cell.

## Limitations

- There is one button style available, so every button in the table looks the same.- Buttons are added cell by cell, so a long table means a lot of repetition.- Rows imported from a CSV file or a Google Sheet cannot carry buttons — they arrive as plain text.- A button cell has no text of its own for search or sorting to match on.

## Troubleshooting

### The button shows but goes nowhere

The URL under the **Button** switch is the one that matters, not the cell's own **URL** field. Fill in the button's.

### The cell shows a link rather than a button

You filled in the cell's **URL** field. Switch **Button** on for a button instead.

### My imported table has no buttons

CSV and Google Sheet rows are plain text. Build the table as **Standard** if you need buttons.

## Related Docs

- [Put images in table cells](https://nexterwp.com/docs/insert-images-in-table-content-in-wordpress/)- [Build a comparison table](https://nexterwp.com/docs/comparison-table-in-wordpress/)- [Data Table block: all settings](https://nexterwp.com/docs/add-data-table-in-wordpress/)

## Frequently Asked Questions

**Q: What do I need before adding a button link in a WordPress table cell?**
A: The setup is simple, but it only works if the table is built with the Data Table block in Nexter Blocks. The page says the Free edition works, and the block must be switched on under Nexter > Blocks in your WordPress dashboard. It also helps to have one destination ready for each row you want clickable, because the button is set per cell, not for the whole table.

**Q: How do I make one cell in a WordPress table turn into a button instead of plain text?**
A: The key move is inside Table Body: open the Cell Content item for the cell you want and switch Button on. Then set Button Text and paste the destination into the button’s URL. That matters because the cell’s own URL field creates a text link, while Button replaces the cell content with an actual button. Nexter Blocks handles this per cell, so different rows can behave differently.

**Q: Can each row in a WordPress data table link to a different page?**
A: That is exactly what this setup is for. Any cell in the Data Table block can become a button, so each row can point somewhere else instead of sending every visitor to the same place. That makes it useful for pricing tables or comparison tables where one plan or item needs its own destination. The page also notes that button styling is shared across the table from the Style tab.

**Q: Why does my table show a link instead of a button?**
A: That usually means the cell’s URL field was filled in, but Button was not switched on. In this setup, those two fields do different jobs: URL makes the cell text clickable, while Button replaces it with a button. If you want the button look, turn Button on in that Cell Content item and put the destination in the button’s URL instead of the cell URL field.

**Q: Can I add buttons to a table imported from CSV or Google Sheets?**
A: Imported rows from CSV files or Google Sheets arrive as plain text, so they cannot carry buttons into the Data Table block. If buttons matter, build the table as Standard instead of relying on imported data. That also avoids another limitation from the page: button cells have no text of their own for search or sorting to match on.

**Q: What is the best way to build a pricing table with clickable buttons in WordPress?**
A: A Standard Data Table is the right choice when each price row needs its own call to action. The page opens with that exact use case: a pricing table that ends in prices leaves visitors nowhere to go, so adding a button in each row fixes that gap. For structure details, [the Data Table block guide](https://nexterwp.com/docs/add-data-table-in-wordpress/) covers all settings, and [Build a comparison table](https://nexterwp.com/docs/comparison-table-in-wordpress/) is useful if you are comparing options side by side.
