• Hi,
    in one of my projects, I send values from ACF into Tablepress. However, when I change the ACF value, the value in table does not change. I need to manually update the table. Is there any way of fixing this?
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    How are you sending the data to TablePress? And where is the change not reflected? In the table data on the “Edit” screen, or in the table that is shown on the site’s frontend?

    Regards,
    Tobias

    Thread Starter Michal Paull

    (@m1sko)

    Hi,
    I use [acf field="{$field_name}" post_id="{$post_id}"] for displaying ACF inside the tables. The change is not shown on the frontend. For me as a WP logged user, I see the change properly.
    Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the clarification! This is caused by the TablePress internal caching then (dynamic content, e.g. from such Shortcodes, is only updated once daily, by default). To turn that off for this table, and always get the live data, please use the extended Shortcode

    [table id=123 cache_table_output=false /]
    

    on the page where you are showing the table (with the correct table ID, of course). You’ll probably want to do the same with all tables that contain such ACF fields.

    Thread Starter Michal Paull

    (@m1sko)

    Thanks a lot!
    That helped with my issue.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!

    Best wishes,
    Tobias
    ?
    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ACF fields not updating properly’ is closed to new replies.