Skip to content

Commit 6945fe4

Browse files
author
Antti Kuosmanen
committed
WordPress.org release, tweak the readme.txt, add some icons and screenshots
1 parent f868037 commit 6945fe4

9 files changed

Lines changed: 29 additions & 4 deletions

assets/banner-1544x500.png

18.9 KB
Loading

assets/banner-772x250.png

13.8 KB
Loading

assets/icon-128x128.png

5.56 KB
Loading

assets/icon-256x256.png

6.54 KB
Loading

assets/screenshot-4.png

252 KB
Loading

inc/wplf-form-validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function wplf_validate_required_empty( $return ) {
3232
$required = explode( ',', get_post_meta( $_POST['_form_id'], '_wplf_required', true ) );
3333
$fields_empty = array();
3434
foreach( $required as $key ) {
35-
if( ! array_key_exists( $key, $_POST ) || empty( trim( $_POST[$key] ) ) ) {
35+
if( ! array_key_exists( $key, $_POST ) || empty( $_POST[$key] ) ) {
3636
$fields_empty[] = $key;
3737
}
3838
}

readme.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ WordPress.org plugin directory coming soon...
4747
### Submissions view
4848
![Submissions](/assets/screenshot-3.png)
4949

50+
### Single submission view
51+
![Submissions](/assets/screenshot-4.png)
52+
5053
## Filter / Action API
5154

5255
### Action: wplf_post_validate_submission

readme.txt

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
=== WP Libre Form ===
22
Contributors: Zuige
3-
Tags: Contact, Form, Lead, Collector
3+
Tags: Contact, Form, Lead, Collector, HTML, Builder
44
Donate link: https://github.com/anttiviljami
55
Requires at least: 4.2
66
Tested up to: 4.4.2
@@ -10,7 +10,27 @@ License URI: http://www.gnu.org/licenses/gpl-3.0.html
1010

1111
== Description ==
1212

13-
A better contact form builder and lead collector
13+
Use standard HTML5 markup to create fully functional forms for WordPress
14+
15+
**Features**
16+
17+
* Uses only HTML5 syntax to build forms. No GUIs, no shortcodes, no bullshit
18+
* Works with any valid HTML form. Just copy any form from any website and it will work. It's magic!
19+
* Include forms to posts/pages with a simple shortcode
20+
* Live preview your forms
21+
* Automatically detects and captures fields in any HTML form. Form values are saved as standard custom fields
22+
* It's pluggable. Add your own validation or automation with filters and action hooks.
23+
* Submit and validate forms via AJAX
24+
* Validates required fields automatically using the native HTML5 required attribute
25+
* Option to send a copy of submitted forms via email
26+
27+
**Contributing**
28+
29+
Please contribute to this project on Github
30+
31+
https://github.com/anttiviljami/wp-libre-form
32+
33+
Pull requests welcome!
1434

1535
== Installation ==
1636

@@ -27,10 +47,12 @@ None yet.
2747
1. Editing a Form
2848
2. Form displayed in the default Twentysixteen theme
2949
3. Submissions view
50+
4. Single submission view
3051

3152
== Changelog ==
3253

3354
Commit log is available at https://github.com/anttiviljami/wp-libre-form/commits/master
3455

3556
== Upgrade Notice ==
3657

58+
* 1.0 There's an update available to WP Libre Form that makes it better. Please update it!

wp-libre-form.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/**
33
* Plugin name: WP Libre Form
44
* Plugin URI: https://github.com/anttiviljami/wp-libre-form
5-
* Description: HTML form builder for WordPress
5+
* Description: A minimal HTML form builder for WordPress; made for developers
66
* Version: 1.0
77
* Author: @anttiviljami
88
* Author URI: https://github.com/anttiviljami/

0 commit comments

Comments
 (0)