03Days
00HRS
00MINS
00SECS

WP30

How to Embed a WP Table Builder Table With a Shortcode

Quick Answer

Every WP Table Builder table has a shortcode in the format [wptb id=123], where 123 is the table ID. Save the table, click Embed in the builder, click Copy, then paste the shortcode into any post, page, widget or page builder that accepts shortcodes. You can also copy the shortcode from WP Table Builder > All Tables.

A shortcode is a short piece of text in square brackets that WordPress replaces with content when the page loads. The WP Table Builder shortcode is the universal way to show a table anywhere on your site, including places that have no dedicated block or widget.

Requirements #

ItemDetails
PlanFree and Pro
A saved tableThe shortcode appears after the first save
Time neededUnder 1 minute

Step 1: Copy the shortcode #

From the builder:

  1. Click Save if the table is new or has unsaved changes.
  2. Click Embed in the top bar.
  3. Click Copy next to the shortcode.
WP Table Builder Embed this table dialog showing the wptb id shortcode, the Copy button, and Gutenberg, Elementor and Divi options

From the table list: go to WP Table Builder > All Tables and click the copy icon next to the table’s shortcode. The shortcode is also shown at the bottom right of the builder.

Step 2: Paste the shortcode #

WhereHow
Block editor (Gutenberg)Add a Shortcode block and paste the shortcode, or use the WP Table Builder block instead. See How to Add a WP Table Builder Table in the Gutenberg Block Editor.
Classic EditorPaste the shortcode on its own line in the Visual or Text tab
WidgetsAdd a Shortcode widget (or a Text widget) to a sidebar or footer and paste the shortcode
ElementorUse the WP Table Builder widget, or the Shortcode widget. See How to Add a WP Table Builder Table in Elementor.
DiviUse the WP Table Builder module, or a Code or Text module. See How to Use ‘WP Table Builder’ with Divi.
Other page buildersAny shortcode or text element that runs shortcodes, for example in Beaver Builder, Bricks, Oxygen or Kadence
Inside another WP Table Builder tableAdd a Shortcode element to a cell
Theme templates (PHP)<?php echo do_shortcode('[wptb id=123]'); ?>

Step 3: Check the table on your site #

Preview or publish the page. One table can appear on as many pages as you like. When you edit and save the table in WP Table Builder, every page that uses the shortcode updates automatically.

Preview a table without adding it to a page #

Click Preview in the builder top bar, or Open next to Preview link in the Embed dialog, to see the table on a front-end preview page with your theme styles.

Frequently asked questions #

What is the WP Table Builder shortcode?

It is [wptb id=123], where 123 is the table ID. Paste it into any post, page or widget to display the table.

Where do I find a table’s shortcode?

Can I use the same table on several pages?

My shortcode shows as plain text. What is wrong?

Does the shortcode work with page caching?

Related docs #

What are your feelings

Updated on November 13, 2026