ACF Table Field Pro Add-on Docs

Select plugin version:

Shortcode

The WordPress shortcode allows you to insert tables into the WordPress editor content and into shortcode fields of page builders.

Possible alternate Table Field plugin version for Secure Custom Fields

If the situation arises that the Table Field plugin needs to have a separate version for Secure Custom Fields, the name of the shortcode remains the same for ACF and SCF. The idea here is that it would be very time-consuming to change the name of the shortcodes in the website’s admin area.

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"]

Previous and Next Sources

Parent sources