Plugin info

Total downloads: 5,411
Active installs: 100
Total reviews: 1
Average rating: 5
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 2 language(s)
Contributors: 1
Last updated: 2/16/2022 (1414 days ago)
Added to WordPress: 5/18/2020 (5 years old)
Minimum WordPress version: 4.6
Tested up to WordPress version: 5.9.12
Minimum PHP version: 7.0

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 1414 days ago • 1 reviews

22/100

Is Lite Contact Form abandoned?

Possibly abandoned (last update 1414 days ago).

Compatibility

Requires WordPress: 4.6
Tested up to: 5.9.12
Requires PHP: 7.0

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Kento Ajax Contact Form
Rating 5.0/5 (1 reviews)Active installs 20
Campaigns Integrator
Rating 0.0/5 (0 reviews)Active installs 0
Feedback Button – Jotform
Rating 4.0/5 (3 reviews)Active installs 500
Surveys by Feedback Cat
Rating 4.1/5 (11 reviews)Active installs 50
Taamul – WordPress Feedback Modal Plugin
Rating 5.0/5 (2 reviews)Active installs 10
Star Rating Feedback
Rating 2.0/5 (1 reviews)Active installs 10

Description

Lightweight and simple contact form with no additional user-unfriendly options. You can add the contact form to any page with a shortcode [contact_form]. Plugin is integrated with plugin Akismet and GreCAPTCHA which protect against spam.

Installation

In most cases you can install automatically from plugins page in admin panel.

However, if you want to install it manually, follow these steps:

  1. Download the plugin and unzip the archive.
  2. Upload the entire lite-contact-form folder to the /wp-content/plugins/ directory.
  3. Activate the plugin through the Plugins menu in WordPress.

Frequently Asked Questions

How to change sender and recipient email address?

By default, the plugin uses the administrator’s email address which is set in the WordPress general settings. It can be changed by adding attributes to the shortcode.

[contact_form sender="[email protected]" recipient="Blog Admin <[email protected]>"]

How to protect contact form against spam?

The plugin has no built-in spam protection features, but is integrated with other plugins which do that job in the best way. You can use for it plugin Akismet or/and GreCAPTCHA.

Will this plugin work with cache plugins?

Yes. The plugin was designed to work with cache plugins. It uses lightweight Vanilla JS script and WordPress REST API to process requests.

How to change the style of the contact form?

By default, the fields description is displayed in placeholders, but you can change it to labels.

[contact_form style="labels"]

If you want only to change CSS style just add selectors to file style.css in active theme or create new file lite-contact-form.css in active theme.

How to add custom fields?

The plugin is simple and there are no settings to add custom fields, you need to add PHP code e.g. in functions.php in the active theme.

Use the add_filter function to add a custom field, there are three filters that you can use.

function custom_fields_before() {
    return '<p class="lcf-validate">
        <input type="text" name="test" placeholder="Field with JS validation">
        <span class="lcf-tip"></span>
    </p>';
}
add_filter('lcf_before_fields', 'custom_fields_before');

function custom_fields_before_message() {
    return '<p>
        <input type="text" name="test" placeholder="Field without JS validation">
        <span class="lcf-tip"></span>
    </p>';
}
add_filter('lcf_before_message_field', 'custom_fields_before_message');

function custom_fields_after() {
    return 'some html code';
}
add_filter('lcf_after_fields', 'custom_fields_after');

You can validates the entire request or only your field.

function custom_field_validate($result, $field, $value) {
    if(empty($value)) {
        $result['status'] = 'blocked';
        $result['fields'][] = array('field' => $field, 'message' => 'This field is required.');
    }
    return $result;
}
add_filter('lcf_validate_field_name', 'custom_field_validate', 10, 3);

function custom_validate_request($result, $fields) {
    if(...) {
        $result['status'] = 'error';
        $result['message'] = 'There was an error trying to send your message.';
    }
    return $result;
}
add_filter('lcf_validate', 'custom_validate_request', 10, 2);

There are two more filters that you can use to change the email subject and the message body.

function custom_mail_subject($subject, $fields) {
    return $subject;
}
add_filter('lcf_mail_subject', 'custom_mail_subject', 10, 2);

function custom_mail_message($message, $fields) {
    return $message;
}
add_filter('lcf_mail_message', 'custom_mail_message', 10, 2);

Review feed

No reviews available

Screenshots

No screenshots available

Changelog

1.1.6 (2022-02-16)

  • Minor improvements.

1.1.4 (2020-08-18)

  • Fixed Akismet API call.

1.1.2 (2020-08-05)

  • Minor improvements.

1.1 (2020-05-19)

  • Added a style attribute for shortcode.
  • Enqueue CSS stylesheet from active theme.

1.0 (2020-05-18)

  • Initial release.