Quick Answer
Copy the table’s shortcode (for example [wptb id=123]) from Embed in the WP Table Builder builder. In the Divi Builder, add a Code module (or a Text module) to a row, paste the shortcode and save. You can also use the WP Table Builder module mentioned in the plugin’s Embed dialog. Click Save in Divi and view the page.
Divi is a WordPress theme and page builder from Elegant Themes. WP Table Builder tables can be added to any Divi layout, including the Theme Builder.
Requirements #
| Item | Details |
|---|---|
| Plan | WP Table Builder Free or Pro |
| Theme or builder | Divi theme or the Divi Builder plugin |
| A saved table | See How to Create Your First Table in WP Table Builder if you do not have one yet |
| Time needed | About 2 minutes |
Step 1: Copy the table shortcode #
- Go to WP Table Builder > All Tables and click Edit under your table.
- Click Embed in the top bar and click Copy next to the shortcode.
Step 2: Add a module in Divi #
- Open the page and click Enable Visual Builder (or edit it in the backend builder).
- Click the gray + inside a row to add a module.
- Choose the WP Table Builder module if it appears in the list, or the Code module.

Step 3: Paste the shortcode #
Paste the shortcode into the module’s content field and click the green check mark to save the module.

Step 4: Save and check the page #
Click Save in the bottom bar of the Divi Builder, then view the page. Divi’s builder may not run every table script, so check the live page for search, sorting and responsive behavior.
Troubleshooting #
- The table looks different from the builder: Divi’s styles can affect tables. Turn on Disable theme styles under WP Table Builder > Settings > General. See How to Disable ‘Theme Styles’ For Table.
- The table is too wide on phones: turn on horizontal scrolling or responsive mode.
Frequently asked questions #
Does WP Table Builder work with Divi?
Yes. Paste the table shortcode into a Code or Text module, or use the WP Table Builder module, then save the page.
Can I add a table to a Divi Theme Builder template?
Yes. Add a Code module with the table shortcode to the template, for example a post template or footer.
Why do Divi styles change my table?
Divi applies its own styles to tables. Turn on Disable theme styles in WP Table Builder settings to keep the table’s own design.