Table AJAX refresh Extension 1.0
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, download, install, and activate the Extension like a regular WordPress plugin. Then, on the page where you want to show the table, insert the extended Shortcode
[table id=1 ajax_refresh_seconds=30 /]
and change the
123 to the desired table ID.
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 interval too small, as this can increase the load and traffic on the server.
If this Extension is helpful for you, please consider supporting further TablePress development with a donation. Thank you!