Download the PHP package shazzad/wp-form-ui without Composer
On this page you can find all versions of the php package shazzad/wp-form-ui. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download shazzad/wp-form-ui
More information about shazzad/wp-form-ui
Files in shazzad/wp-form-ui
Package wp-form-ui
Short Description A Form library for WordPress plugin & theme development.
License MIT
Homepage https://github.com/shazzad/wp-form-ui
Informations about the package wp-form-ui
WP Form UI
WP Form UI is a powerful form library designed to simplify form rendering for WordPress plugin and theme development. This library provides a straightforward way to create and manage forms while ensuring flexibility and extensibility.
Installation
You can install WP Form UI using either Composer or by cloning the repository from GitHub.
Using composer
Using Git Clone
Basic Usage
Follow these steps to integrate WP Form UI into your plugin or theme:
1. Define the base URL relative to the package path
In your plugin or theme, add the following code:
2. Enqueue CSS & Js
To enqueue the required CSS and JS files, add the following code:
3. Render the Form
To render the form, you need to define the form fields, their values, and other settings. Here's an example:
4. Handle Form Submission
That's it! You have now successfully integrated WP Form UI into your WordPress plugin or theme. Customize the form fields and settings as per your requirements.
Contributing
We welcome contributions from the community! If you find a bug, have a feature request, or want to contribute in any other way, please feel free to open an issue or submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.