Select plugin version:
Shortcode
The WordPress shortcode allows you to insert tables into the WordPress editor content and into shortcode fields of page builders.
Shortcode
[tablefieldpro field="" post_id="" table_class=""]
Parameters
-
field=""
- Optional: no
- Type: string
- Description:
The table field name or field key
-
post_id=""
- Optional: yes
- Type: mixed
- Default: Defaults to false, which will use the current post.
- Description:
The post ID where the value is saved.
-
table_class=""
- Optional: yes
- Type: string
- Description:
A CSS class name used for the table HTML element.
Get table from current post, page or posttype
[tablefieldpro field=""]
Get table from another post
[tablefieldpro field="" post_id="123"]
Get table from option page
[tablefieldpro field="" post_id="option"]