Skip to content

AMP adapter plugin for the TablePress plugin for WordPress

License

Notifications You must be signed in to change notification settings

maciejmackowiak/amp-tablepress

 
 

Repository files navigation

AMP TablePress

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.

About

AMP adapter plugin for the TablePress plugin for WordPress

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 85.5%
  • JavaScript 14.5%