WP Manifestindependent plugin directory
manifest / forms / comment-form-autofill

Comment form autofill

WordPress plugin: Autofill comment form fields by URL parameters.

by Jory Hogeveen · github.com/joryhogeveen/comment-form-autofill

0stars
1forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/joryhogeveen/comment-form-autofill/archive/refs/heads/master.zip

Declares an update source (JoryHogeveen/comment-form-autofill), so updates arrive through the plugin's own updater.

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=johndoe@gmail.com prefills the email field with "johndoe@gmail.com"
  • 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=johndoe@gmail.com&rating=4#reviews

Read the full README on GitHub →