Table AJAX refresh

Some people use tables for something like a live ticker, or a live ranking table, that they update very often, e.g. during an event or sports game. This Extension adds an auto refresh mechanism to the page with the table, so that people viewing the table will get updates automatically. For this, the Extension will load the table again via an AJAX request every 30 seconds.

To use this Extension, just install and activate it like a regular WordPress plugin. After that, extend the Shortcode of the table shall be updated automatically to

[table id=1 ajax_refresh_seconds=30 /]

The new parameter in the Shortcode defines the interval for the automatic refresh in seconds. As each refresh triggers a request to the page, it is recommended to not make the intervall too small, as this can increase the load on the server.

If this Extension is helpful for you, please consider supporting further TablePress development with a donation. Thank you!

Top