Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form Plugins and AMP for WordPress #1378

Closed
RonaldF opened this issue Aug 29, 2018 · 3 comments
Closed

Form Plugins and AMP for WordPress #1378

RonaldF opened this issue Aug 29, 2018 · 3 comments

Comments

@RonaldF
Copy link

RonaldF commented Aug 29, 2018

Are there any known Form Plugins that work with the Official AMP for WordPress Plugin?

I know there are some add-ons created by the AMP for WP guys that work with their AMP Plugin, but I would rather stick with the Official AMP plugin.

I know hand-coding an AMP Form isn't too difficult, but when you develop many websites, it would be nice to have a form plugin that we could use to develop them faster.

Thanks,

Ronald

@westonruter
Copy link
Member

Jetpack's Contact Forms has been tested to work with the plugin successfully.

If using Gravity Forms, here's a basic shim to get submissions to work as expected: https://gist.github.com/westonruter/b2554073461707a88057bb86b6b603d6

We're planning to engage with form plugins to improve AMP compatibility, but in the mean time hopefully this gets you started.

@westonruter
Copy link
Member

westonruter commented Aug 30, 2018

I've also confirmed that Contact Form 7 will not work with AMP out of the box (yet). See #1356 (comment).

@westonruter
Copy link
Member

Here is an extension to the AMP plugin which adds basic support for Contact Form 7: https://gist.github.com/westonruter/3501016b0d44af45d878067b1856e023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants