Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joryhogeveen/comment-form-autofill

WordPress plugin: Autofill comment form fields by URL parameters.
https://github.com/joryhogeveen/comment-form-autofill

Last synced: 4 days ago
JSON representation

WordPress plugin: Autofill comment form fields by URL parameters.

Awesome Lists containing this project

README

        

# comment-form-autofill
WordPress plugin: Autofill comment form fields by URL parameters.

## Example:

Add the following parameters in your URL:

* `author=John%20Doe` prefills the name field with "John Doe"
* `[email protected]` prefills the email field with "[email protected]"
* `rating=4` prefills the WooCommerce rating stars.
* `#reviews` Anchor link to the reviews element

You can also set fields hidden or readonly when they are autofilled:

* `hidden=author,email` This will hide the author and email fields when a prefilled value is available.
* `readonly=author,email` This will set the author and email fields to read only when a prefilled value is available.

*Full URL:*
https://your.domain/product-page/?author=John%20Doe&[email protected]&rating=4#reviews