Appearance
Create Custom Column in WP Post/CPT/WooCommerce Table
A custom column adds information that isn't one of the standard post fields: a custom field, an ACF field, the featured image, a product's SKU or a shortcode. You can add custom columns to WP Posts and custom post type tables (Pro), WooCommerce tables (Pro) and FluentCart tables (Free).
Add a custom column
- Open the table and go to the Table Rows tab.
- On the banner, click Edit query (WP Posts tables) or Source settings (WooCommerce and FluentCart tables).
- Open Add new column.
- Enter a Column name and a Column key. The key can't be changed after you add the column.
- Choose the column Type and, if needed, its Responsive visibility.
- Scroll to Dynamic post data (WP Posts) or Dynamic column data (WooCommerce and FluentCart).
- Choose a Field type, then fill in the Field value.
- Click Add column.
The new column appears in the rows grid. Click Preview in the editor header to see it on the front end.
Which field type to choose
| You want to show | Field type | Guide |
|---|---|---|
| A custom field (including Meta Box, JetEngine, Toolset or Pods fields) | Post Meta | Post meta field |
| An ACF field | Advanced Custom Fields (ACF) | ACF field integration |
| The featured image | Featured Image | Featured image |
| A link, a button, HTML or a shortcode built from the post's data | Shortcode / Computed Value or HTML | Shortcode / computed value or HTML |
| Price, SKU, stock, quantity box, Buy Now button or average rating | Product Data | Dynamic columns reference |
| Author, date, short or long description of a product | Post Data | Dynamic columns reference |
| Product categories, tags, brands or other terms | Product Taxonomy | Dynamic columns reference |
Product Data, Post Data and Product Taxonomy are only offered on WooCommerce and FluentCart tables. Advanced Custom Fields (ACF) appears only when the ACF plugin is active, and not on FluentCart tables. See the Dynamic columns reference for every option.
On a WooCommerce reviews table, these columns show data of the product that was reviewed, for example its SKU, price or featured image.
Edit or remove a custom column
- Edit: on the Table Rows tab, open the column header menu and choose Column settings. Change the field type, value or any other column option, then click Save column.
- Remove: choose Delete column from the column header menu, or click Delete column in the column settings drawer.
Custom columns are kept when you click Update in Edit query of a WP Posts table, so changing post types or properties never removes them.