This is an experimental adapter plugin for WordPress to make the TablePress plugin compatible with AMP when used with the official AMP plugin. Instead of using jQuery DataTables as normally provided by TablePress, this plugin uses a fork of Simple-DataTables via amp-script
on AMP pages. The AMP plugin must be in either Standard or Transitional modes; support for the AMP plugin's Reader mode has not been implemented.
To install from source, be sure to npm install
. To create a plugin ZIP, run npm run build
.
Use with the latest development version of the AMP plugin (especially changes in ampproject/amp-wp#3034). Performance may be degraded until ampproject/worker-dom#609 is live. In the immediate term, you may need to run AMP.toggleExperiment('amp-script')
in your browser console until the origin trial is over.